From eedeeb06c4fc02c0d28bf1aab3a1622666a52de2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 1 Sep 2023 10:11:30 +0200 Subject: [PATCH] relax test for 8.3 --- tests/comparison_root/003_php8.phpt | 2 +- tests/comparison_root/004_php8.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/comparison_root/003_php8.phpt b/tests/comparison_root/003_php8.phpt index 8f814df..1539aac 100644 --- a/tests/comparison_root/003_php8.phpt +++ b/tests/comparison_root/003_php8.phpt @@ -14,7 +14,7 @@ $result = $jsonPath->find($data, "$"); var_dump($result); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, bool given in %s003_php8.php:%d +Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, %s given in %s003_php8.php:%d Stack trace: %s %s diff --git a/tests/comparison_root/004_php8.phpt b/tests/comparison_root/004_php8.phpt index 4fd994f..69275b9 100644 --- a/tests/comparison_root/004_php8.phpt +++ b/tests/comparison_root/004_php8.phpt @@ -14,7 +14,7 @@ $result = $jsonPath->find($data, "$"); var_dump($result); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, bool given in %s004_php8.php:%d +Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, %s given in %s004_php8.php:%d Stack trace: %s %s