10000 app.php and console: no need to declare $loader variable · symfony/symfony-standard@66f5804 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 66f5804

Browse files
MacDadafabpot
authored andcommitted
app.php and console: no need to declare $loader variable
The var isn't being used anywhere in the file(s). Because of how "require" works, $loader is still a global variable.
1 parent d935e50 commit 66f5804

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/app.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
use Symfony\Component\HttpFoundation\Request;
44

5-
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
6-
5+
require_once __DIR__.'/../app/bootstrap.php.cache';
76
require_once __DIR__.'/../app/AppKernel.php';
87
//require_once __DIR__.'/../app/AppCache.php';
98

0 commit comments

Comments
 (0)
0