File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
lib/Doctrine/ORM/Tools/Console/Command Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3131/**
3232 * Command to convert your mapping information between the various formats.
3333 *
34+ * @deprecated 2.7 This class is being removed from the ORM and won't have any replacement
35+ *
3436 * @link www.doctrine-project.org
3537 */
3638class ConvertMappingCommand extends AbstractEntityManagerCommand
@@ -86,6 +88,7 @@ protected function configure()
8688 protected function execute (InputInterface $ input , OutputInterface $ output )
8789 {
8890 $ ui = new SymfonyStyle ($ input , $ output );
91+ $ ui ->warning ('Command ' . $ this ->getName () . ' is deprecated and will be removed in Doctrine ORM 3.0. ' );
8992
9093 $ em = $ this ->getEntityManager ($ input );
9194
Original file line number Diff line number Diff line change 34383438 </MissingReturnType >
34393439 </file >
34403440 <file src =" lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php" >
3441- <DeprecatedClass occurrences =" 4 " >
3441+ <DeprecatedClass occurrences =" 1 " >
34423442 <code >Versions::getVersion('doctrine/orm')</code >
3443- <code >new Command\ConvertDoctrine1SchemaCommand()</code >
3444- <code >new Command\GenerateEntitiesCommand($entityManagerProvider)</code >
3445- <code >new Command\GenerateRepositoriesCommand($entityManagerProvider)</code >
34463443 </DeprecatedClass >
34473444 </file >
34483445 <file src =" lib/Doctrine/ORM/Tools/DebugUnitOfWorkListener.php" >
Original file line number Diff line number Diff line change 2424 <!-- The exception is thrown by a deprecated method. -->
2525 <referencedClass name =" Doctrine\ORM\Cache\Exception\InvalidResultCacheDriver" />
2626 <!-- Remove on 3.0.x -->
27+ <referencedClass name =" Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand" />
28+ <referencedClass name =" Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand" />
2729 <referencedClass name =" Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand" />
30+ <referencedClass name =" Doctrine\ORM\Tools\Console\Command\GenerateEntitiesCommand" />
31+ <referencedClass name =" Doctrine\ORM\Tools\Console\Command\GenerateRepositoriesCommand" />
2832 </errorLevel >
2933 </DeprecatedClass >
3034 <DeprecatedMethod >
You can’t perform that action at this time.
0 commit comments