8000 Remove function_exists(__phpunit_run_isolated_test) checks by nicolas-grekas · Pull Request #25034 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Remove function_exists(__phpunit_run_isolated_test) checks #25034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove function_exists(__phpunit_run_isolated_test) checks
  • Loading branch information
nicolas-grekas committed Nov 19, 2017
commit a5122174312fb9e3ea6c5fc6c20667d55e5a0516
4 changes: 1 addition & 3 deletions src/Symfony/Component/Debug/Tests/Fixtures/Throwing.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?php

if (!function_exists('__phpunit_run_isolated_test')) {
throw new \Exception('boo');
}
throw new \Exception('boo');
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
0