We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 537685d + bfa4583 commit 9dc4c95Copy full SHA for 9dc4c95
setup/src/Magento/Setup/Console/Command/DiCompileCommand.php
@@ -227,6 +227,7 @@ private function getExcludedModulePaths(array $modulePaths)
227
228
$excludedModulePaths = [
229
'#^(?:' . join('|', $basePathsRegExps) . ')/Test#',
230
+ '#^(?:' . join('|', $basePathsRegExps) . ')/tests#',
231
];
232
return $excludedModulePaths;
233
}
@@ -241,6 +242,7 @@ private function getExcludedLibraryPaths(array $libraryPaths)
241
242
{
243
$excludedLibraryPaths = [
244
'#^(?:' . join('|', $libraryPaths) . ')/([\\w]+/)?Test#',
245
+ '#^(?:' . join('|', $libraryPaths) . ')/([\\w]+/)?tests#',
246
247
return $excludedLibraryPaths;
248
0 commit comments