Skip to content

Commit

Permalink
[BUILD] Fixed phpstan ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Mar 19, 2019
1 parent fe4be44 commit 6ac563d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpstan.neon
Expand Up @@ -9,6 +9,9 @@ parameters:
- vendor-bin/phpstan/vendor/phpstan/phpstan-strict-rules/rules.neon

ignoreErrors:
# PHPUnit
- '#Parameter \#1 \$container of method Core23\\MenuBundle\\Core23MenuBundle::build\(\) expects Symfony\\Component\\DependencyInjection\\ContainerBuilder, PHPUnit\\Framework\\MockObject\\MockObject given.#'

# Symfony DI
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::fixXmlConfig\(\).#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::addDefaultsIfNotSet\(\).#'
Expand Down

0 comments on commit 6ac563d

Please sign in to comment.