forked from bellshade/PHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
24 lines (23 loc) · 1.01 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
<?xml version="1.0"?>
<ruleset name="Bellshade PHP Standard">
<description>PSR12, tapi tanpa check lineEnding untuk kenyamanan antar platform (CRLF Issue).</description>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<rule ref="PSR12">
<exclude name="Generic.Files.LineEndings"/>
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact"/>
<exclude name="Generic.Files.LineLength.TooLong"/>
<exclude name="Generic.PHP.DisallowShortOpenTag.PossibleFound"/>
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
<exclude name="Internal.NoCodeFound"/>
<exclude name="Internal.Tokenizer.Exception"/>
</rule>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="Internal.Tokenizer.Exception">
<severity>0</severity>
</rule>
</ruleset>