Dumping many kinds of object with var_dump() leads to dumping the whole address space, because a chain of references leads to MediaWikiServices. So, introduce a trait which replaces the problematic properties with a placeholder, if their doc comment contains @noVarDump. Bug: T277618 Change-Id: Ifa685c26fbc5317d0359544289ec3f433ec4fedf |
||
|---|---|---|
| .. | ||
| DebugInfoTraitTest.php | ||
| PlaceholderTest.php | ||