-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathphpstan.neon
30 lines (24 loc) · 884 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
treatPhpDocTypesAsCertain: false
paths:
- src/
- plugins/Sandbox/src/
- plugins/AuthSandbox/src/
- plugins/StateMachineSandbox/src/
bootstrapFiles:
- %rootDir%/../../../config/bootstrap.php
- %rootDir%/../../../vendor/dereuromark/cakephp-tools/config/bootstrap.php
excludePaths:
- %rootDir%/../../../src/Console/Installer.php
ignoreErrors:
- identifier: missingType.generics
- identifier: missingType.iterableValue
- '#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.#'