mediawiki-extensions-Gadgets/tests/phpunit
Siddharth VP 087ab65e24 Avoid caching serialized PHP object
Cache array representation of the Gadget object instead of the
php-serialized representation. Gadget::toArray() is an inverse of the
constructor which already constructs an object from an array of config
values.

Also, the static Gadget::newFromDefinitionContent method which accesses
the service container is replaced with the dependency-less
serializeDefinition() method.

Bug: T303194
Change-Id: Ieae6706537143d766777b2299c31726e2a1dfd29
2023-06-22 06:01:28 +00:00
..
integration Use HookHandlers and implement hook interfaces 2022-04-17 12:00:24 +00:00
unit Avoid caching serialized PHP object 2023-06-22 06:01:28 +00:00
GadgetTestUtils.php Namespace extension 2022-03-05 17:03:35 +00:00