Skip to content

Commit

Permalink
OXDEV-6846 Exclude codeception underscore method declaration from cod…
Browse files Browse the repository at this point in the history
…e sniffer check
  • Loading branch information
AshrafOxid committed Oct 8, 2024
1 parent f808258 commit d6ca04e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
<arg name="parallel" value="75"/>
<arg name="extensions" value="php"/>
<rule ref="PSR12"/>
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
<exclude-pattern>*tests/Codeception/.*$</exclude-pattern>
</rule>
</ruleset>
3 changes: 3 additions & 0 deletions tests/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
<arg name="parallel" value="75"/>
<arg name="extensions" value="php"/>
<rule ref="PSR12"/>
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
<exclude-pattern>*tests/Codeception/.*$</exclude-pattern>
</rule>
</ruleset>

0 comments on commit d6ca04e

Please sign in to comment.