From a82e4f7e21bd36d6dbe85dd1593fb58e4a4e396b Mon Sep 17 00:00:00 2001 From: Douglas Reith Date: Tue, 3 Apr 2018 10:44:25 +0000 Subject: [PATCH] Remove duplicated commands --- Command/MigrationsExecuteDoctrineCommand.php | 34 ------------------- Command/MigrationsGenerateDoctrineCommand.php | 34 ------------------- Command/MigrationsMigrateDoctrineCommand.php | 34 ------------------- Command/MigrationsStatusDoctrineCommand.php | 34 ------------------- Command/MigrationsVersionDoctrineCommand.php | 34 ------------------- 5 files changed, 170 deletions(-) delete mode 100644 Command/MigrationsExecuteDoctrineCommand.php delete mode 100644 Command/MigrationsGenerateDoctrineCommand.php delete mode 100644 Command/MigrationsMigrateDoctrineCommand.php delete mode 100644 Command/MigrationsStatusDoctrineCommand.php delete mode 100644 Command/MigrationsVersionDoctrineCommand.php diff --git a/Command/MigrationsExecuteDoctrineCommand.php b/Command/MigrationsExecuteDoctrineCommand.php deleted file mode 100644 index 0398984..0000000 --- a/Command/MigrationsExecuteDoctrineCommand.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated will be removed in version 2.0 - */ -class MigrationsExecuteDoctrineCommand extends MigrationsExecuteCommand -{ - protected function configure() - { - parent::configure(); - - $replacement = str_replace('Doctrine', '', __CLASS__); - $notice = sprintf( - '%s is deprecated and will be removed in 2.0. Use %s instead', - __CLASS__, - $replacement - ); - - @trigger_error($notice, E_USER_DEPRECATED); - } -} diff --git a/Command/MigrationsGenerateDoctrineCommand.php b/Command/MigrationsGenerateDoctrineCommand.php deleted file mode 100644 index 02991e9..0000000 --- a/Command/MigrationsGenerateDoctrineCommand.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated will be removed in version 2.0 - */ -class MigrationsGenerateDoctrineCommand extends MigrationsGenerateCommand -{ - protected function configure() - { - parent::configure(); - - $replacement = str_replace('Doctrine', '', __CLASS__); - $notice = sprintf( - '%s is deprecated and will be removed in 2.0. Use %s instead', - __CLASS__, - $replacement - ); - - @trigger_error($notice, E_USER_DEPRECATED); - } -} diff --git a/Command/MigrationsMigrateDoctrineCommand.php b/Command/MigrationsMigrateDoctrineCommand.php deleted file mode 100644 index 6b8f02d..0000000 --- a/Command/MigrationsMigrateDoctrineCommand.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated will be removed in version 2.0 - */ -class MigrationsMigrateDoctrineCommand extends MigrationsMigrateCommand -{ - protected function configure() - { - parent::configure(); - - $replacement = str_replace('Doctrine', '', __CLASS__); - $notice = sprintf( - '%s is deprecated and will be removed in 2.0. Use %s instead', - __CLASS__, - $replacement - ); - - @trigger_error($notice, E_USER_DEPRECATED); - } -} diff --git a/Command/MigrationsStatusDoctrineCommand.php b/Command/MigrationsStatusDoctrineCommand.php deleted file mode 100644 index 57c08cd..0000000 --- a/Command/MigrationsStatusDoctrineCommand.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated will be removed in version 2.0 - */ -class MigrationsStatusDoctrineCommand extends MigrationsStatusCommand -{ - protected function configure() - { - parent::configure(); - - $replacement = str_replace('Doctrine', '', __CLASS__); - $notice = sprintf( - '%s is deprecated and will be removed in 2.0. Use %s instead', - __CLASS__, - $replacement - ); - - @trigger_error($notice, E_USER_DEPRECATED); - } -} diff --git a/Command/MigrationsVersionDoctrineCommand.php b/Command/MigrationsVersionDoctrineCommand.php deleted file mode 100644 index a304f35..0000000 --- a/Command/MigrationsVersionDoctrineCommand.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated will be removed in version 2.0 - */ -class MigrationsVersionDoctrineCommand extends MigrationsVersionCommand -{ - protected function configure() - { - parent::configure(); - - $replacement = str_replace('Doctrine', '', __CLASS__); - $notice = sprintf( - '%s is deprecated and will be removed in 2.0. Use %s instead', - __CLASS__, - $replacement - ); - - @trigger_error($notice, E_USER_DEPRECATED); - } -}