File: phpstan.neon.dist

package info (click to toggle)
php-lcobucci-clock 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 364 kB
  • sloc: php: 155; makefile: 41
file content (20 lines) | stat: -rw-r--r-- 720 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
    level: max
    paths:
        - src
        - test

    ignoreErrors:
        # This is only for PHP 8.2 compatibility
        -
         message: "#^PHPDoc tag @throws with type DateMalformedStringException\\|InvalidArgumentException is not subtype of Throwable$#"
         count: 1
         path: src/FrozenClock.php
        -
         message: "#^Class DateMalformedStringException not found\\.$#"
         count: 1
         path: test/FrozenClockTest.php
        -
         message: "#^Parameter \\#1 \\$exception of method PHPUnit\\\\Framework\\\\TestCase\\:\\:expectException\\(\\) expects class\\-string\\<Throwable\\>, string given\\.$#"
         count: 1
         path: test/FrozenClockTest.php