From a42f46692c6ed30c13b5311ccfc46c91aab623a9 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Tue, 11 Nov 2025 17:37:47 -0700 Subject: [PATCH] Ignore null array offset warnings in explicit null tests Ignore warnings while running tests involving explicit null handling. This avoids false test failures triggered by PHP 8.5 deprecation warnings. Bug: #97 --- tests/bug_64019.phpt | 3 +++ tests/yaml_parse_spec_null.phpt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/bug_64019.phpt b/tests/bug_64019.phpt index 7d1dd40..ba33d49 100644 --- a/tests/bug_64019.phpt +++ b/tests/bug_64019.phpt @@ -2,6 +2,9 @@ Test PECL bug #64019 --SKIPIF-- +--INI-- +; Ignore Deprecated: Using null as an array offset is deprecated... +error_reporting = E_ALL & ~E_DEPRECATED --FILE-- +--INI-- +; Ignore Deprecated: Using null as an array offset is deprecated... +error_reporting = E_ALL & ~E_DEPRECATED --FILE--