PHP Classes

File: libraries/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php7.phpt

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   libraries/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php7.phpt   Download  
File: libraries/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php7.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 7 years ago
Size: 542 bytes
 

Contents

Class file image Download
--TEST-- GH-873: PHPUnit suppresses exceptions thrown outside of test case function --SKIPIF-- <?php if (PHP_MAJOR_VERSION < 7) { print 'skip: PHP 7 is required'; } ?> --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = 'Issue873Test'; $_SERVER['argv'][3] = __DIR__ . '/873/Issue873Test.php'; require __DIR__ . '/../../bootstrap.php'; PHPUnit_TextUI_Command::main(); ?> --EXPECTF-- Fatal error: Uncaught Exception: PHPUnit suppresses exceptions thrown outside of test case function in %s:%i Stack trace: %a