Remove function_exists(__phpunit_run_isolated_test) checks

This commit is contained in:
Nicolas Grekas 2017-11-19 20:49:57 +02:00
parent 86986b41b0
commit a512217431
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +1,3 @@
<?php <?php
if (!function_exists('__phpunit_run_isolated_test')) { throw new \Exception('boo');
throw new \Exception('boo');
}

View File

@ -1,8 +1,5 @@
<?php <?php
if (function_exists('__phpunit_run_isolated_test')) {
return;
}
/** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */ /** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */
/** @var \Symfony\Component\Routing\RouteCollection $collection */ /** @var \Symfony\Component\Routing\RouteCollection $collection */
$collection = $loader->import('validpattern.php'); $collection = $loader->import('validpattern.php');