We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9dade5 commit 2d11f60Copy full SHA for 2d11f60
src/Console/ListCustomLoggersCommand.php
@@ -180,6 +180,14 @@ protected function getOptimisedAutoloadClassMap(): array
180
unset($classMap[$className]); // Filter out any test framework results
181
continue;
182
}
183
+ if (strpos($filePath, '/Test/') !== false) {
184
+ unset($classMap[$className]); // Filter out any test framework results
185
+ continue;
186
+ }
187
+ if (strpos($className, '\\Test\\') !== false) {
188
189
190
191
$realPath = realpath($filePath);
192
if (!$realPath) {
193
unset($classMap[$className]); // Could not work out realpath
0 commit comments