Also: * Add more documentation and phan annotations * Avoid code duplication in resetExpectations() * Make setExpectation() a bit more readable * Add more type hints to methods * Move non-static field initialization to __construct() * Convert two fields into simple class constants * Mark TransactionProfiler with @internal * Use reportExpectationViolated() in more cases in order to avoid similar logging code * Make all transactionWritingOut() and recordQueryCompletion() arguments mandatory since the only callers already gave them Bug: T269789 Change-Id: I5d106ac5c95d0ea94c4f6bdee90ca51f8f7ddbad |
||
|---|---|---|
| .. | ||
| composer | ||
| eventrelayer | ||
| filebackend | ||
| http | ||
| iterators | ||
| lockmanager | ||
| Message | ||
| mime | ||
| objectcache | ||
| ParamValidator | ||
| rdbms | ||
| redis | ||
| stats | ||
| uuid | ||
| virtualrest | ||
| APACHE-LICENSE-2.0.txt | ||
| ArrayUtils.php | ||
| Cookie.php | ||
| CookieJar.php | ||
| CryptHKDF.php | ||
| Deflate.php | ||
| DnsSrvDiscoverer.php | ||
| ExplodeIterator.php | ||
| GenericArrayObject.php | ||
| GhostFieldAccessTrait.php | ||
| HashRing.php | ||
| HtmlArmor.php | ||
| HttpStatus.php | ||
| jsminplus.php | ||
| MapCacheLRU.php | ||
| MappedIterator.php | ||
| MemoizedCallable.php | ||
| MessageSpecifier.php | ||
| MWCryptHash.php | ||
| NonSerializableTrait.php | ||
| README | ||
| ReplacementArray.php | ||
| ReverseArrayIterator.php | ||
| RiffExtractor.php | ||
| StaticArrayWriter.php | ||
| StatusValue.php | ||
| StringUtils.php | ||
| Timing.php | ||
| UDPTransport.php | ||
| Xhprof.php | ||
| XhprofData.php | ||
The classes in this directory ./includes/libs are considered standalone from the remainder of the MediaWiki codebase. They do not call on any other portions of MediaWiki code, and can be used in other projects without dependency issues.