From 77464e0e966349313a2e8e2cea08d13302bbcaba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Fri, 13 Mar 2020 15:46:36 +0100 Subject: [PATCH] Remove recipe directories from autoload --- src/Monofony/Bundle/AdminBundle/composer.json | 3 ++- src/Monofony/Bundle/ApiBundle/composer.json | 3 ++- src/Monofony/Bundle/CoreBundle/composer.json | 3 ++- src/Monofony/Bundle/FrontBundle/composer.json | 3 ++- src/Monofony/Plugin/FixturesPlugin/composer.json | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Monofony/Bundle/AdminBundle/composer.json b/src/Monofony/Bundle/AdminBundle/composer.json index b0b825e0..64e765ca 100644 --- a/src/Monofony/Bundle/AdminBundle/composer.json +++ b/src/Monofony/Bundle/AdminBundle/composer.json @@ -8,7 +8,8 @@ "monofony/core-bundle": "^0.1" }, "autoload": { - "psr-4": { "Monofony\\Bundle\\AdminBundle\\": "" } + "psr-4": { "Monofony\\Bundle\\AdminBundle\\": "" }, + "exclude-from-classmap": ["Recipe/"] }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/src/Monofony/Bundle/ApiBundle/composer.json b/src/Monofony/Bundle/ApiBundle/composer.json index 4175edcd..c3382b72 100644 --- a/src/Monofony/Bundle/ApiBundle/composer.json +++ b/src/Monofony/Bundle/ApiBundle/composer.json @@ -9,7 +9,8 @@ "monofony/core-bundle": "^0.1" }, "autoload": { - "psr-4": { "Monofony\\Bundle\\ApiBundle\\": "" } + "psr-4": { "Monofony\\Bundle\\ApiBundle\\": "" }, + "exclude-from-classmap": ["Recipe/"] }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/src/Monofony/Bundle/CoreBundle/composer.json b/src/Monofony/Bundle/CoreBundle/composer.json index 164f4cec..1fce7323 100644 --- a/src/Monofony/Bundle/CoreBundle/composer.json +++ b/src/Monofony/Bundle/CoreBundle/composer.json @@ -42,7 +42,8 @@ "symfony/symfony": "*" }, "autoload": { - "psr-4": { "Monofony\\Bundle\\CoreBundle\\": "" } + "psr-4": { "Monofony\\Bundle\\CoreBundle\\": "" }, + "exclude-from-classmap": ["Recipe/"] }, "config": { "sort-packages": true diff --git a/src/Monofony/Bundle/FrontBundle/composer.json b/src/Monofony/Bundle/FrontBundle/composer.json index d9d60b4f..129f422f 100644 --- a/src/Monofony/Bundle/FrontBundle/composer.json +++ b/src/Monofony/Bundle/FrontBundle/composer.json @@ -8,7 +8,8 @@ "monofony/core-bundle": "^0.1" }, "autoload": { - "psr-4": { "Monofony\\Bundle\\FrontBundle\\": "" } + "psr-4": { "Monofony\\Bundle\\FrontBundle\\": "" }, + "exclude-from-classmap": ["Recipe/"] }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/src/Monofony/Plugin/FixturesPlugin/composer.json b/src/Monofony/Plugin/FixturesPlugin/composer.json index 579bd579..aba18454 100644 --- a/src/Monofony/Plugin/FixturesPlugin/composer.json +++ b/src/Monofony/Plugin/FixturesPlugin/composer.json @@ -9,7 +9,8 @@ "sylius/fixtures-bundle": "^1.4" }, "autoload": { - "psr-4": { "Monofony\\Plugin\\FixturesPlugin\\": "" } + "psr-4": { "Monofony\\Plugin\\FixturesPlugin\\": "" }, + "exclude-from-classmap": ["Recipe/"] }, "minimum-stability": "dev", "prefer-stable": true,