Skip to content

Commit

Permalink
Adapt for #4799
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 14, 2022
1 parent 10ea91d commit e169850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestSuite.php
Expand Up @@ -389,7 +389,7 @@ public function addTestFile(string $filename): void
if (is_file($filename) && substr($filename, -5) === '.phpt') {
$this->addTest(new PhptTestCase($filename));

$this->declaredClasses = get_declared_classes();
$this->declaredClassesPointer = count(get_declared_classes());

return;
}
Expand Down

0 comments on commit e169850

Please sign in to comment.