-
-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathphpstan.neon
More file actions
49 lines (48 loc) · 3.55 KB
/
Copy pathphpstan.neon
File metadata and controls
49 lines (48 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
includes:
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
parameters:
level: 4
paths:
- src
- tests/Behat/FeatureContext.php
- app/DoctrineMigrations
excludePaths:
- app/DoctrineMigrations/Version20171202224801.php
- app/DoctrineMigrations/Version20171230131300.php
- src/Api/Filter/OrderStoreFilter.php
ignoreErrors:
- '#Access to an undefined property #'
- '#Call to an undefined method Symfony\\Component\\Form\\FormInterface::getClickedButton\(\)#'
- '#Call to an undefined method Symfony\\Component\\Form\\FormInterface<mixed>::getClickedButton\(\)#'
- '#Call to an undefined method Sylius\\Component\\Order\\Model\\OrderInterface::[a-zA-Z]+\(\)#'
- '#Call to an undefined method Doctrine\\ORM\\EntityRepository<[a-zA-Z\\]+>::[a-zA-Z]+\(\)#'
- '#Call to an undefined method Sylius\\Component\\(Order|Payment|Product)\\Model\\[a-zA-Z]+Interface::[a-zA-Z]+\(\)#'
- '#Call to an undefined method Symfony\\Component\\Security\\Core\\User\\UserInterface::[a-zA-Z]+\(\)#'
- '#Call to an undefined method Nucleos\\UserBundle\\Model\\UserInterface::[a-zA-Z]+\(\)#'
- '#Call to an undefined method AppBundle\\Sylius\\Order\\OrderInterface::[a-zA-Z]+\(\)#'
- '#Call to an undefined method AppBundle\\Entity\\Model\\TaggableInterface::getId\(\)#'
- '#Call to an undefined method League\\Geotools\\Geohash\\GeohashInterface::getCoordinate\(\)#'
- '#Call to an undefined method Sylius\\Component\\Order\\Repository\\OrderRepositoryInterface::countByCustomerAndCoupon\(\)#'
- '#Strict comparison using === between null and Sylius\\Component\\Order\\Model\\OrderInterface will always evaluate to false#'
- '#Call to an undefined method League\\Geotools\\Distance\\DistanceInterface::flat\(\)#'
- '#Call to an undefined method Sylius\\Component\\Promotion\\Model\\PromotionSubjectInterface::getRestaurant\(\)#'
- '#Call to an undefined method Sylius\\Component\\(.*)RepositoryInterface::findOneBy[a-zA-Z]+\(\)#'
- '#Method AppBundle\\Entity\\Sylius\\(Product|Taxon)::compareTo\(\) should return int but returns bool#'
- '#Method [a-zA-Z\\:\(\)]+ should return Doctrine\\Common\\Collections\\Collection<\(int\|string\), [a-zA-Z\\]+> but returns Doctrine\\Common\\Collections\\ArrayCollection<\(int\|string\), [a-zA-Z\\\|]+>#'
- '#Call to an undefined method Symfony\\Component\\Validator\\ConstraintViolationListInterface::findByCodes\(\)#'
- '#Call to an undefined method Doctrine\\Persistence\\ObjectManager::getFilters#'
- '#(createdAt|updatedAt) is never written, only read#'
- '#(createdAt|updatedAt) is unused#'
- '#Property AppBundle\\Entity\\(.*)::\$id is never written, only read#'
- '#Property AppBundle\\Entity\\(.*)::\$id is unused#'
- '#updatedAt is never read, only written#'
- '#Call to an undefined method Symfony\\Component\\Console\\Helper\\HelperInterface::ask\(\)#'
- '#Cannot use array destructuring on array<int, mixed>\|Doctrine\\ORM\\PersistentCollection#'
- '#Call to an undefined method DateTimeInterface::modify\(\)#'
- '#Call to an undefined method Sylius\\Component\\Customer\\Model\\CustomerInterface::(get|has|set)(Dabba|Loopeat|LoopEat)(AccessToken|Credentials|RefreshToken)\(\)#'
universalObjectCratesClasses:
- MercadoPago\Item
- MercadoPago\Preference
- MercadoPago\Payer