Skip to content

Commit e252991

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

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+1-1
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
"psr-4": {"phpmock\\phpunit\\": "classes/"}
1818
},
1919
"require": {
20+
"php": ">=5.6",
2021
"php": ">=5.5",
21-
"phpunit/phpunit": "^4.0.0",
22+
"phpunit/phpunit": "^4.0.0 || ^5.0.0",
2223
"php-mock/php-mock-integration": "^0.4"
2324
},
2425
"require-dev": {

0 commit comments

Comments
 (0)