SonarQube PHP
  1. SonarQube PHP
  2. SONARPHP-55

Some PHP CodeSniffer rules do not exist in v1.3.0

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This prevents PHP Code Sniffer from executing successfully, with the following error:

      PHP Fatal error:  Uncaught PHP_CodeSniffer_Exception: Referenced sniff Squiz.Formatting.OutputBufferingIndent.InvalidClose does not exist in /usr/share/php/PHP/CodeSniffer.php on line 738
      

      So those rules should be removed:

      1. OutputBufferingIndentInvalidClose
      2. OutputBufferingIndentNotClosed
      3. OutputBufferingIndentIncorrect

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Fabrice Bellingard
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: