Merge branch '1.11' into 1.12

* 1.11:
  [PHPStan] Exclude Sylius\Bundle\CoreBundle\Doctrine\DQL\Month class
  [Maintenance][Psalm] Add Doctrine\ORM\Event\LifecycleEventArgs to deprecated classes
This commit is contained in:
Kevin Kaniaburka 2022-12-20 16:33:43 +01:00
commit f220ac0f12
No known key found for this signature in database
GPG key ID: 8DB4C54474F3FD72
2 changed files with 9 additions and 0 deletions

View file

@ -30,6 +30,14 @@ parameters:
- 'src/Sylius/Bundle/CoreBundle/Application/Kernel.php'
- 'src/Sylius/Bundle/UserBundle/Security/UserPasswordEncoder.php'
# Symfony 4.4-specific issues
- 'src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/CircularDependencyBreakingExceptionListenerPass.php'
- '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/'
- '/Class Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken constructor invoked with 4 parameters\, 2\-3 required./'

View file

@ -42,6 +42,7 @@
<referencedClass name="Symfony\Component\Security\Core\Exception\UsernameNotFoundException" /> <!-- deprecated in Symfony 5.3 -->
<referencedClass name="Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface" /> <!-- deprecated in Symfony 6.1, probably a bug in psalm, as this is referenced as DeprecatedClass, not an interface -->
<referencedClass name="Symfony\Component\HttpFoundation\RequestMatcher" /> <!-- deprecated in Symfony 6.2 -->
<referencedClass name="Doctrine\ORM\Event\LifecycleEventArgs" /> <!-- deprecated in doctrine/orm 2.14 -->
</errorLevel>
</DeprecatedClass>
<DeprecatedInterface>