File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,18 @@ http://pear.php.net/dtd/package-2.0.xsd">
45
45
-- Uses the same parenthesis_opener/closer/owner indexes as other tokens
46
46
-- Thanks to Juliette Reinders Folmer for the patch
47
47
- Added Generic.ControlStructures.DisallowYodaConditions sniff
48
- -- Ban the use of Yoda conditions
49
- -- Thanks to Mponos George for the contribution
48
+ -- Ban the use of Yoda conditions
49
+ -- Thanks to Mponos George for the contribution
50
+ - Generic.Functions.FunctionCallArgumentSpacing no longer checks spacing around assignment operators inside function calls
51
+ -- Use the Squiz.WhiteSpace.OperatorSpacing sniff to enforce spacing around assignment operators
52
+ --- Note that this sniff checks spacing around all assignment operators, not just inside function calls
53
+ -- The Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals error has been removed
54
+ --- use Squiz.WhiteSpace.OperatorSpacing.NoSpaceBefore instead
55
+ -- The Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals error has been removed
56
+ --- use Squiz.WhiteSpace.OperatorSpacing.NoSpaceAfter instead
57
+ -- This also changes the PEAR/PSR2/PSR12 standards so they no longer check assignment operators inside function calls
58
+ --- They were previously checking these operators when they should not have
59
+ -- Thanks to Juliette Reinders Folmer for the patch
50
60
- Generic.WhiteSpace.ScopeIndent no longer performs exact indents checking for chained method calls
51
61
-- Other sniffs can be used to enforce chained method call indent rules
52
62
-- Thanks to Pieter Frenssen for the patch
You can’t perform that action at this time.
0 commit comments