|
| 1 | +<?xml version="1.0"?> |
| 2 | +<ruleset name="Jakub Onderka Coding Standard"> |
| 3 | + <description>A coding standard for Jakub Onderka's projects.</description> |
| 4 | + |
| 5 | + <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> |
| 6 | + <rule ref="PEAR.Functions.FunctionDeclaration"/> |
| 7 | + <rule ref="PEAR.Functions.FunctionCallSignature"/> |
| 8 | + <rule ref="PEAR.Functions.FunctionCallSignature.Indent"> |
| 9 | + <severity>0</severity> |
| 10 | + </rule> |
| 11 | + <rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine"> |
| 12 | + <severity>0</severity> |
| 13 | + </rule> |
| 14 | + <rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"> |
| 15 | + <severity>0</severity> |
| 16 | + </rule> |
| 17 | + <rule ref="PEAR.Functions.ValidDefaultValue"/> |
| 18 | + |
| 19 | + <rule ref="Generic.PHP.DisallowShortOpenTag"/> |
| 20 | + <rule ref="Generic.PHP.LowerCaseConstant"/> |
| 21 | + <rule ref="Generic.PHP.NoSilencedErrors"/> |
| 22 | + <rule ref="Squiz.PHP.GlobalKeyword"/> |
| 23 | + <rule ref="Squiz.PHP.LowercasePHPFunctions"/> |
| 24 | + <rule ref="Squiz.PHP.NonExecutableCode"/> |
| 25 | + |
| 26 | + <rule ref="Generic.Strings.UnnecessaryStringConcat"/> |
| 27 | + |
| 28 | + <rule ref="Generic.WhiteSpace.DisallowTabIndent"/> |
| 29 | + <rule ref="PEAR.WhiteSpace.ScopeClosingBrace"/> |
| 30 | + |
| 31 | + <rule ref="PEAR.Classes.ClassDeclaration"/> |
| 32 | + |
| 33 | + <rule ref="Generic.ControlStructures.InlineControlStructure"/> |
| 34 | + <rule ref="PEAR.ControlStructures.ControlSignature"/> |
| 35 | + |
| 36 | + <rule ref="Generic.Files.LineLength"> |
| 37 | + <properties> |
| 38 | + <property name="lineLimit" value="125"/> |
| 39 | + <property name="absoluteLineLimit" value="200"/> |
| 40 | + </properties> |
| 41 | + </rule> |
| 42 | + <rule ref="Zend.Files.ClosingTag"/> |
| 43 | + |
| 44 | + <rule ref="Generic.NamingConventions.ConstructorName"/> |
| 45 | + <rule ref="Generic.NamingConventions.UpperCaseConstantName"/> |
| 46 | + |
| 47 | + <rule ref="Generic.Metrics.NestingLevel"/> |
| 48 | + <rule ref="Generic.Metrics.CyclomaticComplexity"/> |
| 49 | + |
| 50 | + <rule ref="Generic.CodeAnalysis.EmptyStatement"/> |
| 51 | + <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> |
| 52 | + |
| 53 | + <rule ref="PEAR.Commenting.InlineComment"/> |
| 54 | + |
| 55 | + <rule ref="Generic.Formatting.SpaceAfterCast"/> |
| 56 | + |
| 57 | + <rule ref="Squiz.Arrays.ArrayBracketSpacing"/> |
| 58 | +</ruleset> |
0 commit comments