mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
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:
commit
f220ac0f12
2 changed files with 9 additions and 0 deletions
|
|
@ -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./'
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue