It's just a nice, lesser known convenience function. Exists since PHP 5.5. The changes to SerializationTestTrait ended being a little different. Original I tried to use array_column() as well. But it drops the array keys, which is relevant here. We found that calling the two methods getTestInstances(AndAssertions) multiple times is quite expensive and should be avoided. I changed the code slightly so it's much less likely this is done unintentionally. Change-Id: Ifaba3c370871a7c97b4d81ec21ff6ec134433fc0 |
||
|---|---|---|
| .. | ||
| content | ||
| filebackend | ||
| filerepo | ||
| json | ||
| languages | ||
| media | ||
| permissions | ||
| poolcounter | ||
| search | ||
| session | ||
| DummyServicesTrait.php | ||
| GhostFieldTestClass.php | ||
| MockChangesListFilter.php | ||
| MockChangesListFilterGroup.php | ||
| MockHttpTrait.php | ||
| MockMessageLocalizer.php | ||
| MockServiceDependenciesTrait.php | ||
| MockTitleTrait.php | ||
| NullGuzzleClient.php | ||
| NullHttpRequestFactory.php | ||
| NullMultiHttpClient.php | ||
| TestLocalisationCache.php | ||
| TestLogger.php | ||