Skip to content

Commit

Permalink
change minimal verson of PHPUnit
Browse files Browse the repository at this point in the history
based on phpunit described in composer.json
  • Loading branch information
samsonasik committed Jan 9, 2013
1 parent fce9fa3 commit 89c341f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ page, http://framework.zend.com/wiki/display/ZFDEV2/RFC%27s.

To run tests:

- Make sure you have a recent version of PHPUnit installed; 3.6.0
- Make sure you have a recent version of PHPUnit installed; 3.7.0
minimally.
- Enter the `tests/` subdirectory.
- Execute PHPUnit, providing a path to a component directory for which
Expand Down
2 changes: 1 addition & 1 deletion tests/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

if (class_exists('PHPUnit_Runner_Version', true)) {
$phpUnitVersion = PHPUnit_Runner_Version::id();
if ('@package_version@' !== $phpUnitVersion && version_compare($phpUnitVersion, '3.6.0', '<')) {
if ('@package_version@' !== $phpUnitVersion && version_compare($phpUnitVersion, '3.7.0', '<')) {
echo 'This version of PHPUnit (' . PHPUnit_Runner_Version::id() . ') is not supported in Zend Framework 2.x unit tests.' . PHP_EOL;
exit(1);
}
Expand Down

0 comments on commit 89c341f

Please sign in to comment.