8000 Remove app/autoload.php · symfony/symfony-standard@298f8b2 · 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 298f8b2

Browse files
committed
Remove app/autoload.php
Now that symfony/symfony#21837 and sensiolabs/SensioDistributionBundle#313 are merged, app/autoload.php can be removed and replaced with the standard Composer autoloader.
1 parent f81334e commit 298f8b2

File tree

7 files changed

+11
-22
lines changed

7 files changed

+11
-22
lines changed

app/autoload.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

bin/console

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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