Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit d91e642

Browse filesBrowse files
committed
feature #1056 Remove app/autoload.php (BPScott)
This PR was merged into the 3.3-dev branch. Discussion ---------- Remove app/autoload.php Now that symfony/symfony#21837 is merged, app/autoload.php can be removed and replaced with the standard Composer autoloader. ~WAIT! This can't be merged *just* yet, as it throws errors when running the `buildBootstrap` post install/update script. The fix for this is in sensiolabs/SensioDistributionBundle#313. That PR must be merged and this PR must be updated to use a version of SensioDistributionBundle that contains the fix before this is good to go.~ EDIT: sensiolabs/SensioDistributionBundle#313 is merged (as of 24/04), and this PR has been updated to use the latest version of SensioDistributionBundle. This is now good to merge Commits ------- 298f8b2 Remove app/autoload.php
2 parents f81334e + 298f8b2 commit d91e642
Copy full SHA for d91e642

File tree

7 files changed

+11
-22
lines changed
Filter options

7 files changed

+11
-22
lines changed

‎app/autoload.php

Copy file name to clipboardExpand all lines: app/autoload.php
-11Lines changed: 0 additions & 11 deletions
This file was deleted.

‎bin/console

Copy file name to clipboardExpand all lines: bin/console
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use Symfony\Component\Debug\Debug;
1313
set_time_limit(0);
1414

1515
/** @var Composer\Autoload\ClassLoader $loader */
16-
$loader = require __DIR__.'/../app/autoload.php';
16+
$loader = require __DIR__.'/../vendor/autoload.php';
1717

1818
$input = new ArgvInput();
1919
$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev');

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"doctrine/doctrine-bundle": "^1.6",
1717
"doctrine/orm": "^2.5",
1818
"incenteev/composer-parameter-handler": "^2.0",
19-
"sensio/distribution-bundle": "^5.0",
19+
"sensio/distribution-bundle": "^5.0.19",
2020
"sensio/framework-extra-bundle": "^3.0.2",
2121
"symfony/monolog-bundle": "^3.1.0",
2222
"symfony/polyfill-apcu": "^1.0",

‎composer.lock

Copy file name to clipboardExpand all lines: composer.lock
+6-6Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎phpunit.xml.dist

Copy file name to clipboardExpand all lines: phpunit.xml.dist
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
66
backupGlobals="false"
77
colors="true"
8-
bootstrap="app/autoload.php"
8+
bootstrap="vendor/autoload.php"
99
>
1010
<php>
1111
<ini name="error_reporting" value="-1" />

‎web/app.php

Copy file name to clipboardExpand all lines: web/app.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use Symfony\Component\HttpFoundation\Request;
44

55
/** @var \Composer\Autoload\ClassLoader $loader */
6-
$loader = require __DIR__.'/../app/autoload.php';
6+
$loader = require __DIR__.'/../vendor/autoload.php';
77
if (PHP_VERSION_ID < 70000) {
88
include_once __DIR__.'/../var/bootstrap.php.cache';
99
}

‎web/app_dev.php

Copy file name to clipboardExpand all lines: web/app_dev.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020

2121
/** @var \Composer\Autoload\ClassLoader $loader */
22-
$loader = require __DIR__.'/../app/autoload.php';
22+
$loader = require __DIR__.'/../vendor/autoload.php';
2323
Debug::enable();
2424

2525
$kernel = new AppKernel('dev', true);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.