Skip to content

Commit

Permalink
Add comment for excluded rules
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jan 23, 2024
1 parent a301029 commit ffb2d9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<exclude-pattern>/tests/bootstrap\.php</exclude-pattern>
</rule>

<!-- These only apply to PHP versions lower than 7.4, so we can exclude them. -->
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Classes.NewTypedProperties.Found"/>
<exclude name="PHPCompatibility.FunctionDeclarations.NewReturnTypeDeclarations"/>
Expand Down

0 comments on commit ffb2d9d

Please sign in to comment.