-
Notifications
You must be signed in to change notification settings - Fork 10
Cover more Symfony styles with Slevomat sniffs #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -217,4 +217,15 @@ | |||
<property name="ignoreUnusedValuesWhenOnlyKeysAreUsedInForeach" value="true"/> | |||
</properties> | |||
</rule> | |||
|
|||
<!-- These should get handled by the upstream Symfony standard later --> | |||
<rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Do not use spaces around [ offset accessor and before ] offset accessor
|
||
<!-- These should get handled by the upstream Symfony standard later --> | ||
<rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/> | ||
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a use statement for every class that is not part of the global namespace;
Codecov Report
@@ Coverage Diff @@
## master #170 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 133 133
===========================================
Files 6 6
Lines 511 514 +3
===========================================
+ Hits 511 514 +3
Continue to review full report at Codecov.
|
GH-167 should get fixed before this |
01ebd37
to
a239dbf
Compare
Remaining problems seem to be fixed with Slevomat 7 :) |
Type of PR
Breaking changes
Requires new major version.