Skip to content

Commit

Permalink
Seed files also lack namespace
Browse files Browse the repository at this point in the history
like Migrations #320
except class file name rule
  • Loading branch information
nishimura-d committed Mar 30, 2022
1 parent 6b17905 commit 30e3527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CakePHP/ruleset.xml
Expand Up @@ -23,6 +23,7 @@
<!-- Relax rules from PSR12 -->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/config/Migrations/*</exclude-pattern>
<exclude-pattern>*/config/Seeds/*</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects">
<exclude-pattern>*/config/*</exclude-pattern>
Expand Down

0 comments on commit 30e3527

Please sign in to comment.