File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 <exclude-pattern >./database/migrations/*</exclude-pattern >
9494 <exclude-pattern >./modules/*/database/migrations/*</exclude-pattern >
9595 </rule >
96+
97+ <!-- Methods in test classes are written in snake_case style. -->
98+ <rule ref =" PSR1.Methods.CamelCapsMethodName.NotCamelCaps" >
99+ <exclude-pattern >./tests*</exclude-pattern >
100+ <exclude-pattern >./modules/*/tests/*</exclude-pattern >
101+ </rule >
102+
103+ <!-- Return type hints should not be forced in the methods of test classes. -->
104+ <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" >
105+ <exclude-pattern >./tests*</exclude-pattern >
106+ <exclude-pattern >./modules/*/tests/*</exclude-pattern >
107+ <exclude-pattern >./routes/*</exclude-pattern >
108+ <exclude-pattern >./modules/*/routes/*</exclude-pattern >
109+ </rule >
96110</ruleset >
You can’t perform that action at this time.
0 commit comments