Skip to content

Commit

Permalink
Add deprecation hints to orm:convert-mapping command
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Nov 30, 2021
1 parent f0a20db commit 96b6eb3
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -31,6 +31,8 @@
/**
* Command to convert your mapping information between the various formats.
*
* @deprecated 2.7 This class is being removed from the ORM and won't have any replacement
*
* @link www.doctrine-project.org
*/
class ConvertMappingCommand extends AbstractEntityManagerCommand
Expand Down Expand Up @@ -86,6 +88,7 @@ protected function configure()
protected function execute(InputInterface $input, OutputInterface $output)
{
$ui = new SymfonyStyle($input, $output);
$ui->warning('Command ' . $this->getName() . ' is deprecated and will be removed in Doctrine ORM 3.0.');

$em = $this->getEntityManager($input);

Expand Down

0 comments on commit 96b6eb3

Please sign in to comment.