-
Notifications
You must be signed in to change notification settings - Fork 45
/
phpstan.neon
29 lines (28 loc) · 1.24 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
29
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:
objectManagerLoader: ../../../tests/phpstan-doctrine-model-manager.php
repositoryClass: Shopware\Components\Model\ModelRepository
queryBuilderClass: Shopware\Components\Model\QueryBuilder
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
message: '#Cannot call method fetchFirstColumn\(\) on Doctrine\\DBAL\\.*\|int#'
paths:
- Components/DbAdapters/AddressDbAdapter.php
- Components/DbAdapters/CustomerCompleteDbAdapter.php
- Components/DbAdapters/CustomerDbAdapter.php
- Components/DbAdapters/MainOrdersDbAdapter.php