Commits

Christophe Coevoet  committed 048a8af Merge

Merge pull request #140 from pborreli/typos

Fixed typos

  • Participants
  • Parent commits 37aacda, 657908f

Comments (0)

Files changed (3)

File lib/Doctrine/DBAL/Migrations/AbstractMigration.php

     protected $connection;
 
     /**
-     * Reference to the SchemaManager instance referened by $_connection
+     * Reference to the SchemaManager instance referenced by $_connection
      *
      * @var \Doctrine\DBAL\Schema\AbstractSchemaManager
      */
     protected $sm;
 
     /**
-     * Reference to the DatabasePlatform instance referenced by $_conection
+     * Reference to the DatabasePlatform instance referenced by $_connection
      *
      * @var \Doctrine\DBAL\Platforms\AbstractPlatform
      */
     }
 
     /**
-     * Print a warning message if the condition evalutes to TRUE.
+     * Print a warning message if the condition evaluates to TRUE.
      *
      * @param boolean $condition
      * @param string  $message
     }
 
     /**
-     * Abort the migration if the condition evalutes to TRUE.
+     * Abort the migration if the condition evaluates to TRUE.
      *
      * @param boolean $condition
      * @param string  $message
     }
 
     /**
-     * Skip this migration (but not the next ones) if condition evalutes to TRUE.
+     * Skip this migration (but not the next ones) if condition evaluates to TRUE.
      *
      * @param boolean $condition
      * @param string  $message

File lib/Doctrine/DBAL/Migrations/Tools/Console/Command/ExecuteCommand.php

 
     <info>%command.full_name% YYYYMMDDHHMMSS --write-sql</info>
 
-Or you can also execute the migration without a warning message wich you need to interact with:
+Or you can also execute the migration without a warning message which you need to interact with:
 
     <info>%command.full_name% --no-interaction</info>
 EOT

File lib/Doctrine/DBAL/Migrations/Tools/Console/Command/VersionCommand.php

     public function execute(InputInterface $input, OutputInterface $output)
     {
         $configuration = $this->getMigrationConfiguration($input, $output);
-        $migration = new Migration($configuration);
 
         if ($input->getOption('add') === false && $input->getOption('delete') === false) {
             throw new \InvalidArgumentException('You must specify whether you want to --add or --delete the specified version.');