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