mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-02 16:39:25 -05:00
phpstan is not run with an action anymore, as the action runs it its own docker container and hence has no access to files outside the repository root. A side-effect of this is, that phpstan now **really** runs with the php version set up by the matrix.
33 lines
741 B
Text
33 lines
741 B
Text
includes:
|
|
- phpstan-baseline.neon
|
|
|
|
parameters:
|
|
level: max
|
|
|
|
checkFunctionNameCase: true
|
|
checkInternalClassCaseSensitivity: true
|
|
treatPhpDocTypesAsCertain: false
|
|
|
|
paths:
|
|
- application
|
|
- library
|
|
|
|
scanDirectories:
|
|
- /icingaweb2
|
|
- /usr/share/icinga-php
|
|
- /usr/share/icingaweb2-modules
|
|
|
|
excludePaths:
|
|
- library/Businessprocess/Test
|
|
|
|
ignoreErrors:
|
|
-
|
|
messages:
|
|
- '#Unsafe usage of new static\(\)#'
|
|
- '#. but return statement is missing#'
|
|
reportUnmatched: false
|
|
|
|
universalObjectCratesClasses:
|
|
- Icinga\Web\View
|
|
- ipl\Orm\Model
|
|
- Icinga\Module\Monitoring\Object\MonitoredObject
|