Skip to content

Commit 8ebcd83

Browse files
Nyholmnicolas-grekas
authored andcommitted
[3.4] Small update in our internal terminology
1 parent 7cc7538 commit 8ebcd83

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
@@ -136,10 +136,10 @@ private function patternsToRegexps($patterns)
136136

137137
private function matchAnyRegexps($class, $regexps)
138138
{
139-
$blacklisted = false !== strpos($class, 'Test');
139+
$isTest = false !== strpos($class, 'Test');
140140

141141
foreach ($regexps as $regex) {
142-
if ($blacklisted && false === strpos($regex, 'Test')) {
142+
if ($isTest && false === strpos($regex, 'Test')) {
143143
continue;
144144
}
145145

0 commit comments

Comments
 (0)