Skip to content

Commit be7357e

Browse files
committed
fixup! note
1 parent 607ab3b commit be7357e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/PHPUnit100/Rector/Class_/ParentTestClassConstructorRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ private function shouldSkipClass(Class_ $class): bool
115115
$className = $this->getName($class);
116116

117117
// loaded automatically by PHPUnit
118-
if (str_ends_with($className, 'Test')) {
118+
if (str_ends_with((string) $className, 'Test')) {
119119
return true;
120120
}
121121

122-
return str_ends_with($className, 'TestCase');
122+
return str_ends_with((string) $className, 'TestCase');
123123
}
124124
}

0 commit comments

Comments
 (0)