-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathphpstan.neon
28 lines (28 loc) · 920 Bytes
/
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
25
26
27
28
includes:
- phpstan-baseline.neon
parameters:
exceptions:
check:
missingCheckedExceptionInThrows: false
reportUncheckedExceptionDeadCatch: false
reportUnmatchedIgnoredErrors: true
editorUrl: "phpstorm://open?file=%%file%%&line=%%line%%"
dynamicConstantNames:
- CONSOLE
- YII_DEBUG
level: 9
paths:
- src
- tests
checkMaybeUndefinedVariables: true
treatPhpDocTypesAsCertain: false
ignoreErrors:
- identifier: missingType.iterableValue
path: tests/_support/_generated/FunctionalTesterActions.php
- identifier: return.type
path: tests/_support/_generated/FunctionalTesterActions.php
message: "# but returns mixed.$#"
# If you want to ignore missing generics errors in the future, you can add:
# - identifier: missingType.generics
stubFiles:
- tests/Yii.stub