In preparation for the underlying library changing, generalize the tests for this code so that test changes are kept to a minimum in the actual commit. Rather than test the upstream directly, move our custom test cases from JsMinPlusTest to ResourceLoader/ModuleTest. Fix benchmarkJSMinPlus.php to not emit warnings on PHP 8.2 due to use of dynamic property creation: > PHP Deprecated: Creation of dynamic property JSNode::$readOnly > is deprecated in /mediawiki/includes/libs/jsminplus.php:1728 Bug: T75714 Change-Id: I0515be8229f51de48c1f0c92f09e2d827e1b1add |
||
|---|---|---|
| .. | ||
| templates | ||
| ClientHtmlTest.php | ||
| ContextTest.php | ||
| DerivativeContextTest.php | ||
| FileModuleTest.php | ||
| ImageModuleTest.php | ||
| LessVarFileModuleTest.php | ||
| MessageBlobStoreTest.php | ||
| ModuleTest.php | ||
| OOUIImageModuleTest.php | ||
| ResourceLoaderTest.php | ||
| SkinModuleTest.php | ||
| StartUpModuleTest.php | ||
| UserOptionsModuleTest.php | ||
| WikiModuleTest.php | ||