File: phpstan.tests.neon.dist

package info (click to toggle)
php-phpoption 1.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 232 kB
  • sloc: php: 1,087; makefile: 23; xml: 12
file content (57 lines) | stat: -rw-r--r-- 2,837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
parameters:
  level: 5
  ignoreErrors:
        -
            message: "#^Parameter \\#1 \\$className of method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\) expects class\\-string\\<Subject\\>, string given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/LazyOptionTest.php

        -
            message: "#^Parameter \\#1 \\$callable of method PhpOption\\\\LazyOption\\<mixed\\>\\:\\:getOrCall\\(\\) expects callable\\(\\)\\: S, 'does_not_exist' given\\.$#"
            count: 4
            path: tests/PhpOption/Tests/LazyOptionTest.php

        -
            message: "#^Call to an undefined method PhpOption\\\\Tests\\\\LazyOptionTest\\:\\:setExpectedException\\(\\)\\.$#"
            count: 4
            path: tests/PhpOption/Tests/LazyOptionTest.php

        -
            message: "#^Parameter \\#1 \\$callback of class PhpOption\\\\LazyOption constructor expects callable\\(\\.\\.\\.mixed\\)\\: PhpOption\\\\Option\\<T\\>, 'invalidCallback' given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/LazyOptionTest.php

        -
            message: "#^Parameter \\#1 \\$callback of static method PhpOption\\\\LazyOption\\<mixed\\>\\:\\:create\\(\\) expects callable\\(\\.\\.\\.mixed\\)\\: PhpOption\\\\Option\\<mixed\\>, 'invalidCallback' given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/LazyOptionTest.php

        -
            message: "#^Call to an undefined method PhpOption\\\\Tests\\\\NoneTest\\:\\:setExpectedException\\(\\)\\.$#"
            count: 2
            path: tests/PhpOption/Tests/NoneTest.php

        -
            message: "#^Parameter \\#1 \\$array of static method PhpOption\\\\Option\\<mixed\\>\\:\\:fromArraysValue\\(\\) expects array\\<int\\|string, mixed\\>\\|ArrayAccess\\<int\\|string, mixed\\>\\|null, string given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/OptionTest.php

        -
            message: "#^Parameter \\#1 \\$callable of method PhpOption\\\\Some\\<string\\>\\:\\:getOrCall\\(\\) expects callable\\(\\)\\: S, 'does_not_exist' given\\.$#"
            count: 2
            path: tests/PhpOption/Tests/SomeTest.php

        -
            message: "#^Parameter \\#1 \\$value of method PhpOption\\\\Some\\<string\\>\\:\\:select\\(\\) expects string, true given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/SomeTest.php

        -
            message: "#^Parameter \\#1 \\$value of method PhpOption\\\\Some\\<string\\>\\:\\:reject\\(\\) expects string, null given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/SomeTest.php

        -
            message: "#^Parameter \\#1 \\$value of method PhpOption\\\\Some\\<string\\>\\:\\:reject\\(\\) expects string, true given\\.$#"
            count: 1
            path: tests/PhpOption/Tests/SomeTest.php