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

CodeSniffer ruleset is reported as DEPRECATED

XMLWordPrintable

      Note: I didn't know which issue type to choose, so I opted for a bug with a severity level of Major, because by CodeSniffer 4.0 at the latest, this would be a bug with a severity level of Blocker.

      Since the CodeSniffer update 3.13.0, the "phpBB PHP Strict Standard Extensions" ruleset has been classified as DEPRECATED. Other rulesets may also be affected.

      The following messages are added above the normal report:

      DEPRECATED: The sniff phpbb_Sniffs_ControlStructures_OpeningBraceBsdAllmanSniff does not comply with the PHP_CodeSniffer naming conventions. This will no longer be supported in PHPCS 4.0.
      Contact the sniff author to fix the sniff.
      DEPRECATED: The sniff phpbb_Sniffs_ControlStructures_OpeningParenthesisSniff does not comply with the PHP_CodeSniffer naming conventions. This will no longer be supported in PHPCS 4.0.
      Contact the sniff author to fix the sniff.
      DEPRECATED: The sniff phpbb_Sniffs_ControlStructures_StaticKeywordSniff does not comply with the PHP_CodeSniffer naming conventions. This will no longer be supported in PHPCS 4.0.
      Contact the sniff author to fix the sniff.
      DEPRECATED: The sniff phpbb_Sniffs_Namespaces_UnusedUseSniff does not comply with the PHP_CodeSniffer naming conventions. This will no longer be supported in PHPCS 4.0.
      Contact the sniff author to fix the sniff.
       
      WARNING: The phpBB PHP Strict Standard Extensions standard uses 1 deprecated
      sniff
      --------------------------------------------------------------------------------
      -  Generic.Functions.CallTimePassByReference
         This sniff has been deprecated since v3.12.1 and will be removed in v4.0.0.
       
      Deprecated sniffs are still run, but will stop working at some point in the
      future.
      

      Relevant section in the CS changelog:

      https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md#deprecated

      Reference:

      https://www.phpbb.com/community/viewtopic.php?p=16066300#p16066300

            MattF Matt Friedman
            LukeWCS LukeWCS
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: