-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
17 lines (17 loc) · 830 Bytes
/
Copy pathphpcs.xml
File metadata and controls
17 lines (17 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<ruleset name="DevConsole">
<description>PSR-12 / CakePHP coding standard for DevConsole.</description>
<rule ref="./vendor/cakephp/cakephp-codesniffer/CakePHP">
<exclude name="CakePHP.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="CakePHP.Classes.ReturnTypeHint.InvalidSelf"/>
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
<exclude name="Generic.Files.LineLength.TooLong"/>
<exclude name="Squiz.PHP.Eval.Discouraged"/>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint">
<exclude-pattern>*/src/Controller/*</exclude-pattern>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent.Incorrect">
<exclude-pattern>templates/*</exclude-pattern>
</rule>
</ruleset>