Skip to content

Commit eee8ea1

Browse files
committed
ci: add tests for PHP 8.5
1 parent 3080319 commit eee8ea1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/DependencyInjection/Compiler/FactoryValidatorPassTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ protected function tearDown(): void
3333
{
3434
$reflection = new \ReflectionObject($this->compilerPass);
3535
$prop = $reflection->getProperty('factoryServiceIds');
36-
$prop->setAccessible(true);
36+
if (PHP_VERSION_ID < 80100) {
37+
$prop->setAccessible(true);
38+
}
3739
$prop->setValue(null, []);
3840
}
3941

0 commit comments

Comments
 (0)