diff --git a/app/autoload.php b/app/autoload.php deleted file mode 100644 index 31321faa58..0000000000 --- a/app/autoload.php +++ /dev/null @@ -1,11 +0,0 @@ -getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev'); diff --git a/composer.json b/composer.json index 0ff90af7c6..3bb15cc8fc 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "doctrine/doctrine-bundle": "^1.6", "doctrine/orm": "^2.5", "incenteev/composer-parameter-handler": "^2.0", - "sensio/distribution-bundle": "^5.0", + "sensio/distribution-bundle": "^5.0.19", "sensio/framework-extra-bundle": "^3.0.2", "symfony/monolog-bundle": "^3.1.0", "symfony/polyfill-apcu": "^1.0", diff --git a/composer.lock b/composer.lock index f191b0ea5a..606f6d5bd1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "b034f8e43c685ebd1ee2899d7ae14af2", + "content-hash": "36bd74489d055e44d774742be7947178", "packages": [ { "name": "doctrine/annotations", @@ -1193,16 +1193,16 @@ }, { "name": "sensio/distribution-bundle", - "version": "v5.0.18", + "version": "v5.0.19", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioDistributionBundle.git", - "reference": "17846680901003d26d823c2e3ac9228702837916" + "reference": "654c4fa3d11448c8005400a244987896243a990a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/17846680901003d26d823c2e3ac9228702837916", - "reference": "17846680901003d26d823c2e3ac9228702837916", + "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/654c4fa3d11448c8005400a244987896243a990a", + "reference": "654c4fa3d11448c8005400a244987896243a990a", "shasum": "" }, "require": { @@ -1241,7 +1241,7 @@ "configuration", "distribution" ], - "time": "2017-01-10T14:58:45+00:00" + "time": "2017-04-23T22:28:23+00:00" }, { "name": "sensio/framework-extra-bundle", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 65e90821d0..f98a3c9ff0 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -5,7 +5,7 @@ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd" backupGlobals="false" colors="true" - bootstrap="app/autoload.php" + bootstrap="vendor/autoload.php" > diff --git a/web/app.php b/web/app.php index c1ac2853f7..53dc642f80 100644 --- a/web/app.php +++ b/web/app.php @@ -3,7 +3,7 @@ use Symfony\Component\HttpFoundation\Request; /** @var \Composer\Autoload\ClassLoader $loader */ -$loader = require __DIR__.'/../app/autoload.php'; +$loader = require __DIR__.'/../vendor/autoload.php'; if (PHP_VERSION_ID < 70000) { include_once __DIR__.'/../var/bootstrap.php.cache'; } diff --git a/web/app_dev.php b/web/app_dev.php index 45daacfdc5..d26fdaa47d 100644 --- a/web/app_dev.php +++ b/web/app_dev.php @@ -19,7 +19,7 @@ } /** @var \Composer\Autoload\ClassLoader $loader */ -$loader = require __DIR__.'/../app/autoload.php'; +$loader = require __DIR__.'/../vendor/autoload.php'; Debug::enable(); $kernel = new AppKernel('dev', true);