-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
25 lines (25 loc) · 1.46 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
23
24
25
parameters:
level: 8
paths:
- src/
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
ignoreErrors:
- '#Parameter .+ of method .+ has invalid typehint type .+Transfer#'
- '#Call to method .+ on an unknown class .+Transfer#'
- '#Return typehint of method .+ has invalid type .+Transfer#'
- '#Parameter .+ of anonymous function has invalid typehint type .+Transfer#'
- '#Property .+ has unknown class .+Transfer as its type#'
- '#Instantiated class .+Transfer not found#'
- '#Call to method .+\(\) on an unknown class Generated\\Zed\\Ide\\AutoCompletion#'
- '#Call to static method create\(\) on an unknown class .+Query.#'
- '#Call to method .+\(\) on an unknown class Orm\\.+#'
- '#Return typehint of method .+ has invalid type Orm\\.+#'
- '#Access to constant .+ on an unknown class .+TableMap#'
- '#Instantiated class Orm\\.+\\AvalaraTax\\.+ not found#'
- '#Parameter \$.+ of method .+ has invalid typehint type Orm\\.+#'
- '#PHPDoc tag @param for parameter \$[\w\d]* with type Avalara\\[\w]*\|stdClass is not subtype of native type stdClass#'
- '#Parameter \#\d+ \$\w* of method SprykerEco\\[\w\\]*\:\:\w*\(\) expects stdClass, Avalara\\[\w]*\|stdClass given#'
excludePaths:
- src/SprykerEco/Zed/AvalaraTax/Dependency/External/*
- src/SprykerEco/Zed/AvalaraTax/Persistence/Propel/Abstract*.php