-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan.neon
22 lines (20 loc) · 1.06 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
parameters:
level: 8
paths:
- src/
bootstrapFiles:
- tests/bootstrap.php
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
earlyTerminatingMethodCalls:
SprykerSdk\Integrator\Transfer\AbstractTransfer:
- throwNullValueException
ignoreErrors:
- '#Call to an undefined method object::fromArray\(\)#'
- '#Call to an undefined method [a-zA-Z0-9\|\\_]+::toString\(\)#'
- '#Access to an undefined property PhpParser\\Node::\$(?:name|items|stmts)#'
- '#Access to an undefined property PhpParser\\[a-zA-Z0-9\|\\_]+::\$value#'
- '#Binary operation "." between non-[a-zA-Z0-9]+-string and PhpParser\\[a-zA-Z0-9\|\\_]+ results in an error.#'
- '#Property PhpParser\\Node\\Stmt\\ClassLike::\$stmts \(array<PhpParser\\Node\\Stmt>\) does not accept array<PhpParser\\Node>#'
- '#Unsafe access to private property SprykerSdk\\Integrator\\Builder\\ClassLoader\\ClassLoader::\$composerClassLoader through static::#'