forked from Girgias/query-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
29 lines (27 loc) · 1.31 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
<?xml version="1.0"?>
<ruleset name="GeorgeBanyardCodeSnifferRuleSet">
<description>The coding standard for George Peter "Girgias" Banyard.</description>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>tmp/*</exclude-pattern>
<exclude-pattern>*/settings/*</exclude-pattern>
<exclude-pattern>*/db/*</exclude-pattern>
<!-- Include the whole PSR2 and PSR12 standards -->
<rule ref="PSR2"/>
<rule ref="PSR12"/>
<rule ref="Squiz.Arrays.ArrayBracketSpacing" />
<rule ref="Squiz.Commenting.DocCommentAlignment" />
<rule ref="Squiz.Commenting.EmptyCatchComment" />
<rule ref="Squiz.Commenting.PostStatementComment" />
<rule ref="Squiz.Formatting.OperatorBracket" />
<rule ref="Squiz.PHP.DisallowInlineIf" />
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing" />
<rule ref="Squiz.WhiteSpace.OperatorSpacing" />
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
<rule ref="Generic.Commenting.Todo"/>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.PHP.LowerCaseKeyword"/>
<rule ref="Zend.Files.ClosingTag"/>
</ruleset>