|
1 | 1 | # PSR2R Code Sniffer
|
2 | 2 |
|
3 |
| -The PSR2R standard contains 153 sniffs |
| 3 | +The PSR2R standard contains 174 sniffs |
4 | 4 |
|
5 | 5 | Generic (21 sniffs)
|
6 | 6 | -------------------
|
@@ -54,7 +54,7 @@ PSR2 (4 sniffs)
|
54 | 54 | - PSR2.Namespaces.NamespaceDeclaration
|
55 | 55 | - PSR2.Namespaces.UseDeclaration
|
56 | 56 |
|
57 |
| -PSR2R (69 sniffs) |
| 57 | +PSR2R (60 sniffs) |
58 | 58 | -----------------
|
59 | 59 | - PSR2R.Classes.BraceOnSameLine
|
60 | 60 | - PSR2R.Classes.ClassCreateInstance
|
@@ -100,28 +100,19 @@ PSR2R (69 sniffs)
|
100 | 100 | - PSR2R.Namespaces.NoInlineFullyQualifiedClassName
|
101 | 101 | - PSR2R.Namespaces.UnusedUseStatement
|
102 | 102 | - PSR2R.Namespaces.UseInAlphabeticalOrder
|
103 |
| -- PSR2R.PHP.CommaAfterArrayItem |
104 | 103 | - PSR2R.PHP.DuplicateSemicolon
|
105 | 104 | - PSR2R.PHP.ListComma
|
106 |
| -- PSR2R.PHP.NoIsNull |
107 | 105 | - PSR2R.PHP.NoShortOpenTag
|
108 |
| -- PSR2R.PHP.PhpSapiConstant |
109 |
| -- PSR2R.PHP.PreferCastOverFunction |
110 | 106 | - PSR2R.PHP.PreferStaticOverSelf
|
111 |
| -- PSR2R.PHP.RemoveFunctionAlias |
112 |
| -- PSR2R.PHP.ShortCast |
113 | 107 | - PSR2R.PHP.SingleQuote
|
114 | 108 | - PSR2R.WhiteSpace.ArraySpacing
|
115 | 109 | - PSR2R.WhiteSpace.CommaSpacing
|
116 |
| -- PSR2R.WhiteSpace.ConcatenationSpacing |
117 | 110 | - PSR2R.WhiteSpace.DocBlockAlignment
|
118 | 111 | - PSR2R.WhiteSpace.EmptyEnclosingLine
|
119 | 112 | - PSR2R.WhiteSpace.EmptyLines
|
120 | 113 | - PSR2R.WhiteSpace.LanguageConstructSpacing
|
121 | 114 | - PSR2R.WhiteSpace.MethodSpacing
|
122 | 115 | - PSR2R.WhiteSpace.NamespaceSpacing
|
123 |
| -- PSR2R.WhiteSpace.ObjectAttributeSpacing |
124 |
| -- PSR2R.WhiteSpace.OperatorSpacing |
125 | 116 | - PSR2R.WhiteSpace.TabAndSpace
|
126 | 117 | - PSR2R.WhiteSpace.TabIndent
|
127 | 118 | - PSR2R.WhiteSpace.UnaryOperatorSpacing
|
@@ -154,6 +145,39 @@ SlevomatCodingStandard (25 sniffs)
|
154 | 145 | - SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing
|
155 | 146 | - SlevomatCodingStandard.Variables.DuplicateAssignmentToVariable
|
156 | 147 |
|
| 148 | +Spryker (30 sniffs) |
| 149 | +------------------- |
| 150 | +- Spryker.Classes.MethodArgumentDefaultValue |
| 151 | +- Spryker.Classes.MethodTypeHint |
| 152 | +- Spryker.Classes.PropertyDefaultValue |
| 153 | +- Spryker.Classes.ReturnTypeHint |
| 154 | +- Spryker.Commenting.DocBlockConstructor |
| 155 | +- Spryker.Commenting.DocBlockNoInlineAlignment |
| 156 | +- Spryker.Commenting.DocBlockPipeSpacing |
| 157 | +- Spryker.Commenting.DocBlockReturnTag |
| 158 | +- Spryker.Commenting.DocBlockReturnVoid |
| 159 | +- Spryker.Commenting.DocBlockTagGrouping |
| 160 | +- Spryker.Commenting.DocBlockTagOrder |
| 161 | +- Spryker.Commenting.DocBlockTypeOrder |
| 162 | +- Spryker.Commenting.DocBlockVar |
| 163 | +- Spryker.Commenting.DocBlockVarNotJustNull |
| 164 | +- Spryker.Commenting.DocBlockVariableNullHintLast |
| 165 | +- Spryker.Commenting.InlineDocBlock |
| 166 | +- Spryker.ControlStructures.ConditionalExpressionOrder |
| 167 | +- Spryker.ControlStructures.NoInlineAssignment |
| 168 | +- Spryker.Formatting.ArrayDeclaration |
| 169 | +- Spryker.PHP.NoIsNull |
| 170 | +- Spryker.PHP.NotEqual |
| 171 | +- Spryker.PHP.PhpSapiConstant |
| 172 | +- Spryker.PHP.PreferCastOverFunction |
| 173 | +- Spryker.PHP.RemoveFunctionAlias |
| 174 | +- Spryker.PHP.ShortCast |
| 175 | +- Spryker.WhiteSpace.CommaSpacing |
| 176 | +- Spryker.WhiteSpace.ConcatenationSpacing |
| 177 | +- Spryker.WhiteSpace.ImplicitCastSpacing |
| 178 | +- Spryker.WhiteSpace.ObjectAttributeSpacing |
| 179 | +- Spryker.WhiteSpace.OperatorSpacing |
| 180 | + |
157 | 181 | Squiz (21 sniffs)
|
158 | 182 | -----------------
|
159 | 183 | - Squiz.Arrays.ArrayBracketSpacing
|
|
0 commit comments