mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Merge branch '2.0' into api-platform-3
* 2.0: [PHPStan] Temporarily ignore errors with ResourceBundle 1.11 to fix static analysis
This commit is contained in:
commit
3978abf67e
1 changed files with 8 additions and 0 deletions
|
|
@ -42,6 +42,11 @@ parameters:
|
|||
|
||||
# To support both sylius/resource-bundle 1.11 and older versions
|
||||
- 'src/Sylius/Bundle/AdminBundle/Controller/RedirectHandler.php'
|
||||
- 'src/Sylius/Bundle/AdminBundle/Form/DataTransformer/ProductsToProductAssociationsTransformer.php'
|
||||
- 'src/Sylius/Bundle/AdminBundle/Provider/LoggedInAdminUserProvider.php'
|
||||
- 'src/Sylius/Bundle/AdminBundle/Twig/Component/Customer/OrderStatisticsComponent.php'
|
||||
- 'src/Sylius/Bundle/AdminBundle/Twig/Component/Order/AddressHistoryComponent.php'
|
||||
- 'src/Sylius/Bundle/AdminBundle/Twig/Component/Taxon/FormComponent.php'
|
||||
- 'src/Sylius/Bundle/ApiBundle/OpenApi/Documentation/AcceptLanguageHeaderDocumentationModifier.php'
|
||||
- 'src/Sylius/Bundle/CoreBundle/Doctrine/ORM/Handler/ResourceDeleteHandler.php'
|
||||
- 'src/Sylius/Bundle/CoreBundle/Doctrine/ORM/Handler/ResourceUpdateHandler.php'
|
||||
|
|
@ -67,6 +72,7 @@ parameters:
|
|||
- 'src/Sylius/Component/Core/Translation/TranslatableEntityLocaleAssigner.php'
|
||||
- 'src/Sylius/Component/Locale/Provider/LocaleCollectionProvider.php'
|
||||
- 'src/Sylius/Component/Locale/Provider/LocaleProvider.php'
|
||||
- 'src/Sylius/Component/Taxation/Resolver/TaxRateResolver.php'
|
||||
|
||||
ignoreErrors:
|
||||
- '/(Interface|Class) [a-zA-Z\\]+ specifies template type (\w+) of interface [a-zA-Z\\]+ as [a-zA-Z\\]+ (of [a-zA-Z\\]+ )?but it''s already specified as/' # turns off a weird generics check behavior, we are basing on Psalm for generics checks
|
||||
|
|
@ -89,3 +95,5 @@ parameters:
|
|||
- '/PHPDoc tag @extends contains generic type Sylius\\Component\\Resource\\\w+\\\w+<Sylius\\Component\\\w+\\Model\\\w+> but interface Sylius\\Component\\Resource\\\w+\\\w+ is not generic\./'
|
||||
- '/PHPDoc tag @param for parameter \$(\w+) contains generic type Sylius\\Component\\Resource\\\w+\\\w+<Sylius\\Component\\\w+\\Model\\\w+> but interface Sylius\\Component\\Resource\\\w+\\\w+ is not generic\./'
|
||||
- '/PHPDoc type for property Sylius\\Bundle\\\w+\\\w+\\\w+::\$(\w+) contains generic type Sylius\\Component\\Resource\\\w+\\\w+<Sylius\\Component\\\w+\\Model\\\w+> but interface Sylius\\Component\\Resource\\\w+\\\w+ is not generic\./'
|
||||
- '/PHPDoc type for property Sylius\\Bundle\\\w+\\\w+\\\w+\\\w+::\$(\w+) contains generic type Sylius\\Component\\Resource\\\w+\\\w+<Sylius\\Component\\\w+\\Model\\\w+> but interface Sylius\\Component\\Resource\\\w+\\\w+ is not generic\./'
|
||||
- '/PHPDoc type for property Sylius\\Bundle\\\w+\\\w+\\\w+\\\w+\\\w+::\$(\w+) contains generic type Sylius\\Component\\Resource\\\w+\\\w+<Sylius\\Component\\\w+\\Model\\\w+> but interface Sylius\\Component\\Resource\\\w+\\\w+ is not generic\./'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue