1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" StreamCommon Team Coding Standard" >
3+ <description >StreamCommon Team Coding Standard</description >
4+ <arg value =" p" />
5+ <arg name =" colors" />
6+ <rule ref =" PSR2" >
7+ <exclude name =" PSR2.Namespaces.UseDeclaration.MultipleDeclarations" />
8+ </rule >
9+ <rule ref =" Generic.Arrays.DisallowLongArraySyntax" />
10+ <rule ref =" Generic.Formatting.SpaceAfterNot" >
11+ <properties >
12+ <property name =" spacing" value =" 0" />
13+ </properties >
14+ </rule >
15+ <rule ref =" Generic.CodeAnalysis.EmptyStatement" >
16+ <exclude name =" Generic.CodeAnalysis.EmptyStatement.DetectedCatch" />
17+ </rule >
18+ <rule ref =" Generic.Formatting.SpaceAfterCast" >
19+ <properties >
20+ <property name =" spacing" value =" 1" />
21+ </properties >
22+ </rule >
23+ <rule ref =" Generic.Strings.UnnecessaryStringConcat" >
24+ <properties >
25+ <property name =" allowMultiline" value =" true" />
26+ </properties >
27+ </rule >
28+ <rule ref =" Generic.PHP.SAPIUsage" />
29+ <rule ref =" Squiz.Functions.GlobalFunction" />
30+ <rule ref =" Squiz.WhiteSpace.OperatorSpacing" >
31+ <properties >
32+ <property name =" ignoreNewlines" value =" true" />
33+ </properties >
34+ </rule >
35+ <rule ref =" Squiz.WhiteSpace.SuperfluousWhitespace" >
36+ <properties >
37+ <property name =" ignoreBlankLines" value =" false" />
38+ </properties >
39+ </rule >
40+ <rule ref =" Squiz.PHP.LowercasePHPFunctions" />
41+ <rule ref =" Squiz.Strings.ConcatenationSpacing" >
42+ <properties >
43+ <property name =" spacing" value =" 1" />
44+ <property name =" ignoreNewlines" value =" true" />
45+ </properties >
46+ </rule >
47+ <rule ref =" Squiz.Strings.DoubleQuoteUsage" />
48+ <rule ref =" Squiz.Strings.DoubleQuoteUsage.ContainsVar" >
49+ <message >Variable "%s" not allowed in double quoted string; use sprintf() or concatenation instead</message >
50+ </rule >
51+ <rule ref =" Squiz.Strings.EchoedStrings" />
52+ <rule ref =" Squiz.WhiteSpace.FunctionOpeningBraceSpace" />
53+ <rule ref =" Squiz.WhiteSpace.LogicalOperatorSpacing" />
54+ <rule ref =" Squiz.WhiteSpace.SemicolonSpacing" />
55+ <rule ref =" Squiz.WhiteSpace.SuperfluousWhitespace" >
56+ <properties >
57+ <property name =" ignoreBlankLines" value =" false" />
58+ </properties >
59+ </rule >
60+ </ruleset >
0 commit comments