Skip to content

Commit 7d3ba6c

Browse files
committed
Allow PHPUnit 5.0
Update Docs. Leave support for PHP 5.5
1 parent eb03263 commit 7d3ba6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use [Composer](https://getcomposer.org/):
1919

2020
PHP-Mock integrates with the trait
2121
[`PHPMock`](http://php-mock.github.io/php-mock-phpunit/api/class-phpmock.phpunit.PHPMock.html)
22-
into your PHPUnit-4 test case. This trait extends the framework
22+
into your PHPUnit-4 or PHPUnit-5 test case. This trait extends the framework
2323
by the method
2424
[`getFunctionMock()`](http://php-mock.github.io/php-mock-phpunit/api/class-phpmock.phpunit.PHPMock.html#_getFunctionMock).
2525
With this method you can build a mock in the way you are used to build a

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"require": {
2020
"php": ">=5.5",
21-
"phpunit/phpunit": "^4.0.0",
21+
"phpunit/phpunit": "^4.0.0 || ^5.0.0",
2222
"php-mock/php-mock-integration": "^0.4"
2323
},
2424
"require-dev": {

0 commit comments

Comments
 (0)