Skip to content

Commit

Permalink
Upgrade doctrine/coding-standard to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Jul 7, 2021
1 parent 44370b7 commit 0351b6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"doctrine/data-fixtures": "<1.3"
},
"require-dev": {
"doctrine/coding-standard": "^8.2",
"doctrine/coding-standard": "^9.0",
"doctrine/data-fixtures": "^1.3",
"phpunit/phpunit": "^8.5 || ^9.3",
"squizlabs/php_codesniffer": "^3.5",
Expand Down
2 changes: 2 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming" />
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming" />
<exclude name="SlevomatCodingStandard.Classes.SuperfluousTraitNaming" />

<exclude name="SlevomatCodingStandard.Classes.ModernClassNameReference" /> <!-- PHP 8.0 required-->
</rule>

<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
Expand Down

0 comments on commit 0351b6a

Please sign in to comment.