-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.tests.neon.dist
32 lines (28 loc) · 1.44 KB
/
phpstan.tests.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
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
- vendor/nepada/phpstan-nette-tester/extension.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/spaze/phpstan-disallowed-calls/extension.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-dangerous-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-execution-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-insecure-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-loose-calls.neon
- tests/PHPStan/disallowedCalls.neon
- tests/PHPStan/shipmonk.neon
parameters:
level: max
paths:
- tests
fileExtensions:
- php
- phpt
excludePaths:
- tests/temp/*
ignoreErrors:
# - '~Call to static method Tester\\Assert::(type|count|same|notSame)\(\) with .* and .* will always evaluate to true\.~'
- # false positive
message: "#^Property NepadaTests\\\\EmailAddressDoctrine\\\\EmailAddressTypeTestCase\\<TEmailAddress of Nepada\\\\EmailAddress\\\\EmailAddress\\>\\:\\:\\$type \\(Nepada\\\\EmailAddressDoctrine\\\\AbstractEmailAddressType\\<TEmailAddress of Nepada\\\\EmailAddress\\\\EmailAddress\\>\\) does not accept Doctrine\\\\DBAL\\\\Types\\\\Type\\.$#"
count: 1
path: tests/EmailAddressDoctrine/EmailAddressTypeTestCase.php