From 3dbb0853c69da1aa1d836bf5bc2b0c13828b6148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Tue, 2 Oct 2018 13:05:11 +0200 Subject: [PATCH] Update PSR-4 configuration to fix Symfony Flex auto-registration --- composer.json | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index ac92898..0c220f2 100644 --- a/composer.json +++ b/composer.json @@ -23,20 +23,10 @@ "phpunit/phpunit": "~3.7|~4.0|^5.0" }, "autoload": { - "classmap": [ - "WhiteOctoberPagerfantaBundle.php" - ], "psr-4": { - "WhiteOctober\\PagerfantaBundle\\DependencyInjection\\": "DependencyInjection", - "WhiteOctober\\PagerfantaBundle\\EventListener\\": "EventListener", - "WhiteOctober\\PagerfantaBundle\\Twig\\": "Twig", - "WhiteOctober\\PagerfantaBundle\\View\\": "View" - } - }, - "autoload-dev": { - "psr-4": { - "WhiteOctober\\PagerfantaBundle\\Tests\\": "Tests/" - } + "WhiteOctober\\PagerfantaBundle\\": "" + }, + "exclude-from-classmap": ["Tests/", "TestsProject/"] }, "extra": { "branch-alias": {