forked from ramsey/uuid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-tests.neon
32 lines (32 loc) · 1.17 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
32
parameters:
tmpDir: ./build/cache/phpstan
level: max
paths:
- ./tests
bootstrapFiles:
- ./tests/static-analysis/stubs.php
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
excludePaths:
analyse:
- ./tests/ExpectedBehaviorTest.php
- ./tests/static-analysis/stubs.php
ignoreErrors:
-
message: "#^Call to static method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
paths:
- ./tests/*Test.php
- ./tests/benchmark/*Bench.php
-
message: "#^Call to method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
paths:
- ./tests/Builder/*Test.php
- ./tests/Converter/*Test.php
- ./tests/Generator/*Test.php
- ./tests/Guid/*Test.php
- ./tests/Nonstandard/*Test.php
- ./tests/Rfc4122/*Test.php
-
message: "#^Method Ramsey\\\\Uuid\\\\.+ should return non-empty-string but returns string\\.$#"
paths:
- ./tests/static-analysis/ValidUuidIsNonEmpty.php