comparison vendor/symfony/phpunit-bridge/bin/simple-phpunit @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 1fec387a4317
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
14 // Cache-Id-Version: 2016-10-20 14:00 UTC 14 // Cache-Id-Version: 2016-10-20 14:00 UTC
15 15
16 error_reporting(-1); 16 error_reporting(-1);
17 17
18 // PHPUnit 4.8 does not support PHP 7, while 5.1 requires PHP 5.6+ 18 // PHPUnit 4.8 does not support PHP 7, while 5.1 requires PHP 5.6+
19 $PHPUNIT_VERSION = PHP_VERSION_ID >= 50600 ? getenv('SYMFONY_PHPUNIT_VERSION') ?: '5.4' : '4.8'; 19 $PHPUNIT_VERSION = \PHP_VERSION_ID >= 50600 ? getenv('SYMFONY_PHPUNIT_VERSION') ?: '5.4' : '4.8';
20 $oldPwd = getcwd(); 20 $oldPwd = getcwd();
21 $PHPUNIT_DIR = getenv('SYMFONY_PHPUNIT_DIR') ?: (__DIR__.'/.phpunit'); 21 $PHPUNIT_DIR = getenv('SYMFONY_PHPUNIT_DIR') ?: (__DIR__.'/.phpunit');
22 $PHP = defined('PHP_BINARY') ? PHP_BINARY : 'php'; 22 $PHP = defined('PHP_BINARY') ? PHP_BINARY : 'php';
23 $PHP = escapeshellarg($PHP); 23 $PHP = escapeshellarg($PHP);
24 if ('phpdbg' === PHP_SAPI) { 24 if ('phpdbg' === PHP_SAPI) {