1--TEST-- 2GH-765: Fatal error triggered in PHPUnit when exception is thrown in data provider of a test with a dependency 3--FILE-- 4<?php 5 6$_SERVER['argv'][1] = '--no-configuration'; 7$_SERVER['argv'][2] = 'Issue765Test'; 8$_SERVER['argv'][3] = __DIR__ . '/765/Issue765Test.php'; 9 10require __DIR__ . '/../../bootstrap.php'; 11PHPUnit_TextUI_Command::main(); 12?> 13--EXPECTF-- 14PHPUnit %s by Sebastian Bergmann and contributors. 15 16.W 2 / 2 (100%) 17 18Time: %s, Memory: %s 19 20There was 1 warning: 21 221) Warning 23The data provider specified for Issue765Test::testDependent is invalid. 24 25WARNINGS! 26Tests: 2, Assertions: 1, Warnings: 1. 27