Ended up using
grep -Prl '\->setMethods\(' . | xargs sed -r -i 's/setMethods\(/onlyMethods\(/g'
special-casing setMethods( null ) -> onlyMethods( [] )
and then manual fix of failing test (from PS2 onwards).
Bug: T278010
Change-Id: I012dca7ae774bb430c1c44d50991ba0b633353f1
|
||
|---|---|---|
| .. | ||
| BitmapMetadataHandlerTest.php | ||
| BitmapScalingTest.php | ||
| DjVuTest.php | ||
| ExifBitmapTest.php | ||
| ExifRotationTest.php | ||
| ExifTest.php | ||
| FakeDimensionFile.php | ||
| FormatMetadataTest.php | ||
| GIFHandlerTest.php | ||
| JpegMetadataExtractorTest.php | ||
| JpegPixelFormatTest.php | ||
| JpegTest.php | ||
| MediaHandlerIntegrationTest.php | ||
| MediaWikiMediaTestCase.php | ||
| PNGHandlerTest.php | ||
| PNGMetadataExtractorTest.php | ||
| SvgHandlerTest.php | ||
| SVGReaderTest.php | ||
| TiffTest.php | ||
| WebPHandlerTest.php | ||
| XCFHandlerTest.php | ||