Skip to content

Commit 0f00bab

Browse files
committed
misc
1 parent e3c5f6f commit 0f00bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Templating/TemplateDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private function resolveProjectTestsNamespace(): string
5353

5454
$autoloadDevPsr4 = $projectComposerJson['autoload-dev']['psr-4'] ?? [];
5555
foreach ($autoloadDevPsr4 as $namespace => $directory) {
56-
if ($directory === 'tests') {
56+
if (in_array($directory, ['tests', 'tests/'], true)) {
5757
return rtrim($namespace, '\\');
5858
}
5959
}

0 commit comments

Comments
 (0)