Page MenuHomePhabricator

Drop devDependency on phpunit-mock-objects, which is abandoned and warns against use
Closed, ResolvedPublic

Description

The functionality was merged into PHPUnit 7.x.

Event Timeline

Jdforrester-WMF changed the task status from Open to Stalled.Feb 21 2019, 4:36 PM
Jdforrester-WMF triaged this task as Lowest priority.
Jdforrester-WMF created this task.

I was worried that this meant that we'd have to change all our tests to use some other mocking mechanism, but discussion at https://github.com/sebastianbergmann/phpunit-mock-objects/issues/425 suggests that the functionality was merged into PHPUnit in 7.x. So the functionality should still be there, just without needing to pull in this package.

I was worried that this meant that we'd have to change all our tests to use some other mocking mechanism, but discussion at https://github.com/sebastianbergmann/phpunit-mock-objects/issues/425 suggests that the functionality was merged into PHPUnit in 7.x. So the functionality should still be there, just without needing to pull in this package.

Yeah, sorry, I was just creating this as a structural task so when someone complains I can point them to it. :-)

MaxSem claimed this task.
MaxSem subscribed.

Gone after we upgraded to PHPUnit 7 in https://gerrit.wikimedia.org/r/552166.

  NODES
Note 1