Skip to content

Commit 7f16495

Browse files
committed
Removing PHPStan ignored errors no more needed in Symfony 5
1 parent 4810d7f commit 7f16495

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

phpstan.neon

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
parameters:
22
ignoreErrors:
33
- "#Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition::children\\(\\)#"
4-
# Error triggered by a bad PHPDoc in Symfony
5-
- '#Parameter \#4 $roles of class Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken constructor expects array<string>, array<string|Symfony\\Component\\Security\\Core\\Role\\Role> given.#'
6-
- '#Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) invoked with 2 parameters, 1 required.#'
7-
- '#Cannot cast object|string to string.#'
84
#includes:
95
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon

0 commit comments

Comments
 (0)