wiki.techinc.nl/tests/phpunit/includes/libs
Aaron Schulz 8f6d05e62c objectcache: add watchErrors() to BagOStuff/WANObjectCache
The new style of checking for the last error during a section of
calls is more robust since it allows nesting of callers. Typically,
an external caller will want to watch a section of code that will
involve zero or more internally watched sections. Errors that are
seen internally (leading to a failing response) should also be
visible externally.

Replace internal BagOStuff clearLastError() calls.

Replace WANObjectCache clearLastError() calls. Such a class should not
clear the error codes since the class is effectively "internal". Callers
that are more meaningfully "external" might want to check the errors.

Cleanup "last" error handling for proxy backends.

Change-Id: I281817a85602967c0ec2bdd23a5d8be101680b64
2021-11-10 00:38:27 +00:00
..
filebackend/fsfile TempFSFileIntegrationTest: put use statement at the top of the class 2021-03-14 06:01:45 +00:00
objectcache objectcache: add watchErrors() to BagOStuff/WANObjectCache 2021-11-10 00:38:27 +00:00
serialization Hard-deprecate all public property access on CacheTime and ParserOutput. 2021-10-13 13:27:16 -04:00
GenericArrayObjectTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00