diff --git a/phpstan.neon b/phpstan.neon index 4bcdae66..798169b6 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -9,11 +9,3 @@ parameters: - '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\).#' - '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::arrayNode\(\).#' - '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::scalarNode\(\).#' - - # PHPUnit - - '#Class PHPUnit\\Framework\\TestCase not found and could not be autoloaded.#' - - '#Property [a-zA-Z0-9\\_]+::\$[a-zA-Z0-9_]+ \(PHPUnit_Framework_MockObject_MockObject&[a-zA-Z0-9\\_]+\) does not accept PHPUnit_Framework_MockObject_MockObject.#' - - '#Property [a-zA-Z0-9\\_]+::\$[a-zA-Z0-9_]+ \([a-zA-Z0-9\\_]+|PHPUnit_Framework_MockObject_MockObject\) does not accept PHPUnit_Framework_MockObject_MockObject.#' - - '#Parameter \#\d+ \$[a-zA-Z0-9_]+ of method [a-zA-Z0-9\\_]+::[a-zA-Z0-9_]+\(\) expects [a-zA-Z0-9\\_]+(\[\])?(\|null)?, ([a-zA-Z0-9\\_]+\|)?PHPUnit_Framework_MockObject_MockObject(\|[a-zA-Z0-9\\_]+)?(\[\])? given.#' - - '#Parameter \#\d+ \$[a-zA-Z0-9_]+ of class [a-zA-Z0-9\\_]+::[a-zA-Z0-9_]+\(\) expects [a-zA-Z0-9\\_]+, ([a-zA-Z0-9\\_]+\|)?PHPUnit_Framework_MockObject_MockObject(\|[a-zA-Z0-9\\_]+)?(\[\])? given.#' - - '#Parameter \#\d+ \$[a-zA-Z0-9_]+ of class [a-zA-Z0-9\\_]+ constructor expects [a-zA-Z0-9\\_]+(\|null)?, ([a-zA-Z0-9\\_]+\|)?PHPUnit_Framework_MockObject_MockObject(\|[a-zA-Z0-9\\_]+)?(\[\])? given.#'