-
Notifications
You must be signed in to change notification settings - Fork 12
/
phpstan.neon
30 lines (28 loc) · 1.25 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
30
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#'
- '#should return Doctrine\\DBAL\\.* but returns Doctrine\\DBAL\\.*\|int\|string#'
- # Needs annotation fixes in the core
message: '#Parameter .* of method Shopware_Components_Acl::createResource\(\) expects null#'
count: 2
path: Bootstrap/Setup.php