pecl-jsmin
pecl-jsmin copied to clipboard
Improve tests for PHP 8
based on https://github.com/sqmk/pecl-jsmin/pull/59
-
tests/99-compress-jquery.phpt
fails because package from PECL has no jquery shipped, and that's valid as the commited version is outdated -
tests/missing-argument8.phpt
is a copy for PHP 8+ as missing argument is required (throws fatal)
It should also cover current PHP 8.1 beta3 https://github.com/sqmk/pecl-jsmin/issues/58
on PHP 8.3 one test started to fail on 32-bit arches
TEST 2/13 [tests/call-multiple-times.phpt]
========DIFF========
var test=1+1;alert('test');
002- test();
002+ test();F�
========DONE========
FAIL Call jsmin multiple times [tests/call-multiple-times.phpt]
on builders the same test failed for PHP 8.1 and 8.2 on aarch64 and x86_64