@@ -1040,7 +1040,7 @@ public static function dataCondition(): iterable
10401040 '$array ' => 'non-empty-array ' ,
10411041 ],
10421042 [
1043- '$array ' => '~hasOffset( \'bar \')|hasOffset( \'foo \') ' ,
1043+ '$array ' => PHP_VERSION_ID < 80000 ? '~hasOffset( \'bar \')|hasOffset( \'foo \') ' : " array<mixed~'foo', mixed> & ~hasOffset('bar')|hasOffset('foo') " ,
10441044 ],
10451045 ],
10461046 [
@@ -1055,7 +1055,7 @@ public static function dataCondition(): iterable
10551055 ]),
10561056 )),
10571057 [
1058- '$array ' => '~hasOffset( \'bar \')|hasOffset( \'foo \') ' ,
1058+ '$array ' => PHP_VERSION_ID < 80000 ? '~hasOffset( \'bar \')|hasOffset( \'foo \') ' : " array<mixed~'foo', mixed> & ~hasOffset('bar')|hasOffset('foo') " ,
10591059 ],
10601060 [
10611061 '$array ' => 'non-empty-array ' ,
@@ -1070,7 +1070,7 @@ public static function dataCondition(): iterable
10701070 '$array ' => 'non-empty-array&hasOffset( \'foo \') ' ,
10711071 ],
10721072 [
1073- '$array ' => '~hasOffset( \'foo \') ' ,
1073+ '$array ' => PHP_VERSION_ID < 80000 ? '~hasOffset( \'foo \') ' : " array<mixed~'foo', mixed> & ~hasOffset('foo') " ,
10741074 ],
10751075 ],
10761076 [
@@ -1088,7 +1088,7 @@ public static function dataCondition(): iterable
10881088 '$array ' => 'non-empty-array ' ,
10891089 ],
10901090 [
1091- '$array ' => '~hasOffset( \'bar \')|hasOffset( \'foo \') ' ,
1091+ '$array ' => PHP_VERSION_ID < 80000 ? '~hasOffset( \'bar \')|hasOffset( \'foo \') ' : " array<mixed~'foo', mixed> & ~hasOffset('bar')|hasOffset('foo') " ,
10921092 ],
10931093 ],
10941094 [
@@ -1103,7 +1103,7 @@ public static function dataCondition(): iterable
11031103 ]),
11041104 )),
11051105 [
1106- '$array ' => ' ~hasOffset( \ 'bar \ ')|hasOffset( \ 'foo \' ) ' ,
1106+ '$array ' => " array<mixed~'foo', mixed> & ~hasOffset('bar')|hasOffset('foo') " ,
11071107 ],
11081108 [
11091109 '$array ' => 'non-empty-array ' ,
@@ -1118,7 +1118,7 @@ public static function dataCondition(): iterable
11181118 '$array ' => 'non-empty-array&hasOffset( \'foo \') ' ,
11191119 ],
11201120 [
1121- '$array ' => ' ~hasOffset( \ 'foo \' ) ' ,
1121+ '$array ' => " array<mixed~'foo', mixed> & ~hasOffset('foo') " ,
11221122 ],
11231123 ],
11241124 [
0 commit comments