Flow hooks into ContribsPager, causing formatRow() to be called with FormatterRow objects instead of stdClass objects. formatRow() is expected to silently decline to format such objects, leaving formatting up to a subsequent hook. Instead of calling newRevisionFromRow with all warnings suppressed and all exceptions caught, provide isRevisionRow() which determines whether the row is valid. Thus, unexpected exceptions will be visible and the code does not depend on details of how newRevisionFromRow() validates its arguments. Bug: T288563 Change-Id: Id0316886d770cd905897d515b3eb658a5875bd80 |
||
|---|---|---|
| .. | ||
| ContributionsLookupTest.php | ||
| MutableRevisionRecordTest.php | ||
| RenderedRevisionTest.php | ||
| RevisionArchiveRecordTest.php | ||
| RevisionQueryInfoTest.php | ||
| RevisionRendererTest.php | ||
| RevisionStoreDbTest.php | ||
| RevisionStoreRecordTest.php | ||
| RevisionStoreTest.php | ||
| SlotRecordTest.php | ||