@@ -24,7 +24,7 @@ public function testSerialize()
24
24
'b ' => function () {},
25
25
];
26
26
27
- $ expected = ['a ' => \extension_loaded ('igbinary ' ) && \PHP_VERSION_ID !== 70400 ? igbinary_serialize (123 ) : serialize (123 )];
27
+ $ expected = ['a ' => \extension_loaded ('igbinary ' ) && \PHP_VERSION_ID < 70400 ? igbinary_serialize (123 ) : serialize (123 )];
28
28
$ this ->assertSame ($ expected , $ marshaller ->marshall ($ values , $ failed ));
29
29
$ this ->assertSame (['b ' ], $ failed );
30
30
}
@@ -43,8 +43,8 @@ public function testNativeUnserialize()
43
43
*/
44
44
public function testIgbinaryUnserialize ()
45
45
{
46
- if (\PHP_VERSION_ID == = 70400 ) {
47
- $ this ->markTestSkipped ('igbinary is not compatible with PHP 7.4.0. ' );
46
+ if (\PHP_VERSION_ID > = 70400 ) {
47
+ $ this ->markTestSkipped ('igbinary is not compatible with PHP 7.4. ' );
48
48
}
49
49
50
50
$ marshaller = new DefaultMarshaller ();
@@ -67,8 +67,8 @@ public function testNativeUnserializeNotFoundClass()
67
67
*/
68
68
public function testIgbinaryUnserializeNotFoundClass ()
69
69
{
70
- if (\PHP_VERSION_ID == = 70400 ) {
71
- $ this ->markTestSkipped ('igbinary is not compatible with PHP 7.4.0. ' );
70
+ if (\PHP_VERSION_ID > = 70400 ) {
71
+ $ this ->markTestSkipped ('igbinary is not compatible with PHP 7.4. ' );
72
72
}
73
73
74
74
$ this ->expectException ('DomainException ' );
@@ -95,8 +95,8 @@ public function testNativeUnserializeInvalid()
95
95
*/
96
96
public function testIgbinaryUnserializeInvalid ()
97
97
{
98
- if (\PHP_VERSION_ID == = 70400 ) {
99
- $ this ->markTestSkipped ('igbinary is not compatible with PHP 7.4.0 ' );
98
+ if (\PHP_VERSION_ID > = 70400 ) {
99
+ $ this ->markTestSkipped ('igbinary is not compatible with PHP 7.4. ' );
100
100
}
101
101
102
102
$ this ->expectException ('DomainException ' );
0 commit comments