Skip to content

Commit

Permalink
Fix non-existing default property (#652)
Browse files Browse the repository at this point in the history
* Fix non-existing DeclareStrictTypesSniff default

* Rename method

* bump coding-standard version

---------

Co-authored-by: Danny Herpol <[email protected]>
Co-authored-by: Chris Gmyr <[email protected]>
  • Loading branch information
3 people committed Sep 28, 2023
1 parent a0d3646 commit 692d9e4
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 @@ -31,7 +31,7 @@
"psr/container": "^1.0|^2.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
"sebastian/diff": "^4.0|^5.0",
"slevomat/coding-standard": "^7.0.8|^8.0",
"slevomat/coding-standard": "^8.13",
"squizlabs/php_codesniffer": "^3.7",
"symfony/cache": "^4.4|^5.0|^6.0",
"symfony/console": "^4.2.12|^5.0|^6.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Application/DefaultPreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function get(Composer $composer): array
'linesCountBetweenDifferentAnnotationsTypes' => 1,
],
DeclareStrictTypesSniff::class => [
'newlinesCountBetweenOpenTagAndDeclare' => 2,
'newlinesCountBeforeDeclare' => 2,
'spacesCountAroundEqualsSign' => 0,
],
UnusedUsesSniff::class => [
Expand Down

0 comments on commit 692d9e4

Please sign in to comment.