-
-
Notifications
You must be signed in to change notification settings - Fork 450
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
32 lines (30 loc) · 965 Bytes
/
phpstan.neon.dist
File metadata and controls
32 lines (30 loc) · 965 Bytes
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
parameters:
level: 8
paths:
- src/
- tests/
ignoreErrors:
-
message: '#Parameter .+ expects .+, .+ given#'
path: tests
-
message: '#Method.+jsonSerialize.+no value type specified in iterable type array.#'
path: src
-
# Needed for backward compatibility
message: '#VersionNumber::fromValue\(\)#'
identifier: missingType.parameter
path: src/Firebase/RemoteConfig/VersionNumber.php
-
# Needed since introducing phpstan/strict-rules, will revisit for next major release
message: '#Dynamic call to static method PHPUnit#'
identifier: staticMethod.dynamicCall
path: tests
checkUninitializedProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
reportAlwaysTrueInLastCondition: true
reportPossiblyNonexistentConstantArrayOffset: true
treatPhpDocTypesAsCertain: false
includes:
- vendor/cuyz/valinor/qa/PHPStan/valinor-phpstan-configuration.php
- vendor/phpstan/phpstan/conf/bleedingEdge.neon