Skip to content

Commit

Permalink
Dev: Ignore visibility for class constants (conflict between PHP 7.0 …
Browse files Browse the repository at this point in the history
…and 7.1)
  • Loading branch information
olleharstedt committed Apr 26, 2021
1 parent 3616000 commit 37f9d1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/rulesets/phpcs_ruleset.xml
Expand Up @@ -2,6 +2,8 @@
<ruleset name="PSR2R">
<rule ref="PSR12">
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
<!-- TODO: This rule should be disabled when support for PHP 7.0 is dropped -->
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
<exclude name="Generic.Files.LineLength"/>
</rule>
</ruleset>

0 comments on commit 37f9d1e

Please sign in to comment.