|
1 | 1 | parameters: |
2 | 2 | ignoreErrors: |
3 | 3 | - |
4 | | - message: "#^Method Zenstruck\\\\Mailer\\\\Test\\\\SentEmails\\:\\:first\\(\\) should return T of Zenstruck\\\\Mailer\\\\Test\\\\TestEmail but returns Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\.$#" |
| 4 | + message: '#^Trait Zenstruck\\Mailer\\Test\\Bridge\\Zenstruck\\Browser\\MailerExtension is used zero times and is not analysed\.$#' |
| 5 | + identifier: trait.unused |
5 | 6 | count: 1 |
6 | | - path: src/SentEmails.php |
| 7 | + path: src/Bridge/Zenstruck/Browser/MailerExtension.php |
7 | 8 |
|
8 | 9 | - |
9 | | - message: "#^Method Zenstruck\\\\Mailer\\\\Test\\\\SentEmails\\:\\:last\\(\\) should return T of Zenstruck\\\\Mailer\\\\Test\\\\TestEmail but returns Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\.$#" |
| 10 | + message: '#^Trait Zenstruck\\Mailer\\Test\\InteractsWithMailer is used zero times and is not analysed\.$#' |
| 11 | + identifier: trait.unused |
10 | 12 | count: 1 |
11 | | - path: src/SentEmails.php |
12 | | - |
13 | | - - |
14 | | - message: "#^Parameter \\#1 \\$filter of method Zenstruck\\\\Mailer\\\\Test\\\\SentEmails\\:\\:where\\(\\) expects callable\\(Symfony\\\\Component\\\\Mime\\\\Email\\|Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\)\\: bool, Closure\\(Symfony\\\\Component\\\\Mime\\\\Email\\)\\: bool given\\.$#" |
15 | | - count: 7 |
16 | | - path: src/SentEmails.php |
| 13 | + path: src/InteractsWithMailer.php |
17 | 14 |
|
18 | 15 | - |
19 | | - message: "#^Parameter \\#1 \\$filter of method Zenstruck\\\\Mailer\\\\Test\\\\SentEmails\\:\\:where\\(\\) expects callable\\(Symfony\\\\Component\\\\Mime\\\\Email\\|Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\)\\: bool, Closure\\(Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\)\\: bool given\\.$#" |
| 16 | + message: '#^Call to an undefined method Symfony\\Component\\Mime\\Email\:\:attachPart\(\)\.$#' |
| 17 | + identifier: method.notFound |
20 | 18 | count: 1 |
21 | 19 | path: src/SentEmails.php |
22 | 20 |
|
23 | 21 | - |
24 | | - message: "#^Method Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\:\\:as\\(\\) should return T of Zenstruck\\\\Mailer\\\\Test\\\\TestEmail but returns \\$this\\(Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\)\\.$#" |
25 | | - count: 1 |
26 | | - path: src/TestEmail.php |
27 | | - |
28 | | - - |
29 | | - message: "#^Parameter \\#1 \\$events of static method Zenstruck\\\\Mailer\\\\Test\\\\SentEmails\\:\\:fromEvents\\(\\) expects Symfony\\\\Component\\\\Mailer\\\\Event\\\\MessageEvents, Symfony\\\\Component\\\\Mailer\\\\Event\\\\MessageEvents\\|null given\\.$#" |
30 | | - count: 1 |
31 | | - path: src/TestMailer.php |
32 | | - |
33 | | - - |
34 | | - message: "#^Cannot call method getBodyAsString\\(\\) on Symfony\\\\Component\\\\Mime\\\\Header\\\\HeaderInterface\\|null\\.$#" |
| 22 | + message: '#^Call to function method_exists\(\) with Symfony\\Component\\Mime\\Email and ''addPart'' will always evaluate to true\.$#' |
| 23 | + identifier: function.alreadyNarrowedType |
35 | 24 | count: 1 |
36 | | - path: tests/Fixture/CustomTestEmail.php |
37 | | - |
38 | | - - |
39 | | - message: "#^Call to method add\\(\\) on an unknown class Symfony\\\\Component\\\\Routing\\\\RouteCollectionBuilder\\.$#" |
40 | | - count: 2 |
41 | | - path: tests/Fixture/Kernel.php |
42 | | - |
43 | | - - |
44 | | - message: "#^Class Symfony\\\\Component\\\\Routing\\\\RouteCollectionBuilder not found\\.$#" |
45 | | - count: 1 |
46 | | - path: tests/Fixture/Kernel.php |
| 25 | + path: src/SentEmails.php |
47 | 26 |
|
48 | 27 | - |
49 | | - message: "#^Parameter \\$routes of method Zenstruck\\\\Mailer\\\\Test\\\\Tests\\\\Fixture\\\\Kernel\\:\\:configureRoutes\\(\\) has invalid type Symfony\\\\Component\\\\Routing\\\\RouteCollectionBuilder\\.$#" |
| 28 | + message: '#^Method Zenstruck\\Mailer\\Test\\SentEmails\:\:first\(\) should return T of Zenstruck\\Mailer\\Test\\TestEmail but returns Zenstruck\\Mailer\\Test\\TestEmail\.$#' |
| 29 | + identifier: return.type |
50 | 30 | count: 1 |
51 | | - path: tests/Fixture/Kernel.php |
52 | | - |
53 | | - - |
54 | | - message: "#^Access to an undefined static property Zenstruck\\\\Mailer\\\\Test\\\\Tests\\\\InteractsWithMailerTest\\:\\:\\$container\\.$#" |
55 | | - count: 2 |
56 | | - path: tests/InteractsWithMailerTest.php |
| 31 | + path: src/SentEmails.php |
57 | 32 |
|
58 | 33 | - |
59 | | - message: "#^Parameter \\#1 \\$class of method Zenstruck\\\\Mailer\\\\Test\\\\SentEmails\\:\\:all\\(\\) expects class\\-string\\<Zenstruck\\\\Mailer\\\\Test\\\\TestEmail\\>, string given\\.$#" |
| 34 | + message: '#^Method Zenstruck\\Mailer\\Test\\SentEmails\:\:last\(\) should return T of Zenstruck\\Mailer\\Test\\TestEmail but returns Zenstruck\\Mailer\\Test\\TestEmail\.$#' |
| 35 | + identifier: return.type |
60 | 36 | count: 1 |
61 | | - path: tests/InteractsWithMailerTest.php |
| 37 | + path: src/SentEmails.php |
62 | 38 |
|
63 | 39 | - |
64 | | - message: "#^Access to an undefined static property Zenstruck\\\\Mailer\\\\Test\\\\Tests\\\\NonInteractsWithMailerTest\\:\\:\\$container\\.$#" |
65 | | - count: 1 |
66 | | - path: tests/NonInteractsWithMailerTest.php |
| 40 | + message: '#^Parameter \#1 \$filter of method Zenstruck\\Mailer\\Test\\SentEmails\:\:where\(\) expects callable\(Symfony\\Component\\Mime\\Email\|Zenstruck\\Mailer\\Test\\TestEmail\)\: bool, Closure\(Symfony\\Component\\Mime\\Email\)\: bool given\.$#' |
| 41 | + identifier: argument.type |
| 42 | + count: 7 |
| 43 | + path: src/SentEmails.php |
67 | 44 |
|
68 | 45 | - |
69 | | - message: "#^Access to an undefined static property Zenstruck\\\\Mailer\\\\Test\\\\Tests\\\\NonKernelTestCaseTest\\:\\:\\$booted\\.$#" |
| 46 | + message: '#^Parameter \#1 \$filter of method Zenstruck\\Mailer\\Test\\SentEmails\:\:where\(\) expects callable\(Symfony\\Component\\Mime\\Email\|Zenstruck\\Mailer\\Test\\TestEmail\)\: bool, Closure\(Zenstruck\\Mailer\\Test\\TestEmail\)\: bool given\.$#' |
| 47 | + identifier: argument.type |
70 | 48 | count: 1 |
71 | | - path: tests/NonKernelTestCaseTest.php |
| 49 | + path: src/SentEmails.php |
72 | 50 |
|
73 | 51 | - |
74 | | - message: "#^Access to an undefined static property Zenstruck\\\\Mailer\\\\Test\\\\Tests\\\\NonKernelTestCaseTest\\:\\:\\$container\\.$#" |
| 52 | + message: '#^Call to function is_a\(\) with arguments class\-string\<T of Zenstruck\\Mailer\\Test\\TestEmail\>, ''Zenstruck\\\\Mailer\\\\Test\\\\TestEmail'' and true will always evaluate to true\.$#' |
| 53 | + identifier: function.alreadyNarrowedType |
75 | 54 | count: 1 |
76 | | - path: tests/NonKernelTestCaseTest.php |
| 55 | + path: src/TestEmail.php |
77 | 56 |
|
78 | 57 | - |
79 | | - message: "#^Call to an undefined static method Zenstruck\\\\Mailer\\\\Test\\\\Tests\\\\NonKernelTestCaseTest\\:\\:getContainer\\(\\)\\.$#" |
| 58 | + message: '#^Method Zenstruck\\Mailer\\Test\\TestEmail\:\:as\(\) should return T of Zenstruck\\Mailer\\Test\\TestEmail but returns \$this\(Zenstruck\\Mailer\\Test\\TestEmail\)\.$#' |
| 59 | + identifier: return.type |
80 | 60 | count: 1 |
81 | | - path: tests/NonKernelTestCaseTest.php |
| 61 | + path: src/TestEmail.php |
82 | 62 |
|
83 | 63 | - |
84 | | - message: "#^Call to function method_exists\\(\\) with 'Zenstruck\\\\\\\\Mailer\\\\\\\\Test\\\\\\\\Tests\\\\\\\\NonKernelTestCaseTest' and 'getContainer' will always evaluate to false\\.$#" |
| 64 | + message: '#^Parameter \#1 \$events of static method Zenstruck\\Mailer\\Test\\SentEmails\:\:fromEvents\(\) expects Symfony\\Component\\Mailer\\Event\\MessageEvents, Symfony\\Component\\Mailer\\Event\\MessageEvents\|null given\.$#' |
| 65 | + identifier: argument.type |
85 | 66 | count: 1 |
86 | | - path: tests/NonKernelTestCaseTest.php |
| 67 | + path: src/TestMailer.php |
87 | 68 |
|
0 commit comments