Skip to content

Commit 7e44855

Browse files
committed
feature #578 to match symfony-standard autoload path (mstrom)
This PR was squashed before being merged into the master branch (closes #578). Discussion ---------- to match symfony-standard autoload path Commits ------- 93b57f1 to match symfony-standard autoload path
2 parents 180d51b + 93b57f1 commit 7e44855

File tree

5 files changed

+6
-25
lines changed

5 files changed

+6
-25
lines changed

app/autoload.php

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

bin/console

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ use Symfony\Component\Console\Input\ArgvInput;
66
use Symfony\Component\Debug\Debug;
77

88
// if you don't want to setup permissions the proper way, just uncomment the following PHP line
9-
// read https://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
9+
// read https://symfony.com/doc/current/setup.html#checking-symfony-application-configuration-and-setup
10+
// for more information
1011
//umask(0000);
1112

1213
set_time_limit(0);
1314

1415
/**
1516
* @var Composer\Autoload\ClassLoader $loader
1617
*/
17-
$loader = require __DIR__.'/../app/autoload.php';
18+
$loader = require __DIR__.'/../vendor/autoload.php';
1819

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

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
@@ -19,7 +19,7 @@
1919
/**
2020
* @var Composer\Autoload\ClassLoader
2121
*/
22-
$loader = require __DIR__.'/../app/autoload.php';
22+
$loader = require __DIR__.'/../vendor/autoload.php';
2323
if (PHP_VERSION_ID < 70000) {
2424
include_once __DIR__.'/../var/bootstrap.php.cache';
2525
}

web/app_dev.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535

3636
/** @var Composer\Autoload\ClassLoader $loader */
37-
$loader = require __DIR__.'/../app/autoload.php';
37+
$loader = require __DIR__.'/../vendor/autoload.php';
3838
Debug::enable();
3939

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

0 commit comments

Comments
 (0)