forked from infection/infection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-tests.neon
31 lines (30 loc) · 1.48 KB
/
phpstan-tests.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
31
includes:
- phpstan-tests-baseline.neon
parameters:
tmpDir: ../build/cache/phpstan-tests
parallel:
processTimeout: 120.0
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
excludes_analyse:
- %currentWorkingDirectory%/tests/e2e/*
- %currentWorkingDirectory%/tests/phpunit/Fixtures/*
inferPrivatePropertyTypeFromConstructor: true
ignoreErrors:
- '#Return type \((void|mixed)\) of method .*(Visitor|Traverser).* should be compatible with return type .* of method PhpParser\\Node.*#'
- '#^Cannot call method (willReturn|shouldBeCalledTimes)\(\) on iterable<Infection\\Mutation\\Mutation>\.$#'
- '#Offset .*\\.* does not exist on array<class-string<.*>.*#'
- '#Dynamic call to static method PHPUnit\\Framework\\.*::.*#'
- '#Call to method PHPUnit\\Framework\\Assert::.* with .* and .* will always evaluate to (false|true)#'
- '#^PHPDoc tag @var for variable \$sourceFilesCollectorProphecy contains unresolvable type#'
-
path: '../tests/phpunit/TestFramework/PhpUnit/Config/Builder/InitialConfigBuilderTest.php'
message: '#Function simplexml_load_string is unsafe to use#'
count: 1
-
path: '../tests/phpunit/TestFramework/PhpUnit/Config/Builder/MutationConfigBuilderTest.php'
message: '#Function simplexml_load_string is unsafe to use#'
count: 1
level: 4
paths:
- ../tests/phpunit