File: phpstan.neon

package info (click to toggle)
phpunit 11.5.19-1%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 46,892 kB
  • sloc: php: 87,771; xml: 1,938; makefile: 119; sh: 94
file content (20 lines) | stat: -rw-r--r-- 769 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
parameters:
    level: 6
    paths:
        - src

    treatPhpDocTypesAsCertain: false

    ignoreErrors:
        # ignore errors caused by defensive programming
        - '#Call to function assert\(\) with true will always evaluate to true.#'
        - '#Instanceof between .* and .* will always evaluate to true.#'
        - '#Strict comparison using !== between .*non-empty-string.* and .* will always evaluate to true.#'
        - '#Strict comparison using !== between .*non-falsy-string.* and .* will always evaluate to true.#'
        - identifier: argument.named

    excludePaths:
        - src/Framework/MockObject/Runtime/Api # exclude partial traits, which are only used in runtime generated code

includes:
    - phar://phpstan.phar/conf/bleedingEdge.neon