File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 71
71
<rule ref =" PSR12.Namespaces.CompoundNamespaceDepth" />
72
72
<rule ref =" PSR12.Operators.OperatorSpacing" />
73
73
<rule ref =" PSR12.Functions.NullableTypeDeclaration" />
74
+ <rule ref =" PSR12.Functions.ReturnTypeDeclaration" />
74
75
75
76
<rule ref =" Squiz.Functions.LowercaseFunctionKeywords" />
76
77
<rule ref =" Squiz.WhiteSpace.ScopeKeywordSpacing" />
Original file line number Diff line number Diff line change 1
1
# PSR2R Code Sniffer
2
2
3
3
4
- The PSR2R standard contains 124 sniffs
4
+ The PSR2R standard contains 126 sniffs
5
5
6
- Generic (20 sniffs)
6
+ Generic (21 sniffs)
7
7
-------------------
8
8
- Generic.Arrays.DisallowLongArraySyntax
9
9
- Generic.CodeAnalysis.ForLoopShouldBeWhileLoop
@@ -18,6 +18,7 @@ Generic (20 sniffs)
18
18
- Generic.Formatting.NoSpaceAfterCast
19
19
- Generic.NamingConventions.UpperCaseConstantName
20
20
- Generic.PHP.DeprecatedFunctions
21
+ - Generic.PHP.DisallowAlternativePHPTags
21
22
- Generic.PHP.DisallowShortOpenTag
22
23
- Generic.PHP.ForbiddenFunctions
23
24
- Generic.PHP.LowerCaseConstant
@@ -38,10 +39,11 @@ PSR1 (3 sniffs)
38
39
- PSR1.Files.SideEffects
39
40
- PSR1.Methods.CamelCapsMethodName
40
41
41
- PSR12 (5 sniffs)
42
+ PSR12 (6 sniffs)
42
43
----------------
43
44
- PSR12.Classes.ClassInstantiation
44
45
- PSR12.Functions.NullableTypeDeclaration
46
+ - PSR12.Functions.ReturnTypeDeclaration
45
47
- PSR12.Keywords.ShortFormTypeKeywords
46
48
- PSR12.Namespaces.CompoundNamespaceDepth
47
49
- PSR12.Operators.OperatorSpacing
You can’t perform that action at this time.
0 commit comments