forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
30 lines (28 loc) · 1.01 KB
/
phpstan.neon.dist
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
parameters:
level: 4
bootstrapFiles:
- .github/workflows/phpstan/autoload.php
paths:
- src
ignoreErrors:
- '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:#'
- '#^Unsafe usage of new static\(\)\.$#'
## Relative to Attribute PHP 8
- '#^Access to an undefined property Attribute\:\:\$id\.$#'
- '#^Call to an undefined method Attribute\:\:delete\(\)\.$#'
- '#^Call to an undefined static method Attribute\:\:checkAttributeQty\(\)\.$#'
- '#^Call to an undefined static method Attribute\:\:getAttributeMinimalQty\(\)\.$#'
- '#^Call to an undefined static method Attribute\:\:getAttributes\(\)\.$#'
universalObjectCratesClasses:
- Cookie
- ObjectModel
- Order
- OrderInvoice
- Product
includes:
- vendor/prestashop/phpstan-prestashop/extension.neon
services:
strictTypesForNewClassesRuleConfigurationFileLoader:
class: PHPStanForPrestaShop\PHPConfigurationLoader\PHPConfigurationFileLoader
arguments:
- .github/workflows/phpstan/list.php