-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpstan.neon.dist
28 lines (24 loc) · 1.15 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
includes:
- ../../../src/Core/DevOps/StaticAnalyze/PHPStan/common.neon
parameters:
tmpDir: var/cache/phpstan
bootstrapFiles:
- ../../../src/Core/DevOps/StaticAnalyze/phpstan-bootstrap.php
# run `php tests/TestBootstrap.php` to create the container
symfony:
constantHassers: false
containerXmlPath: '../../../var/cache/phpstan_dev/Shopware_Core_DevOps_StaticAnalyze_StaticAnalyzeKernelPhpstan_devDebugContainer.xml'
consoleApplicationLoader: ../../../src/Core/DevOps/StaticAnalyze/console-application.php
paths:
- src
- tests
ignoreErrors:
-
message: '#Service ".*" is private#'
paths:
- tests/*Test.php
- # Remove once minimum required SW version is 6.6.1.0
message: '#Method Context::createDefaultContext\(\) should not be used in CLI context\. Use Context::createCLIContext\(\) instead#'
- # Remove with SW 6.7 compatibility
message: '#Call to deprecated method getEntityName.*Extension#'
- message: '#deprecated class Shopware\\Core\\Maintenance\\SalesChannel\\Service\\SalesChannelCreator#'