Commit 8da0cc1c authored by Simon Welsh's avatar Simon Welsh

Update to current PHPUnit master state

parent 7e2cc2ca
Pipeline #141 passed with stages
in 1 minute and 26 seconds
......@@ -3,6 +3,8 @@
## 5.5.0
* Updated to match PHPUnit 5.5
* Added:
+ `PHPUnit_Framework_TestCase::createPartialMock`
* Renamed:
+ `phpunit\framework\TestCase` to `PHPUnit\Framework\TestCase`
......
......@@ -117,6 +117,10 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert
protected function createMock<T>(
classname<T> $originalClassName,
) /*: PHPUnit_Framework_MockObject_MockObject*/;
protected function createPartialMock<T>(
classname<T> $originalClassName,
array $methods,
) /*: PHPUnit_Framework_MockObject_MockObject*/;
<<__Deprecated('Use createMock() or getMockBuilder() instead')>>
protected function getMock<T>(
classname<T> $originalClassName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment