diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 4c61c2a..741095a 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -6,10 +6,13 @@ doctrine: # either here or in the DATABASE_URL env var (see .env file) #server_version: '15' orm: + report_fields_where_declared: true auto_generate_proxy_classes: true enable_lazy_ghost_objects: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware auto_mapping: true + controller_resolver: + auto_mapping: true mappings: App: is_bundle: false @@ -17,25 +20,25 @@ doctrine: prefix: 'App\Entity' alias: App gedmo_translatable: - type: annotation + type: attribute prefix: Gedmo\Translatable\Entity dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Translatable/Entity" alias: GedmoTranslatable # (optional) it will default to the name set for the mapping is_bundle: false gedmo_translator: - type: annotation + type: attribute prefix: Gedmo\Translator\Entity dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Translator/Entity" alias: GedmoTranslator # (optional) it will default to the name set for the mapping is_bundle: false gedmo_loggable: - type: annotation + type: attribute prefix: Gedmo\Loggable\Entity dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Loggable/Entity" alias: GedmoLoggable # (optional) it will default to the name set for the mapping is_bundle: false gedmo_tree: - type: annotation + type: attribute prefix: Gedmo\Tree\Entity dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity" alias: GedmoTree # (optional) it will default to the name set for the mapping diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 6d85c29..085b3ae 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -18,6 +18,9 @@ framework: php_errors: log: true + annotations: + enabled: false + when@test: framework: test: true