-
Notifications
You must be signed in to change notification settings - Fork 39
/
phpstan.neon
28 lines (26 loc) · 1.11 KB
/
phpstan.neon
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
includes:
- phpstan-baseline.neon
parameters:
level: 8
reportUnmatchedIgnoredErrors: true
symfony:
constant_hassers: false
container_xml_path: ../../../var/cache/production____REVISION___/container.xml
console_application_loader: ../../../tests/phpstan-console-application.php
doctrine:
queryBuilderClass: Shopware\Components\Model\QueryBuilder
repositoryClass: Shopware\Components\Model\ModelRepository
objectManagerLoader: ../../../tests/phpstan-doctrine-model-manager.php
scanDirectories:
- ../../../var/cache/production____REVISION___/doctrine
bootstrapFiles:
- ../../../tests/phpstan-dba-bootstrap.php
excludePaths:
- .githooks
- vendor
ignoreErrors:
# Needs some improvements in the doctrine PHPStan extensions: see https://github.com/phpstan/phpstan-doctrine/pull/167
- '#Cannot call method fetch.*\(\) on Doctrine\\DBAL\\.*\|int#'
# Needs B2B plugin, which is not available on GitHub
- '#.*Shopware\\B2B\\.*#'
- '#Service "b2b_.* is not registered in the container#'