Skip to content

Commit

Permalink
add rule to exclude namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
everly-gif committed Jun 2, 2022
1 parent da03611 commit 5a8bbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>*</exclude-pattern>
</rule>
<!-- Exclude namespace check for app/workers directory -->
<!-- Exclude namespace check for ./app directory -->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>./app/workers</exclude-pattern>
<exclude-pattern>./app</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 5a8bbf6

Please sign in to comment.