File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/PHPStan/Rules/Arrays Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -905,8 +905,8 @@ public function testInternalClassesWithOverloadedOffsetAccess(): void
905905
906906 public function testInternalClassesWithOverloadedOffsetAccess84 (): void
907907 {
908- if (version_compare ( PHP_VERSION , ' 8.4.0 ' , ' < ' ) ) {
909- $ this ->markTestSkipped ('Test requires PHP version 8.4 . ' );
908+ if (PHP_VERSION_ID < 80400 ) {
909+ $ this ->markTestSkipped ('Test requires PHP 8.1 . ' );
910910 }
911911 $ this ->analyse ([__DIR__ . '/data/internal-classes-overload-offset-access-php84.php ' ], []);
912912 }
@@ -918,8 +918,8 @@ public function testInternalClassesWithOverloadedOffsetAccessInvalid(): void
918918
919919 public function testInternalClassesWithOverloadedOffsetAccessInvalid84 (): void
920920 {
921- if (version_compare ( PHP_VERSION , ' 8.4.0 ' , ' < ' ) ) {
922- $ this ->markTestSkipped ('Test requires PHP version 8.4 . ' );
921+ if (PHP_VERSION_ID < 80400 ) {
922+ $ this ->markTestSkipped ('Test requires PHP 8.1 . ' );
923923 }
924924 $ this ->analyse ([__DIR__ . '/data/internal-classes-overload-offset-access-invalid-php84.php ' ], []);
925925 }
You can’t perform that action at this time.
0 commit comments