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
|
||
|---|---|---|
| .. | ||
| ApiFormatBaseTest.php | ||
| ApiFormatJsonTest.php | ||
| ApiFormatNoneTest.php | ||
| ApiFormatPhpTest.php | ||
| ApiFormatRawTest.php | ||
| ApiFormatTestBase.php | ||
| ApiFormatXmlTest.php | ||