Skip to content

Commit 7ff9cb6

Browse files
committed
test: php 8.5 对 BigInt 字符串无法直接转为 int
临时先跳过这个 test 方法
1 parent 9202d34 commit 7ff9cb6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/DecodeTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ public function testDecodeIntegerFakeString()
113113
*/
114114
public function testDecodeIntegerOverflow()
115115
{
116+
if (version_compare(phpversion(), '8.5.0', '>=')) {
117+
$this->markTestSkipped();
118+
}
119+
116120
$this->expectException(ParseException::class);
117121
$this->expectExceptionMessage('Invalid integer format or integer overflow');
118122

0 commit comments

Comments
 (0)