Skip to content

Commit 300b49f

Browse files
Added phpstan-symfony which fixes the suite
1 parent ffda14c commit 300b49f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"symfony/framework-bundle": "^6.3",
2323
"symfony/phpunit-bridge": "^6.3",
2424
"phpstan/phpstan": "1.11.x-dev",
25+
"phpstan/phpstan-symfony": "1.4.x-dev",
2526
"friendsofphp/php-cs-fixer": "^3.38"
2627
},
2728
"minimum-stability": "dev",

phpstan.neon.dist

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1+
includes:
2+
- vendor/phpstan/phpstan-symfony/extension.neon
3+
14
parameters:
25
level: 4
36
paths:
47
- src
5-
6-
ignoreErrors:
7-
-
8-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:defaultValue\\(\\)\\.$#"
9-
count: 1
10-
path: src/DependencyInjection/SymfonycastsSassExtension.php

0 commit comments

Comments
 (0)