* Split MWDebug::sendRawDeprecated() from MWDebug::deprecated(). The new function can be used to send arbitrary messages to the deprecation log, rather than being constrained by the fixed format of MWDebug::deprecated(). * Split formatCallerDescription() from sendMessage() to allow the caller of sendRawDeprecated() to do its own caller formatting. * Use the new function in MWLBFactory::logDeprecation() * In tests, replace the ugly implementation of hideDeprecated() with one that works by setting a list of regexes to filter. hideDeprecated() now filters deprecation warnings that are a string match to the supplied function. filterDeprecated() can be used to filter a regex, and is intended to be used to filter warnings sent via sendRawDeprecated(). The filter list is reset at the start of each test, instead of leaking across tests as before. Change-Id: I0d0df86db2e61cdd1769426bfa7bad4c2ae5e977 |
||
|---|---|---|
| .. | ||
| CloneDatabase.php | ||
| MWLBFactory.php | ||
| PatchFileLocation.php | ||