This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
generated from StartBootstrap/startbootstrap-sb-admin-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
47 lines (45 loc) · 2.02 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<!-- Show progress and sniff codes -->
<arg value="ps"/>
<arg name="colors"/>
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/old/*</exclude-pattern>
<exclude-pattern>*/public/js/*</exclude-pattern>
<exclude-pattern>*/public/css/*</exclude-pattern>
<exclude-pattern>*/public/fonts/*</exclude-pattern>
<rule ref="Wdes"></rule>
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing">
<exclude-pattern>*/templates/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*/templates/*</exclude-pattern>
</rule>
<rule ref="Internal.NoCodeFound">
<exclude-pattern>*/templates/*</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Functions.StaticClosure.ClosureNotStatic">
<exclude-pattern>*/src/Template.php</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>*/src/DbSessionHandler.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/db/migrations/*</exclude-pattern>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
<exclude-pattern>*/src/Controllers/*</exclude-pattern>
</rule>
<rule ref="PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket">
<exclude-pattern>*/src/Controllers/*</exclude-pattern>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine">
<exclude-pattern>*/src/Controllers/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*/config.php</exclude-pattern>
</rule>
</ruleset>