File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ public function execute(): void
95
95
}
96
96
if (count ($ this ->error ) > 0 ) {
97
97
foreach ($ this ->error as $ error ) {
98
- $ tests = [];
98
+ // $tests = [];
99
99
$ this ->command ->title ("\n{$ error ['message ' ]}" );
100
100
foreach ($ error ['error ' ] as $ row ) {
101
- $ tests [] = $ row ['method ' ];
101
+ // $tests[] = $row['method'];
102
102
$ this ->command ->error ("Test-value {$ row ['readableValue ' ]}" );
103
103
$ this ->command ->error ("{$ row ['message ' ]}\n" );
104
104
}
@@ -148,17 +148,13 @@ private function findFiles($dir): array
148
148
{
149
149
$ files = [];
150
150
$ iterator = new RecursiveIteratorIterator (new RecursiveDirectoryIterator ($ dir ));
151
-
152
- $ key = 0 ;
153
151
foreach ($ iterator as $ file ) {
154
152
if (fnmatch (static ::PATTERN , $ file ->getFilename ()) &&
155
153
(isset ($ this ->args ['path ' ]) || !str_contains ($ file ->getPathname (), DIRECTORY_SEPARATOR . "vendor " . DIRECTORY_SEPARATOR ))) {
156
-
157
154
if (!$ this ->findExcluded ($ this ->exclude (), $ dir , $ file ->getPathname ())) {
158
155
$ files [] = $ file ->getPathname ();
159
156
}
160
157
}
161
-
162
158
}
163
159
return $ files ;
164
160
}
You can’t perform that action at this time.
0 commit comments