Skip to content

Commit

Permalink
Code style version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Oct 29, 2023
1 parent 4563c19 commit 4104c49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
<property name="enableFinalMethods" value="true"/>
<property name="groups" type="array">
<element value="uses"/>
<element value="enum cases"/>
<element value="constants"/>
<element value="static properties"/>
<element value="properties"/>
Expand All @@ -119,6 +120,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 @@ -207,7 +209,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
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"phpstan/phpstan": "^1.9.2",
"phpstan/phpstan-nette": "^1.1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"squizlabs/php_codesniffer": "^3.7.1",
"slevomat/coding-standard": "^7.2.1"
"squizlabs/php_codesniffer": "^3.7.2",
"slevomat/coding-standard": "^8.14.1"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit 4104c49

Please sign in to comment.