Skip to content

Commit

Permalink
Bump to slevomat/coding-standard 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Jun 25, 2022
1 parent c86f7cb commit c69e595
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"require": {
"php": ">=7.4.0",
"squizlabs/php_codesniffer": "^3.7.1",
"slevomat/coding-standard": "^8.0.1"
"slevomat/coding-standard": "^8.1"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 6 additions & 1 deletion src/Nepada/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@
<rule ref="SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition"/>
<rule ref="SlevomatCodingStandard.Classes.EmptyLinesAroundClassBraces"/>
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration">
<properties>
<property name="checkPromoted" value="true"/>
<property name="enableMultipleSpacesBetweenModifiersCheck" value="true"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/>
<rule ref="SlevomatCodingStandard.Classes.TraitUseSpacing"/>
<rule ref="SlevomatCodingStandard.Commenting.DeprecatedAnnotationDeclaration"/>
Expand Down

0 comments on commit c69e595

Please sign in to comment.