File: phpstan.neon

package info (click to toggle)
icingaweb2-module-reporting 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 552 kB
  • sloc: php: 3,469; sql: 289; sh: 54; xml: 18; makefile: 15
file content (35 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (2)
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
32
33
34
35
includes:
	- phpstan-baseline.neon

parameters:
    level: max

    checkFunctionNameCase: true
    checkInternalClassCaseSensitivity: true
    treatPhpDocTypesAsCertain: false

    paths:
        - application
        - library

    scanDirectories:
        - /icingaweb2
        - /usr/share/icinga-php/ipl
        - /usr/share/icinga-php/vendor
        - /usr/share/icingaweb2-modules/icingadb
        - /usr/share/icingaweb2-modules/pdfexport

    ignoreErrors:
        -
            messages:
                - '#Unsafe usage of new static\(\)#'
                - '#. but return statement is missing#'
            reportUnmatched: false

        - '#Call to an undefined method Icinga\\Module\\Reporting\\RetryConnection::lastInsertId\(\)#'

        - '#Call to an undefined method Zend_Controller_Action_HelperBroker::layout\(\)#'

    universalObjectCratesClasses:
        - Icinga\Web\View
        - ipl\Orm\Model