-
Notifications
You must be signed in to change notification settings - Fork 36
/
phpstan.neon
30 lines (24 loc) · 872 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
27
28
29
30
includes:
- vendor/cakedc/cakephp-phpstan/extension.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: 8
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
checkMissingIterableValueType: false
paths:
- src/
- plugins/Sandbox/src/
- plugins/AuthSandbox/src/
- plugins/StateMachineSandbox/src/
bootstrapFiles:
- %rootDir%/../../../tests/bootstrap.php
excludePaths:
- %rootDir%/../../../src/Console/Installer.php
ignoreErrors:
- '# with no value type specified in iterable type \w+#'
- '#Constant \w+ not found\.#'
- '#Access to an undefined property .+SandboxCategory::\$.+.#'
- '#Call to an undefined method .+Mailer::set.+#'
- '#Access to an undefined property Cake\\ORM\\BehaviorRegistry::\$.+#'
- '#Dead catch - .+RecordNotFoundException is never thrown in the try block.#'