We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c5f6f commit 0f00babCopy full SHA for 0f00bab
src/Templating/TemplateDecorator.php
@@ -53,7 +53,7 @@ private function resolveProjectTestsNamespace(): string
53
54
$autoloadDevPsr4 = $projectComposerJson['autoload-dev']['psr-4'] ?? [];
55
foreach ($autoloadDevPsr4 as $namespace => $directory) {
56
- if ($directory === 'tests') {
+ if (in_array($directory, ['tests', 'tests/'], true)) {
57
return rtrim($namespace, '\\');
58
}
59
0 commit comments