-
Notifications
You must be signed in to change notification settings - Fork 12
/
phpstan.neon
24 lines (24 loc) · 1.22 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
parameters:
level: 8
paths:
- src
- tests
excludePaths:
analyse:
- tests/_Integration/_Server
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- "#^Call to an undefined method Pest\\\\PendingCalls\\\\TestCall\\|Pest\\\\Support\\\\HigherOrderTapProxy\\:\\:(with|throws)\\(\\).$#"
- "#^Access to an undefined property Spatie\\\\Invade\\\\Invader#"
- "#^Call to an undefined method Spatie\\\\Invade\\\\Invader#"
- "#^Call to protected method [a-zA-Z]{5,30}\\(\\) of class PHPUnit\\\\Framework\\\\TestCase.#"
- "#^(?:Parameter|Method) .+ has invalid (return )?type Dom\\\\.+\\.#"
- "#^Call to .+ on an unknown class Dom\\\\.+\\.#"
- "#^Property .+ has unknown class Dom\\\\.+ as its type\\.#"
- "#^Class Dom\\\\.+ not found.#"
- "#^Access to property .+ on an unknown class Dom\\\\.+\\.#"
- "#^PHPDoc tag .+ contains unknown class Dom\\\\.+\\.#"
- "#^Call to an undefined (static )?method Dom\\\\.+::.+\\(\\)\\.#"
- "#^Access to an undefined property Dom\\\\.+::\\$.+\\.#"
- "#^Function .+ has invalid return type Dom\\\\.+\\.#"
- "#^(?:Used )?(?:C|c)onstant DOM\\\\.+ not found\\.#"