Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16671

Fix the code sniffer's unused use statement rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 4.0.0-a1, 3.3.3
    • Test Suite
    • None

      The code sniffer's unused use statement extension behaves incorrectly in the following scenarios:

      1. Cannot handle use statements for functions.
      2. Prohibits adding classes in the global namespace to use statements.
      3. The checks for prohibiting using the full name of a class is fooled by leading backslashes.

            CHItA CHItA
            CHItA CHItA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: