-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.example
31 lines (31 loc) · 1.89 KB
/
phpstan.neon.example
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
31
parameters:
scanDirectories:
- %currentWorkingDirectory%/../vufind/module
bootstrapFiles:
- %currentWorkingDirectory%/../vufind/vendor/autoload.php
excludes_analyse:
- %currentWorkingDirectory%/../vufind/module/VuFind/src/VuFind/View/Helper/Root/AuthorNotesFactory.php
ignoreErrors:
- '#Access to an undefined property Laminas\\Config\\Config::\$[a-zA-Z0-9_]#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::getRequest\(\)#'
- '#Access to an undefined property [a-zA-Z0-9_]+\\Db\\Row\\[a-zA-Z0-9_]+::\$[a-zA-Z0-9_]+#'
- '#Call to an undefined method Laminas\\Db\\ResultSet\\ResultSetInterface::current\(\)#'
- '#Call to an undefined method [a-zA-Z0-9_]+\\Controller\\[a-zA-Z0-9_]+Controller::flashMessenger\(\)#'
- '#Call to an undefined method [a-zA-Z0-9_]+\\Controller\\[a-zA-Z0-9_]+Controller::flashRedirect\(\)#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::url\(\)#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::translate\(\)#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::confirm\(\)#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::flashMessenger\(\)#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::params\(\)#'
- '#Call to an undefined method Laminas\\Stdlib\\DispatchableInterface::redirect\(\)#'
- '#Cannot call method toArray\(\) on ArrayIterator\|bool\|Laminas\\Http\\Header\\HeaderInterface\|Laminas\\Http\\Headers#'
checkMissingIterableValueType: false
paths:
- module/KnihovnyCz
- module/KnihovnyCzApi
- module/KnihovnyCzConsole
- module/KnihovnyCzCronApi
earlyTerminatingMethodCalls:
VuFind\ILS\Driver\AbstractBase:
- throwAsIlsException
level: 8