Skip to content

Commit

Permalink
Added phpstan-symfony which fixes the suite
Browse files Browse the repository at this point in the history
  • Loading branch information
evertharmeling committed Nov 15, 2023
1 parent ffda14c commit 300b49f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"symfony/framework-bundle": "^6.3",
"symfony/phpunit-bridge": "^6.3",
"phpstan/phpstan": "1.11.x-dev",
"phpstan/phpstan-symfony": "1.4.x-dev",
"friendsofphp/php-cs-fixer": "^3.38"
},
"minimum-stability": "dev",
Expand Down
9 changes: 3 additions & 6 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
includes:
- vendor/phpstan/phpstan-symfony/extension.neon

parameters:
level: 4
paths:
- src

ignoreErrors:
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:defaultValue\\(\\)\\.$#"
count: 1
path: src/DependencyInjection/SymfonycastsSassExtension.php

0 comments on commit 300b49f

Please sign in to comment.