-
Notifications
You must be signed in to change notification settings - Fork 775
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
30 lines (30 loc) · 1.31 KB
/
phpstan.neon.dist
File metadata and controls
30 lines (30 loc) · 1.31 KB
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
parameters:
fileExtensions:
- php
- phpt
ignoreErrors:
-
# Why: SimpleXMLElement is weird and doesn't implement anything ArrayAccess-like
message: '/Instanceof between mixed and SimpleXMLElement will always evaluate to false\./'
path: src/Validators/ArrayVal.php
- message: '/Call to an undefined method .+::expectException\(\)/'
path: tests/Pest.php
- message: '/Call to an undefined method .+::throwsNoExceptions\(\)/'
path: tests/feature
- message: '/Undefined variable: \$this/'
path: tests/feature/Validators/SizeTest.php
- message: '/Undefined variable: \$this/'
path: tests/Pest.php
- message: '/Method .+\\TestingHandler::handle\(\) never returns null so it can be removed from the return type./'
path: tests/src/Message/TestingHandler.php
- message: '/Access to an undefined property PHPUnit\\Framework\\TestCase/'
path: tests/feature/Validators/SizeTest.php
- message: '/Property Respect\\Validation\\Test\\Stubs\\.+::\$[a-zA-Z]+ is never read, only written./'
path: tests/src/Stubs
- message: '/Call to an undefined method Pest\\PendingCalls\\TestCall|Pest\\Support\\HigherOrderTapProxy::with\(\)./'
path: tests/feature/SerializableTest.php
level: 8
treatPhpDocTypesAsCertain: false
paths:
- src/
- tests/