From fe17fdae18d2de8b50f4b50d1226d0a3d91cca95 Mon Sep 17 00:00:00 2001 From: Roger Batista Date: Thu, 1 Feb 2024 15:27:02 +0100 Subject: [PATCH] Updated config files to remove deprecation warnings --- .../Resources/config/services.yml | 3 +-- .../Resources/config/services.yml | 25 ++++++++----------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/CommandlogBundle/Resources/config/services.yml b/CommandlogBundle/Resources/config/services.yml index a37e2e9..6235951 100644 --- a/CommandlogBundle/Resources/config/services.yml +++ b/CommandlogBundle/Resources/config/services.yml @@ -9,6 +9,5 @@ services: tags: [{ name: 'console.command'}] ivoz.commandlog.show: - deprecated: "%service_id% is deprecated: use ivoz:commandlog:show instead" class: IvozDevTools\CommandlogBundle\Command\ShowCommand - tags: [{ name: 'console.command', command: 'provider:commandlog:show' }] \ No newline at end of file + tags: [{ name: 'console.command', command: 'ivoz:commandlog:show' }] \ No newline at end of file diff --git a/EntityGeneratorBundle/Resources/config/services.yml b/EntityGeneratorBundle/Resources/config/services.yml index bb75c7f..8ca972b 100644 --- a/EntityGeneratorBundle/Resources/config/services.yml +++ b/EntityGeneratorBundle/Resources/config/services.yml @@ -32,14 +32,13 @@ services: $generator: '@IvozDevTools\EntityGeneratorBundle\Generator' tags: [{ name: 'console.command' }] - provider.make.entities: - deprecated: "%service_id% is deprecated: use ivoz:make:entities instead" + ivoz.make.entities: class: IvozDevTools\EntityGeneratorBundle\Command\MakeEntitiesCommand arguments: $maker: '@IvozDevTools\EntityGeneratorBundle\Maker\MakeEntities' $fileManager: '@maker.file_manager' $generator: '@IvozDevTools\EntityGeneratorBundle\Generator' - tags: [{ name: 'console.command', command: 'provider:make:entities' }] + tags: [{ name: 'console.command', command: 'ivoz:make:entities' }] IvozDevTools\EntityGeneratorBundle\Maker\MakeInterfaces: arguments: @@ -54,14 +53,13 @@ services: $generator: '@IvozDevTools\EntityGeneratorBundle\Generator' tags: [{ name: 'console.command' }] - provider.make.interfaces: - deprecated: "%service_id% is deprecated: use ivoz:make:entities instead" + ivoz.make.interfaces: class: IvozDevTools\EntityGeneratorBundle\Command\MakeEntitiesCommand arguments: $maker: '@IvozDevTools\EntityGeneratorBundle\Maker\MakeInterfaces' $fileManager: '@maker.file_manager' $generator: '@IvozDevTools\EntityGeneratorBundle\Generator' - tags: [{ name: 'console.command', command: 'provider:make:entities' }] + tags: [{ name: 'console.command', command: 'ivoz:make:interfaces' }] IvozDevTools\EntityGeneratorBundle\Maker\MakeOrmMapping: arguments: @@ -76,14 +74,13 @@ services: $mappingGenerator: '@IvozDevTools\EntityGeneratorBundle\Doctrine\Mapping\MappingGenerator' tags: [ { name: 'console.command' } ] - provider.make.orm.entity: - deprecated: "%service_id% is deprecated: use ivoz:make:orm:mapping instead" + ivoz.make.orm.mapping: class: IvozDevTools\EntityGeneratorBundle\Command\MakeOrmMappingCommand arguments: $maker: '@IvozDevTools\EntityGeneratorBundle\Maker\MakeOrmMapping' $fileManager: '@maker.file_manager' $mappingGenerator: '@IvozDevTools\EntityGeneratorBundle\Doctrine\Mapping\MappingGenerator' - tags: [ { name: 'console.command', command: 'provider:make:orm:mapping' } ] + tags: [ { name: 'console.command', command: 'ivoz:make:orm:mapping' } ] # REPOSITORY SERVICE IvozDevTools\EntityGeneratorBundle\Maker\MakeRepositories: @@ -99,22 +96,20 @@ services: $generator: '@IvozDevTools\EntityGeneratorBundle\Generator' tags: [ { name: 'console.command' } ] - provider.make.repositories: - deprecated: "%service_id% is deprecated: use ivoz:make:repositories instead" + ivoz.make.repositories: class: IvozDevTools\EntityGeneratorBundle\Command\MakeRepositoriesCommand arguments: $maker: '@IvozDevTools\EntityGeneratorBundle\Maker\MakeRepositories' $fileManager: '@maker.file_manager' $generator: '@IvozDevTools\EntityGeneratorBundle\Generator' - tags: [ { name: 'console.command', command: 'provider:make:repositories' } ] + tags: [ { name: 'console.command', command: 'ivoz:make:repositories' } ] IvozDevTools\EntityGeneratorBundle\Command\UpdateServiceCollectionsCommand: tags: [{ name: 'console.command' }] - provider.update.service_collections: - deprecated: "%service_id% is deprecated: use ivoz:update:service_collections instead" + ivoz.update.service_collections: class: IvozDevTools\EntityGeneratorBundle\Command\UpdateServiceCollectionsCommand - tags: [{ name: 'console.command', command: 'provider:update:service_collections'}] + tags: [{ name: 'console.command', command: 'ivoz:update:service_collections'}] IvozDevTools\EntityGeneratorBundle\Doctrine\Metadata\ClassMetadataFactory: ~