Skip to content

Commit 0e23c12

Browse files
committed
#657 s/>/>= when checking for current PHP runtime in tests
1 parent 7552edc commit 0e23c12

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/ProxyManagerTest/Functional/MultipleProxyGenerationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function getTestedClasses(): array
132132
[new VoidMethodTypeHintedClass()],
133133
];
134134

135-
if (PHP_VERSION_ID > 80000) {
135+
if (PHP_VERSION_ID >= 80000) {
136136
$objects[] = [new ClassWithPhp80TypedMethods()];
137137
}
138138

tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getTestedImplementations(): array
104104
[ObjectMethodTypeHintedInterface::class],
105105
];
106106

107-
if (PHP_VERSION_ID > 80000) {
107+
if (PHP_VERSION_ID >= 80000) {
108108
$implementations[] = [ClassWithPhp80TypedMethods::class];
109109
}
110110

tests/ProxyManagerTest/ProxyGenerator/NullObjectGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function getTestedImplementations(): array
122122
[BaseInterface::class],
123123
];
124124

125-
if (PHP_VERSION_ID > 80000) {
125+
if (PHP_VERSION_ID >= 80000) {
126126
$implementations[] = [ClassWithPhp80TypedMethods::class];
127127
}
128128

tests/ProxyManagerTest/ProxyGenerator/RemoteObjectGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function getTestedImplementations(): array
9393
[BaseInterface::class],
9494
];
9595

96-
if (PHP_VERSION_ID > 80000) {
96+
if (PHP_VERSION_ID >= 80000) {
9797
$implementations[] = [ClassWithPhp80TypedMethods::class];
9898
}
9999

0 commit comments

Comments
 (0)