We return an stdClass from cache->get(), but there's no enforcement of which keys are in it (id? created? expires? tags?), only $cached->data is in everything since code will immediately break without it. To be able to consistently chain cache tag implementations, we'd need to be able to know the tags of a cache item when it's retrieved, something that's not currently required or supported by cache backends.
We can leave $cached->data as a public property at the moment for bc, then remove it in a follow-up since that will touch a lot of code.
|FAILED: [[SimpleTest]]: [MySQL] Failed to run tests: PHP Fatal error encountered during run_tests.sh. See review log for details..|
|PASSED: [[SimpleTest]]: [MySQL] 42,122 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] 42,128 pass(es), 1 fail(s), and 0 exception(s).|
|FAILED: [[SimpleTest]]: [MySQL] Invalid patch format in 1748022-16-simpler_version.patch.|