Skip to content

Commit

Permalink
Upgrade slevomat/coding-standard to version 8 (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: vEnCa-X <vencax@gmail.com>
  • Loading branch information
2 people authored and dg committed Jul 22, 2022
1 parent 2686aef commit e1dd45a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"require": {
"php": "^7.2 || ^8.0",
"slevomat/coding-standard": "^7",
"slevomat/coding-standard": "^8",
"friendsofphp/php-cs-fixer": "^3",
"squizlabs/php_codesniffer": "^3.6",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.5"
Expand Down
2 changes: 1 addition & 1 deletion preset-sniffer/Nette.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ https://github.com/slevomat/coding-standard
<!-- Checks that there is a certain number of blank lines between properties -->
<rule ref="SlevomatCodingStandard.Classes.PropertySpacing"/>

<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>

<!-- This sniff checks that there are two blank lines between functions declarations and single between signatures. -->
<rule ref="../src/Sniffs/FunctionSpacingSniff.php">
Expand Down

0 comments on commit e1dd45a

Please sign in to comment.