Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #205 from hhamon/rename_commands

[Generator] [Command] renamed commands classes with the Command suffix a...
  • Loading branch information...
commit 302e8545f30c03dece0634ebda3cd0f458355743 2 parents ebaaf13 + 99b0a6c
@willdurand willdurand authored
View
3  ...el/Generator/Command/ConfigConvertXML.php → ...rator/Command/ConfigConvertXmlCommand.php
@@ -7,12 +7,11 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\XmlToArrayConverter;
use Propel\Generator\Config\ArrayToPhpConverter;
use Propel\Generator\Util\Filesystem;
-class ConfigConvertXml extends Command
+class ConfigConvertXmlCommand extends Command
{
const DEFAULT_INPUT_DIRECTORY = '.';
const DEFAULT_INPUT_FILE = 'runtime-conf.xml';
View
6 ...pel/Generator/Command/DatabaseReverse.php → ...erator/Command/DatabaseReverseCommand.php
@@ -10,19 +10,19 @@
namespace Propel\Generator\Command;
-use Propel\Generator\Config\GeneratorConfig;
-use Propel\Generator\Manager\ReverseManager;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
+use Propel\Generator\Config\GeneratorConfig;
+use Propel\Generator\Manager\ReverseManager;
use Propel\Generator\Util\Filesystem;
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class DatabaseReverse extends AbstractCommand
+class DatabaseReverseCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-reversed-database';
View
3  ...el/Generator/Command/GraphvizGenerate.php → ...rator/Command/GraphvizGenerateCommand.php
@@ -14,7 +14,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\GraphvizManager;
use Propel\Generator\Util\Filesystem;
@@ -22,7 +21,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class GraphvizGenerate extends AbstractCommand
+class GraphvizGenerateCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-graphviz';
View
3  ...ropel/Generator/Command/MigrationDiff.php → ...enerator/Command/MigrationDiffCommand.php
@@ -14,7 +14,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Exception\RuntimeException;
use Propel\Generator\Manager\MigrationManager;
@@ -24,7 +23,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class MigrationDiff extends AbstractCommand
+class MigrationDiffCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-diff-classes';
View
3  ...ropel/Generator/Command/MigrationDown.php → ...enerator/Command/MigrationDownCommand.php
@@ -6,7 +6,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\MigrationManager;
use Propel\Generator\Util\Filesystem;
@@ -14,7 +13,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class MigrationDown extends AbstractCommand
+class MigrationDownCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-migrations';
View
3  ...el/Generator/Command/MigrationMigrate.php → ...rator/Command/MigrationMigrateCommand.php
@@ -6,7 +6,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\MigrationManager;
use Propel\Generator\Util\Filesystem;
@@ -14,7 +13,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class MigrationMigrate extends AbstractCommand
+class MigrationMigrateCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-migrations';
View
3  ...pel/Generator/Command/MigrationStatus.php → ...erator/Command/MigrationStatusCommand.php
@@ -6,7 +6,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\MigrationManager;
use Propel\Generator\Util\Filesystem;
@@ -14,7 +13,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class MigrationStatus extends AbstractCommand
+class MigrationStatusCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-migrations';
View
3  src/Propel/Generator/Command/MigrationUp.php → .../Generator/Command/MigrationUpCommand.php
@@ -6,7 +6,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\MigrationManager;
use Propel\Generator\Util\Filesystem;
@@ -14,7 +13,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class MigrationUp extends AbstractCommand
+class MigrationUpCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-migrations';
View
3  src/Propel/Generator/Command/ModelBuild.php → ...l/Generator/Command/ModelBuildCommand.php
@@ -7,7 +7,6 @@
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
use Symfony\Component\Finder\Finder;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\ModelManager;
use Propel\Generator\Util\Filesystem;
@@ -16,7 +15,7 @@
* @author Florian Klein <florian.klein@free.fr>
* @author William Durand <william.durand1@gmail.com>
*/
-class ModelBuild extends AbstractCommand
+class ModelBuildCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-classes';
View
3  src/Propel/Generator/Command/SqlBuild.php → ...pel/Generator/Command/SqlBuildCommand.php
@@ -14,7 +14,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\SqlManager;
use Propel\Generator\Util\Filesystem;
@@ -22,7 +21,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class SqlBuild extends AbstractCommand
+class SqlBuildCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-sql';
View
5 src/Propel/Generator/Command/SqlInsert.php → ...el/Generator/Command/SqlInsertCommand.php
@@ -10,13 +10,10 @@
namespace Propel\Generator\Command;
-
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
-
-
use Propel\Generator\Config\GeneratorConfig;
use Propel\Generator\Manager\SqlManager;
use Propel\Generator\Util\Filesystem;
@@ -24,7 +21,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class SqlInsert extends AbstractCommand
+class SqlInsertCommand extends AbstractCommand
{
const DEFAULT_OUTPUT_DIRECTORY = 'generated-sql';
View
2  src/Propel/Generator/Command/TestPrepare.php → .../Generator/Command/TestPrepareCommand.php
@@ -11,7 +11,7 @@
/**
* @author William Durand <william.durand1@gmail.com>
*/
-class TestPrepare extends AbstractCommand
+class TestPrepareCommand extends AbstractCommand
{
/**
* @var string

0 comments on commit 302e854

Please sign in to comment.
Something went wrong with that request. Please try again.