mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
a0c346bf63
Summary: With some frequency, code wants to assert that some "$o->m()" returns a list of objects of type X, possibly with unique values for some "getKey()"-style method result. Existing checks via `PhutilTypeMap` and `assert_instances_of()` aren't quite powerful enough to do this while producing an easily understandable error state. We want to know that the error arose from a call to "$o->m()" in particular. Test Plan: Currently used elsewhere, in Piledriver code. Differential Revision: https://secure.phabricator.com/D21293 |
||
---|---|---|
.. | ||
__tests__ | ||
AbstractDirectedGraph.php | ||
CaseInsensitiveArray.php | ||
PhutilArray.php | ||
PhutilArrayCheck.php | ||
PhutilArrayWithDefaultValue.php | ||
PhutilBufferedIterator.php | ||
PhutilCallbackFilterIterator.php | ||
PhutilChunkedIterator.php | ||
PhutilCowsay.php | ||
PhutilDirectedScalarGraph.php | ||
PhutilEditDistanceMatrix.php | ||
PhutilExampleBufferedIterator.php | ||
PhutilExecutionEnvironment.php | ||
PhutilHashingIterator.php | ||
PhutilLunarPhase.php | ||
PhutilProxyIterator.php | ||
PhutilRope.php | ||
PhutilSortVector.php | ||
PhutilStreamIterator.php | ||
PhutilSystem.php | ||
PhutilUTF8StringTruncator.php | ||
utf8.php | ||
utils.php | ||
viewutils.php |