forked from HT-yen/hotelbkdatn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
26 lines (23 loc) · 1.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
<?xml version="1.0"?>
<ruleset name="Asiantech PHP Coding Standard">
<!-- Default directory to check if there are no directories argurment -->
<file>app</file>
<file>resources</file>
<!-- Add PSR1 standard -->
<rule ref="PSR1"></rule>
<!-- Add PSR2 standard -->
<rule ref="PSR2"></rule>
<rule ref="PEAR.Commenting.FunctionComment"></rule>
<rule ref="Generic.Commenting.DocComment"></rule>
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
<rule ref="Generic.PHP.LowerCaseConstant"/>
<rule ref="Generic.PHP.LowerCaseKeyword"/>
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
<rule ref="Generic.WhiteSpace.ScopeIndent"/>
</ruleset>