| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ruleset name="Ruleset"> |
| 3 |
<description>Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/</description> |
| 4 |
<exclude-pattern>./app</exclude-pattern> |
| 5 |
<exclude-pattern>./example</exclude-pattern> |
| 6 |
<exclude-pattern>./manual</exclude-pattern> |
| 7 |
<exclude-pattern>./testcase</exclude-pattern> |
| 8 |
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/> |
| 9 |
<rule ref="Generic.Classes.DuplicateClassName"/> |
| 10 |
<rule ref="PSR2.Methods.MethodDeclaration" /> |
| 11 |
<rule ref="Generic.CodeAnalysis.EmptyStatement"/> |
| 12 |
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> |
| 13 |
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> |
| 14 |
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> |
| 15 |
<rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> |
| 16 |
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/> |
| 17 |
<rule ref="PEAR.Functions.ValidDefaultValue"/> |
| 18 |
<rule ref="PSR2.ControlStructures.ElseIfDeclaration"/> |
| 19 |
<rule ref="PSR2.ControlStructures.ControlStructureSpacing"/> |
| 20 |
<rule ref="Squiz.WhiteSpace.CastSpacing"/> |
| 21 |
<rule ref="Squiz.WhiteSpace.OperatorSpacing"/> |
| 22 |
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> |
| 23 |
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> |
| 24 |
<rule ref="Squiz.Strings.ConcatenationSpacing"> |
| 25 |
<properties> |
| 26 |
<property name="spacing" value="1"/> |
| 27 |
<property name="ignoreNewlines" value="true"/> |
| 28 |
</properties> |
| 29 |
</rule> |
| 30 |
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> |
| 31 |
<properties> |
| 32 |
<property name="equalsSpacing" value="1"/> |
| 33 |
</properties> |
| 34 |
</rule> |
| 35 |
<rule ref="Generic.Files.LineLength"> |
| 36 |
<properties> |
| 37 |
<property name="lineLimit" value="80"/> |
| 38 |
<property name="absoluteLineLimit" value="120"/> |
| 39 |
</properties> |
| 40 |
</rule> |
| 41 |
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/> |
| 42 |
<rule ref="Generic.PHP.LowerCaseConstant"/> |
| 43 |
<rule ref="Squiz.Strings.DoubleQuoteUsage"> |
| 44 |
<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar" /> |
| 45 |
</rule> |
| 46 |
<rule ref="Generic.Strings.UnnecessaryStringConcat"/> |
| 47 |
<rule ref="PSR2.Files.EndFileNewline"/> |
| 48 |
</ruleset> |
| 49 |
|