@@ -47,7 +47,10 @@ public function testPrintResult(): void
47
47
10 ,
48
48
0.123 ,
49
49
[],
50
- ['Unknown \\Thing ' => [new SymbolUsage ('/app/app/init.php ' , 1093 , SymbolKind::CLASSLIKE )]],
50
+ ['Unknown \\Thing ' => [
51
+ new SymbolUsage ('/app/app/init.php ' , 1091 , SymbolKind::CLASSLIKE ),
52
+ new SymbolUsage ('/app/app/init.php ' , 1093 , SymbolKind::CLASSLIKE ),
53
+ ]],
51
54
['Unknown \\function ' => [new SymbolUsage ('/app/app/foo.php ' , 51 , SymbolKind::FUNCTION )]],
52
55
[
53
56
'shadow/package ' => [
@@ -76,7 +79,7 @@ public function testPrintResult(): void
76
79
});
77
80
$ verboseOutput = $ this ->getFormatterNormalizedOutput (static function ($ formatter ) use ($ analysisResult ): void {
78
81
$ options = new CliOptions ();
79
- $ options ->verbose = true ;
82
+ $ options ->showAllUsages = true ;
80
83
$ formatter ->format ($ analysisResult , $ options , new Configuration ());
81
84
});
82
85
@@ -85,7 +88,7 @@ public function testPrintResult(): void
85
88
<testsuites>
86
89
<testsuite name="unknown classes" failures="1">
87
90
<testcase name="Unknown\Thing">
88
- <failure>app/init.php:1093 </failure>
91
+ <failure>app/init.php:1091 </failure>
89
92
</testcase>
90
93
</testsuite>
91
94
<testsuite name="unknown functions" failures="1">
@@ -120,6 +123,7 @@ public function testPrintResult(): void
120
123
<testsuites>
121
124
<testsuite name="unknown classes" failures="1">
122
125
<testcase name="Unknown\Thing">
126
+ <failure>app/init.php:1091</failure>
123
127
<failure>app/init.php:1093</failure>
124
128
</testcase>
125
129
</testsuite>
@@ -135,9 +139,11 @@ public function testPrintResult(): void
135
139
<testcase name="shadow/package">
136
140
<failure message="Forth\Provider">src/bootstrap.php:873</failure>
137
141
<failure message="Shadow\Comparator">src/Printer.php:25</failure>
138
- <failure message="Shadow\Utils">src/Utils.php:19
139
- src/Utils.php:22
140
- src/Application.php:128</failure>
142
+ <failure message="Shadow\Utils">src/Utils.php:19</failure>
143
+ <failure message="Shadow\Utils">src/Utils.php:22</failure>
144
+ <failure message="Shadow\Utils">src/Application.php:128</failure>
145
+ <failure message="Shadow\Utils">src/Controller.php:229</failure>
146
+ <failure message="Third\Parser">src/bootstrap.php:317</failure>
141
147
</testcase>
142
148
</testsuite>
143
149
<testsuite name="dev dependencies in production code" failures="1">
@@ -151,7 +157,7 @@ public function testPrintResult(): void
151
157
<testsuite name="unused dependencies" failures="1">
152
158
<testcase name="dead/package"></testcase>
153
159
</testsuite>
154
- <!-- showing only first 3 example failure usages -->
160
+ <!-- showing all failure usages -->
155
161
</testsuites>
156
162
OUT;
157
163
0 commit comments