From 5f7ef8c34e2c947ccb447da24bc287beccacb443 Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Tue, 28 Feb 2017 10:36:21 +0100 Subject: [PATCH] Improve PSR-4 autoload by default --- composer.json | 4 +++- composer.lock | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f7c8843d57..df726c65d9 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,9 @@ "type": "project", "description": "The \"Symfony Standard Edition\" distribution", "autoload": { - "psr-4": { "": "src/" } + "psr-4": { + "AppBundle\\": "src/AppBundle" + } }, "require": { "php": ">=5.3.9", diff --git a/composer.lock b/composer.lock index 5ac279a4f1..bff3864543 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": "bdde043c25314bfbc2727929457166a0", + "content-hash": "7179f4c120649326ae8dab4da26c6db9", "packages": [ { "name": "doctrine/annotations",