Skip to content

Commit

Permalink
Updated config files to remove deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rbatistadev committed Feb 5, 2024
1 parent 6c89cc2 commit fe17fda
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
3 changes: 1 addition & 2 deletions CommandlogBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }]
tags: [{ name: 'console.command', command: 'ivoz:commandlog:show' }]
25 changes: 10 additions & 15 deletions EntityGeneratorBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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: ~

Expand Down

0 comments on commit fe17fda

Please sign in to comment.