Skip to content

Commit 08d5580

Browse files
committed
update to php-mock-integration-0.4
1 parent 39a4f89 commit 08d5580

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

classes/DefaultArgumentRemover.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace phpmock\phpunit;
44

5-
use phpmock\MockFunctionHelper;
5+
use phpmock\generator\MockFunctionGenerator;
66

77
/**
88
* Removes default arguments from the invocation.
@@ -27,7 +27,7 @@ public function invoked(\PHPUnit_Framework_MockObject_Invocation $invocation)
2727
*/
2828
public function matches(\PHPUnit_Framework_MockObject_Invocation $invocation)
2929
{
30-
MockFunctionHelper::removeDefaultArguments($invocation->parameters);
30+
MockFunctionGenerator::removeDefaultArguments($invocation->parameters);
3131
return false;
3232
}
3333

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
"require": {
2020
"php": ">=5.4",
2121
"phpunit/phpunit": "^4.0.0",
22-
"php-mock/php-mock-integration": "^0.3"
22+
"php-mock/php-mock-integration": "^0.4"
2323
},
24+
"minimum-stability": "dev",
2425
"require-dev": {
2526
"mockery/mockery": "^0.9"
2627
},

0 commit comments

Comments
 (0)