Skip to content

Commit 3b4a833

Browse files
Merge branch '3.4' into 4.4
* 3.4: [3.4] Fix support for PHP8 union types [PhpUnitBridge] Streamline ansi/no-ansi of composer according to phpunit --colors option [3.4] Small update in our internal terminology [Cache] fix compat with DBAL v3 [VarDumper] Fix CliDumper coloration [DI] tighten detection of local dirs to prevent false positives [FrameworkBundle] preserve dots in query-string when redirecting bumped Symfony version to 3.4.43 updated VERSION for 3.4.42 update CONTRIBUTORS for 3.4.42 updated CHANGELOG for 3.4.42
2 parents 1400e5b + 8ebcd83 commit 3b4a833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/AddAnnotatedClassesToCachePass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ private function patternsToRegexps(array $patterns): array
127127

128128
private function matchAnyRegexps(string $class, array $regexps): bool
129129
{
130-
$blacklisted = false !== strpos($class, 'Test');
130+
$isTest = false !== strpos($class, 'Test');
131131

132132
foreach ($regexps as $regex) {
133-
if ($blacklisted && false === strpos($regex, 'Test')) {
133+
if ($isTest && false === strpos($regex, 'Test')) {
134134
continue;
135135
}
136136

0 commit comments

Comments
 (0)