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 18, 2019
1 parent b9c8314 commit 904293b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ parameters:
- vendor-bin/phpstan/vendor/phpstan/phpstan-strict-rules/rules.neon

ignoreErrors:
# PHPUnit
- '#Parameter \#1 \$formMapper of method Core23\\MatomoBundle\\Block\\Service\\MatomoStatisticBlockService::buildEditForm\(\) expects Sonata\\AdminBundle\\Form\\FormMapper, PHPUnit\\Framework\\MockObject\\MockObject given.#'
- '#Parameter \#1 \$formMapper of method Core23\\MatomoBundle\\Block\\Service\\MatomoTrackerBlockService::buildEditForm\(\) expects Sonata\\AdminBundle\\Form\\FormMapper, PHPUnit\\Framework\\MockObject\\MockObject given.#'

# Symfony DI
- '#Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null.#'

0 comments on commit 904293b

Please sign in to comment.