From a2710242de0da5c8b3d2946015c35adbbf19b199 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Tue, 20 Dec 2022 14:41:29 +0100 Subject: [PATCH] [PHPStan] Exclude Sylius\Bundle\CoreBundle\Doctrine\DQL\Month class --- phpstan.neon.dist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 0bf05fb2cb..3ebfb74163 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -30,6 +30,9 @@ parameters: - 'src/Sylius/Bundle/CoreBundle/EventListener/CircularDependencyBreakingExceptionListener.php' - 'src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/CircularDependencyBreakingExceptionListenerPassTest.php' - 'src/Sylius/Bundle/CoreBundle/Tests/Listener/CircularDependencyBreakingExceptionListenerTest.php' + + # To investigate, occurs after release of doctrine/orm 2.14, the processing of these classes ends with exit code 143 + - 'src/Sylius/Bundle/CoreBundle/Doctrine/DQL/**.php' ignoreErrors: - '/Access to an undefined property Doctrine\\Common\\Collections\\ArrayCollection/' - '/Parameter \$templatingEngine of method Sylius\\Bundle\\AdminBundle\\Controller\\CustomerStatisticsController\:\:\_\_construct\(\) has invalid typehint type Symfony\\Bundle\\FrameworkBundle\\Templating\\EngineInterface\./'