diff --git a/tests/ProxyManagerTest/Functional/MultipleProxyGenerationTest.php b/tests/ProxyManagerTest/Functional/MultipleProxyGenerationTest.php index 909786903..437e0bfd6 100644 --- a/tests/ProxyManagerTest/Functional/MultipleProxyGenerationTest.php +++ b/tests/ProxyManagerTest/Functional/MultipleProxyGenerationTest.php @@ -132,7 +132,7 @@ public function getTestedClasses(): array [new VoidMethodTypeHintedClass()], ]; - if (PHP_VERSION_ID > 80000) { + if (PHP_VERSION_ID >= 80000) { $objects[] = [new ClassWithPhp80TypedMethods()]; } diff --git a/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php b/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php index 8b8cd3824..cfe71f8ea 100644 --- a/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php +++ b/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php @@ -104,7 +104,7 @@ public function getTestedImplementations(): array [ObjectMethodTypeHintedInterface::class], ]; - if (PHP_VERSION_ID > 80000) { + if (PHP_VERSION_ID >= 80000) { $implementations[] = [ClassWithPhp80TypedMethods::class]; } diff --git a/tests/ProxyManagerTest/ProxyGenerator/NullObjectGeneratorTest.php b/tests/ProxyManagerTest/ProxyGenerator/NullObjectGeneratorTest.php index 5c4246ccc..d7cdd1675 100644 --- a/tests/ProxyManagerTest/ProxyGenerator/NullObjectGeneratorTest.php +++ b/tests/ProxyManagerTest/ProxyGenerator/NullObjectGeneratorTest.php @@ -122,7 +122,7 @@ public function getTestedImplementations(): array [BaseInterface::class], ]; - if (PHP_VERSION_ID > 80000) { + if (PHP_VERSION_ID >= 80000) { $implementations[] = [ClassWithPhp80TypedMethods::class]; } diff --git a/tests/ProxyManagerTest/ProxyGenerator/RemoteObjectGeneratorTest.php b/tests/ProxyManagerTest/ProxyGenerator/RemoteObjectGeneratorTest.php index 9c58fe6f4..85d615392 100644 --- a/tests/ProxyManagerTest/ProxyGenerator/RemoteObjectGeneratorTest.php +++ b/tests/ProxyManagerTest/ProxyGenerator/RemoteObjectGeneratorTest.php @@ -93,7 +93,7 @@ public function getTestedImplementations(): array [BaseInterface::class], ]; - if (PHP_VERSION_ID > 80000) { + if (PHP_VERSION_ID >= 80000) { $implementations[] = [ClassWithPhp80TypedMethods::class]; }