diff --git a/packages/sonata-extra-bundle/composer.json b/packages/sonata-extra-bundle/composer.json index b1c065c5..3919b364 100644 --- a/packages/sonata-extra-bundle/composer.json +++ b/packages/sonata-extra-bundle/composer.json @@ -9,6 +9,7 @@ ], "require": { "php": ">=8.1", + "draw/dependency-injection": "^0.11", "symfony/framework-bundle": "^6.4.0", "symfony/expression-language": "^6.4.0", "symfony/string": "^6.4.0" diff --git a/phpstan.dist.neon b/phpstan.dist.neon index 0e50e2a1..4b604b9e 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -9,7 +9,6 @@ parameters: - tests excludePaths: - packages/fixer/Tests/fixtures/* - checkGenericClassInNonGenericObjectType: false ignoreErrors: - '#Call to an undefined method Symfony\\Component\\HttpFoundation\\Session\\SessionInterface::getFlashBag\(\).#' - '#Trying to mock an undefined method [a-zA-Z0-9\\_]#' diff --git a/phpstan.neon b/phpstan.neon index 7621ed6e..ee88bb49 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,7 +10,6 @@ parameters: - tests excludePaths: - packages/fixer/Tests/fixtures/* - checkGenericClassInNonGenericObjectType: false ignoreErrors: - '#Call to an undefined method Symfony\\Component\\HttpFoundation\\Session\\SessionInterface::getFlashBag\(\).#' - '#Trying to mock an undefined method [a-zA-Z0-9\\_]#'