1--TEST-- 2--stop-on-failure fails to stop on PHP 7 3--FILE-- 4<?php 5 6$_SERVER['argv'][1] = '--no-configuration'; 7$_SERVER['argv'][2] = 'Issue2145Test'; 8$_SERVER['argv'][3] = '--stop-on-error'; 9$_SERVER['argv'][4] = __DIR__ . '/2145/Issue2145Test.php'; 10 11require __DIR__ . '/../../bootstrap.php'; 12PHPUnit_TextUI_Command::main(); 13?> 14--EXPECTF-- 15PHPUnit %s by Sebastian Bergmann and contributors. 16 17E 18 19Time: %s, Memory: %s 20 21There was 1 error: 22 231) Issue2145Test 24%A 25ERRORS! 26Tests: 2, Assertions: 0, Errors: 1. 27