forked from shopware/SwagMigrationAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
41 lines (35 loc) · 1.37 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
31
32
33
34
35
36
37
38
39
40
41
includes:
- phpstan-baseline.neon
parameters:
level: 8
tmpDir: var/cache/phpstan
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
bootstrapFiles:
- Test/TestBootstrap.php
# run `php Test/TestBootstrap.php` to create the container
symfony:
constantHassers: false
containerXmlPath: '../../../var/cache/test/Shopware_Core_DevOps_StaticAnalyze_StaticAnalyzeKernelTestDebugContainer.xml'
consoleApplicationLoader: ../../../src/Core/DevOps/StaticAnalyze/console-application.php
excludePaths:
- vendor
- var
- ecs.php
# extends final class, which is ok for mocks
- Test/Mock/Repositories/GeneralSettingRepo.php
- Test/Mock/Repositories/MigrationConnectionRepo.php
ignoreErrors:
-
message: '#Service ".*" is private#'
paths:
- Test/**/*Test.php
# @deprecated tag:v6.0.0 - Remove this ignoreErrors when doing compatible with platform v6.6.0.0
-
message: '#Instantiation of deprecated class Shopware\\#'
# @deprecated tag:v6.0.0 - Remove this ignoreErrors when doing compatible with platform v6.6.0.0
-
message: '#Fetching class constant class of deprecated class Shopware\\#'
paths:
- .