Skip to content

Commit

Permalink
Adding exclusions for certain files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Aug 18, 2022
1 parent 9454782 commit 7df5712
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ruleset.xml
Expand Up @@ -24,6 +24,16 @@
<rule ref="PHPCompatibilityJoomla"/>
<config name="testVersion" value="7.2-"/>

<rule ref="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared">
<exclude-pattern type="relative">libraries/src/Object/CMSObject\.php</exclude-pattern>
<exclude-pattern type="relative">libraries/src/String/PunycodeHelper\.php</exclude-pattern>
<exclude-pattern type="relative">tests/Unit/Libraries/Cms/Object/CMSObjectTest\.php</exclude-pattern>
</rule>

<rule ref="PHPCompatibility.Constants.NewConstants.password_argon2idFound">
<exclude-pattern type="relative">libraries/src/Authentication/Password/Argon2idHandler\.php</exclude-pattern>
</rule>

<!-- temporary extend the line length -->
<rule ref="Generic.Files.LineLength">
<properties>
Expand Down

0 comments on commit 7df5712

Please sign in to comment.