| Q |
A |
| PHPUnit version |
7.4.0 |
| PHP version |
phpdbg 7.2.10 |
| Installation Method |
PHAR |
phpunit installed via phive.
When calling phpdbg -qrr /usr/local/bin/phpunit the folling NOTICE is shown:
[PHP Notice: Undefined index: _SERVER in /usr/local/bin/phpunit on line 18]
Guess that $_SERVER is simply not set in phpdbg?
This line raises the notice, I guess in build/binary-phar-autoload.php.in:
if (__FILE__ === realpath($GLOBALS['_SERVER']['SCRIPT_NAME'])) {