Skip to content

Commit

Permalink
Update to slevomat/coding-standard 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Jun 23, 2022
1 parent b46bc32 commit 450b8a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
],
"require": {
"php": ">=7.4.0",
"squizlabs/php_codesniffer": "^3.7.0",
"slevomat/coding-standard": "^7.2.1"
"squizlabs/php_codesniffer": "^3.7.1",
"slevomat/coding-standard": "^8.0.1"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 1 addition & 2 deletions src/Nepada/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/>
<rule ref="SlevomatCodingStandard.Classes.ClassStructure">
<properties>
<property name="enableFinalMethods" value="true"/>
<property name="groups" type="array">
<element value="uses"/>
<element value="constants"/>
Expand All @@ -108,6 +107,7 @@
<rule ref="SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition"/>
<rule ref="SlevomatCodingStandard.Classes.EmptyLinesAroundClassBraces"/>
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>
<rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/>
<rule ref="SlevomatCodingStandard.Classes.TraitUseSpacing"/>
<rule ref="SlevomatCodingStandard.Commenting.DeprecatedAnnotationDeclaration"/>
Expand Down Expand Up @@ -215,7 +215,6 @@
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation"/><!-- we don't want partial doc blocks -->
<properties>
Expand Down

0 comments on commit 450b8a2

Please sign in to comment.