8000 minor #22076 [SecurityBundle] Remove dead code in fixtures (nicolas-g… · symfony/symfony@93ff304 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93ff304

Browse files
committed
minor #22076 [SecurityBundle] Remove dead code in fixtures (nicolas-grekas)
This PR was merged into the 3.3-dev branch. Discussion ---------- [SecurityBundle] Remove dead code in fixtures | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- afa5ef6 [SecurityBundle] Remove dead code in fixtures
2 parents 88914a9 + afa5ef6 commit 93ff304

File tree

1 file changed

+0
-24
lines changed
  • src/Symfony/Bundle/SecurityBundle/Tests/Functional/app

1 file changed

+0
-24
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AppKernel.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,6 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\Tests\Functional\app;
1313

14-
// get the autoload file
15-
$dir = __DIR__;
16-
$lastDir = null;
17-
while ($dir !== $lastDir) {
18-
$lastDir = $dir;
19-
20-
if (is_file($dir.'/autoload.php')) {
21-
require_once $dir.'/autoload.php';
22-
break;
23-
}
24-
25-
if (is_file($dir.'/autoload.php.dist')) {
26-
require_once $dir.'/autoload.php.dist';
27-
break;
28-
}
29-
30-
if (file_exists($dir.'/vendor/autoload.php')) {
31-
require_once $dir.'/vendor/autoload.php';
32-
break;
33-
}
34-
35-
$dir = dirname($dir);
36-
}
37-
3814
use Symfony\Component\Config\Loader\LoaderInterface;
3915
use Symfony\Component\Filesystem\Filesystem;
4016
use Symfony\Component\HttpKernel\Kernel;

0 commit comments

Comments
 (0)
0