diff --git a/README.md b/README.md index 59cd261..8c95436 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Use [Composer](https://getcomposer.org/): PHP-Mock integrates with the trait [`PHPMock`](http://php-mock.github.io/php-mock-phpunit/api/class-phpmock.phpunit.PHPMock.html) -into your PHPUnit-4 test case. This trait extends the framework +into your PHPUnit-4 or PHPUnit-5 test case. This trait extends the framework by the method [`getFunctionMock()`](http://php-mock.github.io/php-mock-phpunit/api/class-phpmock.phpunit.PHPMock.html#_getFunctionMock). With this method you can build a mock in the way you are used to build a diff --git a/composer.json b/composer.json index 453cf3d..c931d38 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ }, "require": { "php": ">=5.5", - "phpunit/phpunit": "^4.0.0", + "phpunit/phpunit": "^4.0.0 || ^5.0.0", "php-mock/php-mock-integration": "^0.4" }, "require-dev": {