-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
29 lines (27 loc) · 1.66 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:
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
parameters:
parallel:
jobSize: 20
maximumNumberOfProcesses: 32
minimumNumberOfJobsPerProcess: 2
processTimeout: 100.0
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
excludes_analyse:
- /app/src/Infrastructure/Migrations/*
- /app/src/Presentation/Cli/Command/*
- /app/tests/Unit/Preprocessor/*
- /app/tests/Unit/Mock/*
ignoreErrors:
- '#Unsafe usage of new static\(\).#'
- '#Strict comparison using === between 1 and float will always evaluate to false.#'
- '#Method.*create.*ValueObject.*Mock\(\) should return.*Mockery\\MockInterface but returns Mockery\\MockInterface.#'
- '#Parameter .* expects .*Mockery\\MockInterface.* given\.#'
- '#Parameter .* method Backend\\Api\\RpcSkeleton\\Domain\\ValueObject\\.* expects Backend\\Api\\RpcSkeleton\\Domain\\ValueObject\\.*, MicroModule\\ValueObject\\.* given.#'
- '#Method Backend\\Api\\RpcSkeleton\\Domain\\Factory\\ValueObjectFactory.* should return Backend\\Api\\RpcSkeleton\\Domain\\ValueObject.* but returns MicroModule\\ValueObject\\.*#'
- '#Parameter .* Backend\\Api\\RpcSkeleton\\.* constructor expects Backend\\Api\\RpcSkeleton\\Domain\\ValueObject\\.*, MicroModule\\ValueObject\\.* given\.#'
- '#Method Backend\\Api\\RpcSkeleton\\Tests\\.* should return .* but returns Mockery\\MockInterface\.#'
- '#Return typehint of method Backend\\Api\\RpcSkeleton\\Tests\\Integration\\ApplicationTestCase.* has invalid type MicroModule\\Base\\Domain\\ValueObject\\ObjectStorage\.#'