From e715102b2b68f17647aba603eb174709005f6a39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 31 Jan 2024 23:53:27 +0100 Subject: [PATCH 1/1] Remove src ressources --- config/packages/doctrine.yaml | 7 ------- config/routes/annotations.yaml | 3 --- config/services.yaml | 25 ------------------------- src/DataFixtures/AppFixtures.php | 17 ----------------- 4 files changed, 52 deletions(-) delete mode 100644 src/DataFixtures/AppFixtures.php diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index c052bb0..22c94c3 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -14,10 +14,3 @@ doctrine: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware auto_mapping: true - mappings: - App: - is_bundle: false - type: annotation - dir: '%kernel.project_dir%/src/Entity' - prefix: 'App\Entity' - alias: App diff --git a/config/routes/annotations.yaml b/config/routes/annotations.yaml index d49a502..e69de29 100644 --- a/config/routes/annotations.yaml +++ b/config/routes/annotations.yaml @@ -1,3 +0,0 @@ -controllers: - resource: ../../src/Controller/ - type: annotation diff --git a/config/services.yaml b/config/services.yaml index ef07b76..e69de29 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -1,25 +0,0 @@ -# This file is the entry point to configure your own services. -# Files in the packages/ subdirectory configure your dependencies. - -# Put parameters here that don't need to change on each machine where the app is deployed -# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration -parameters: - -services: - # default configuration for services in *this* file - _defaults: - autowire: true # Automatically injects dependencies in your services. - autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. - - # makes classes in src/ available to be used as services - # this creates a service per class whose id is the fully-qualified class name - App\: - resource: '../src/' - exclude: - - '../src/DependencyInjection/' - - '../src/Entity/' - - '../src/Kernel.php' - - '../src/Tests/' - - # add more service definitions when explicit configuration is needed - # please note that last definitions always *replace* previous ones diff --git a/src/DataFixtures/AppFixtures.php b/src/DataFixtures/AppFixtures.php deleted file mode 100644 index 6c20526..0000000 --- a/src/DataFixtures/AppFixtures.php +++ /dev/null @@ -1,17 +0,0 @@ -persist($product); - - $manager->flush(); - } -} -- 2.41.1