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
|
||
|---|---|---|
| .. | ||
| ContentHandlerFactoryTest.php | ||
| FallbackContentHandlerTest.php | ||
| FileContentHandlerTest.php | ||
| JsonContentHandlerTest.php | ||
| JsonContentTest.php | ||
| TextContentHandlerTest.php | ||
| WikitextContentHandlerTest.php | ||