-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathphpstan.neon
More file actions
15 lines (15 loc) · 801 Bytes
/
phpstan.neon
File metadata and controls
15 lines (15 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
parameters:
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- '#Access to an undefined property static\(Swaggest\\JsonSchema\\JsonSchema\)\|Swaggest\\JsonSchema\\Constraint\\Properties::#'
- '#Access to an undefined property .+Swaggest\\JsonSchema\\NameMirror::.+#'
- '#should be compatible with parameter \$properties#'
- '#PHPDoc tag @param references unknown parameter: \$schema#'
- '#Property .+ \(array<string>\|null\) does not accept array<int, string\|false>.#'
- '#should return array<string> but returns array<int, int\|string>#'
- '#has no return typehint specified#'
- '#with no typehint specified#'
- '#has no typehint specified#'
- '#Unsafe usage of new static\(\).#'