Merge branch '2.8' into 3.3
* 2.8: Remove function_exists(__phpunit_run_isolated_test) checks
This commit is contained in:
commit
f2fc7bfccc
@ -2,9 +2,7 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation;
|
||||
|
||||
if (!function_exists('__phpunit_run_isolated_test')) {
|
||||
class Article implements NotExistingInterface
|
||||
{
|
||||
public $category;
|
||||
}
|
||||
class Article implements NotExistingInterface
|
||||
{
|
||||
public $category;
|
||||
}
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures;
|
||||
|
||||
if (!function_exists('__phpunit_run_isolated_test')) {
|
||||
class BadParent extends MissingParent
|
||||
{
|
||||
}
|
||||
class BadParent extends MissingParent
|
||||
{
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<?php
|
||||
|
||||
if (!function_exists('__phpunit_run_isolated_test')) {
|
||||
throw new \Exception('boo');
|
||||
}
|
||||
throw new \Exception('boo');
|
||||
|
@ -13,8 +13,6 @@ namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
||||
|
||||
use Symfony\Bug\NotExistClass;
|
||||
|
||||
if (!function_exists('__phpunit_run_isolated_test')) {
|
||||
class OptionalServiceClass extends NotExistClass
|
||||
{
|
||||
}
|
||||
class OptionalServiceClass extends NotExistClass
|
||||
{
|
||||
}
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?php
|
||||
|
||||
if (function_exists('__phpunit_run_isolated_test')) {
|
||||
return;
|
||||
}
|
||||
/** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */
|
||||
/** @var \Symfony\Component\Routing\RouteCollection $collection */
|
||||
$collection = $loader->import('validpattern.php');
|
||||
|
Reference in New Issue
Block a user