All 121 .phpt files carry a third --INI-- line:
error_reporting=E_ALL & ~E_DEPRECATED
It guards against a dependency deprecation being prepended to captured output (PHPUnit's .phpt runner forces display_errors=1, so one deprecation would fail every --EXPECT-- block). The offender was z-engine's development line declaring implicitly nullable parameters; the stable releases now required (~8.4.2 || ~8.5.0, #37) declare them ?Type.
Verified by forcing error_reporting=E_ALL over every test's own --INI-- block on PHP 8.4.19 with z-engine 8.4.2: 121/121 pass. The same check on PHP 8.5.9 / z-engine 8.5.0 should be repeated before the change lands.
Work: remove the line from all 121 files and update AGENTS.md/README.md wherever the three mandatory --INI-- lines are documented. Purely mechanical; no source change.
All 121
.phptfiles carry a third--INI--line:It guards against a dependency deprecation being prepended to captured output (PHPUnit's
.phptrunner forcesdisplay_errors=1, so one deprecation would fail every--EXPECT--block). The offender was z-engine's development line declaring implicitly nullable parameters; the stable releases now required (~8.4.2 || ~8.5.0, #37) declare them?Type.Verified by forcing
error_reporting=E_ALLover every test's own--INI--block on PHP 8.4.19 with z-engine 8.4.2: 121/121 pass. The same check on PHP 8.5.9 / z-engine 8.5.0 should be repeated before the change lands.Work: remove the line from all 121 files and update
AGENTS.md/README.mdwherever the three mandatory--INI--lines are documented. Purely mechanical; no source change.