wiki.techinc.nl/tests/phpunit/includes/libs
Daimona Eaytoy 535d7abf59 phpunit: Mass-replace setMethods with onlyMethods and adjust
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
2021-04-16 20:15:00 +02:00
..
filebackend/fsfile TempFSFileIntegrationTest: put use statement at the top of the class 2021-03-14 06:01:45 +00:00
mime JPEG2000 MIME fixes 2021-03-15 21:43:24 +01:00
objectcache phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
serialization Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
GenericArrayObjectTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00