forked from thecodingmachine/graphqlite-bundle
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan.neon
26 lines (26 loc) · 900 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
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
tmpDir: .phpstan-cache
paths:
- .
excludePaths:
- vendor
- cache
- .phpstan-cache
- Tests
level: max
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
# Wrong return type hint in Symfony's TreeBuilder
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::\w+\(\).#'