Skip to content

Commit

Permalink
Closes #1751
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 19, 2016
1 parent 1ad0a65 commit 6459e98
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog-6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ All notable changes of the PHPUnit 6.0 release series are documented in this fil

## [6.0.0] - 2017-02-03

### Removed

* PHPUnit is no longer supported on PHP 5.6

[6.0.0]: https://github.com/sebastianbergmann/phpunit/compare/5.7...6.0.0

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.6-8892BF.svg?style=flat-square)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-8892BF.svg?style=flat-square)](https://php.net/)
[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/master.svg?style=flat-square)](https://travis-ci.org/sebastianbergmann/phpunit)

## Installation
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"issues": "https://github.com/sebastianbergmann/phpunit/issues"
},
"require": {
"php": "^5.6 || ^7.0",
"php": "^7.0",
"phpunit/php-file-iterator": "~1.4",
"phpunit/php-text-template": "~1.2",
"phpunit/php-code-coverage": "^4.0.1",
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"config": {
"platform": {
"php": "5.6.0"
"php": "7.0.0"
}
},
"suggest": {
Expand Down
4 changes: 2 additions & 2 deletions phpunit
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
* file that was distributed with this source code.
*/

if (version_compare('5.6.0', PHP_VERSION, '>')) {
if (PHP_MAJOR_VERSION < 7) {
fwrite(
STDERR,
'This version of PHPUnit requires PHP 5.6; using the latest version of PHP is highly recommended.' . PHP_EOL
'This version of PHPUnit requires PHP 7; using the latest version of PHP is highly recommended.' . PHP_EOL
);

die(1);
Expand Down

0 comments on commit 6459e98

Please sign in to comment.