Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecation warnings #28

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading