Rev 77 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
76 | daniel-mar | 1 | parameters: |
2 | level: 5 |
||
3 | fileExtensions: |
||
78 | daniel-mar | 4 | # Attention: There are files which have no extension! Therefore, please run ./phpstan.sh which temporarily renames then to *.php |
76 | daniel-mar | 5 | - php |
6 | - phps |
||
7 | paths: |
||
8 | - . |
||
9 | excludePaths: |
||
10 | analyse: |
||
11 | - shared/php_includes/idna_convert.class.php |
||
12 | analyseAndScan: |
||
13 | - .phpstan.tmp |
||
14 | tmpDir: .phpstan.tmp |
||
15 | bootstrapFiles: |
||
16 | - ./maintenance/qa-monitor/config.inc.php |
||
77 | daniel-mar | 17 | - ./maintenance/pattern-generator/config.inc.php |
76 | daniel-mar | 18 | ignoreErrors: |
19 | - '#is always (true|false)\.#' |
||
20 | #- '#Call to function assert\(\) with false will always evaluate to false\.#' |
||
21 | #- '#with no typehint specified\.#' |
||
78 | daniel-mar | 22 | # Bug in PHPstan: If you have function() definitions after exit(), this error comes ( https://github.com/phpstan/phpstan/issues/4002 ) |
76 | daniel-mar | 23 | - '#Unreachable statement - code above always terminates.#' |