Fix depreciation messages about configuration

master
Julien Rosset 1 year ago
parent 412dc1360a
commit 20b0f9669d

@ -6,10 +6,13 @@ doctrine:
# either here or in the DATABASE_URL env var (see .env file) # either here or in the DATABASE_URL env var (see .env file)
#server_version: '15' #server_version: '15'
orm: orm:
report_fields_where_declared: true
auto_generate_proxy_classes: true auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true enable_lazy_ghost_objects: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true auto_mapping: true
controller_resolver:
auto_mapping: true
mappings: mappings:
App: App:
is_bundle: false is_bundle: false
@ -17,25 +20,25 @@ doctrine:
prefix: 'App\Entity' prefix: 'App\Entity'
alias: App alias: App
gedmo_translatable: gedmo_translatable:
type: annotation type: attribute
prefix: Gedmo\Translatable\Entity prefix: Gedmo\Translatable\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/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 alias: GedmoTranslatable # (optional) it will default to the name set for the mapping
is_bundle: false is_bundle: false
gedmo_translator: gedmo_translator:
type: annotation type: attribute
prefix: Gedmo\Translator\Entity prefix: Gedmo\Translator\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/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 alias: GedmoTranslator # (optional) it will default to the name set for the mapping
is_bundle: false is_bundle: false
gedmo_loggable: gedmo_loggable:
type: annotation type: attribute
prefix: Gedmo\Loggable\Entity prefix: Gedmo\Loggable\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/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 alias: GedmoLoggable # (optional) it will default to the name set for the mapping
is_bundle: false is_bundle: false
gedmo_tree: gedmo_tree:
type: annotation type: attribute
prefix: Gedmo\Tree\Entity prefix: Gedmo\Tree\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/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 alias: GedmoTree # (optional) it will default to the name set for the mapping

@ -18,6 +18,9 @@ framework:
php_errors: php_errors:
log: true log: true
annotations:
enabled: false
when@test: when@test:
framework: framework:
test: true test: true

Loading…
Cancel
Save