Skip to content

Commit 4c5d9cf

Browse files
minor symfony#25034 Remove function_exists(__phpunit_run_isolated_test) checks (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- Remove function_exists(__phpunit_run_isolated_test) checks | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - As now permitted by symfony#25032 Commits ------- a512217 Remove function_exists(__phpunit_run_isolated_test) checks
2 parents 86986b4 + a512217 commit 4c5d9cf

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<?php
22

3-
if (!function_exists('__phpunit_run_isolated_test')) {
4-
throw new \Exception('boo');
5-
}
3+
throw new \Exception('boo');

src/Symfony/Component/Routing/Tests/Fixtures/validresource.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
if (function_exists('__phpunit_run_isolated_test')) {
4-
return;
5-
}
63
/** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */
74
/** @var \Symfony\Component\Routing\RouteCollection $collection */
85
$collection = $loader->import('validpattern.php');

0 commit comments

Comments
 (0)