Skip to content

Commit 3b548b2

Browse files
author
Michaël Perrin
committed
Optimizations for PHP 7
See symfony/symfony-standard#1030
1 parent 02feb17 commit 3b548b2

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

app/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"scripts": {
3737
"symfony-scripts": [
3838
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
39-
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
4039
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
4140
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
4241
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",

app/web/app.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
/** @var \Composer\Autoload\ClassLoader $loader */
66
$loader = require __DIR__.'/../app/autoload.php';
7-
include_once __DIR__.'/../var/bootstrap.php.cache';
87

98
$kernel = new AppKernel('prod', false);
10-
$kernel->loadClassCache();
119
//$kernel = new AppCache($kernel);
1210

1311
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter

app/web/app_dev.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
Debug::enable();
2424

2525
$kernel = new AppKernel('dev', true);
26-
$kernel->loadClassCache();
2726
$request = Request::createFromGlobals();
2827
$response = $kernel->handle($request);
2928
$response->send();

0 commit comments

Comments
 (0)