File: phpstan.neon.dist

package info (click to toggle)
php-composer-semver 3.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 632 kB
  • sloc: php: 4,307; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
includes:
    - phpstan-baseline.neon

parameters:
    level: 8
    paths:
        - src
        - tests

    ignoreErrors:
        # Ignore some irrelevant errors in test files
        - '~Method Composer\\Semver\\[^:]+::(setUp(BeforeClass)?|tearDown(AfterClass)?|test[^(]+)\(\) has no return type specified.~'
        - '~Method Composer\\Semver\\[^:]+::(data\w+|provide\w+|\w+?Provider)\(\) has no return type specified.~'