diff --git a/build/binary-phar-autoload.php.in b/build/binary-phar-autoload.php.in index 3113b240f92..17048140990 100644 --- a/build/binary-phar-autoload.php.in +++ b/build/binary-phar-autoload.php.in @@ -1,9 +1,9 @@ #!/usr/bin/env php ')) { +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);