Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16671

Fix the code sniffer's unused use statement rules

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 4.0.0-a1, 3.3.3
    • None
    • Test Suite
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: