From 71959ab41f436877c529951a3a566a6da2bd624e Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Thu, 23 Oct 2014 18:33:44 +0100 Subject: [PATCH 1/2] Switch autoloader from PSR-0 to PSR-4 --- composer.json | 2 +- src/{Symfony/Installer => }/AboutCommand.php | 0 src/{Symfony/Installer => }/NewCommand.php | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{Symfony/Installer => }/AboutCommand.php (100%) rename src/{Symfony/Installer => }/NewCommand.php (100%) diff --git a/composer.json b/composer.json index 7403751..b04ede3 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "autoload": { - "psr-0": { "Symfony\\": "src/" } + "psr-4": { "Symfony\\Installer\\": "src/" } }, "require": { "ext-zip": "*", diff --git a/src/Symfony/Installer/AboutCommand.php b/src/AboutCommand.php similarity index 100% rename from src/Symfony/Installer/AboutCommand.php rename to src/AboutCommand.php diff --git a/src/Symfony/Installer/NewCommand.php b/src/NewCommand.php similarity index 100% rename from src/Symfony/Installer/NewCommand.php rename to src/NewCommand.php From 775237a6daf3f9b711528d504fc2c30780b674fb Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Tue, 18 Nov 2014 21:00:16 +0000 Subject: [PATCH 2/2] Revert the changes made to the directory structure --- composer.json | 2 +- src/{ => Symfony/Installer}/AboutCommand.php | 0 src/{ => Symfony/Installer}/NewCommand.php | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{ => Symfony/Installer}/AboutCommand.php (100%) rename src/{ => Symfony/Installer}/NewCommand.php (100%) diff --git a/composer.json b/composer.json index b04ede3..7985527 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "autoload": { - "psr-4": { "Symfony\\Installer\\": "src/" } + "psr-4": { "Symfony\\": "src/Symfony/" } }, "require": { "ext-zip": "*", diff --git a/src/AboutCommand.php b/src/Symfony/Installer/AboutCommand.php similarity index 100% rename from src/AboutCommand.php rename to src/Symfony/Installer/AboutCommand.php diff --git a/src/NewCommand.php b/src/Symfony/Installer/NewCommand.php similarity index 100% rename from src/NewCommand.php rename to src/Symfony/Installer/NewCommand.php