Skip to content

Commit

Permalink
Merge pull request #585 from greg0ire/patch-1
Browse files Browse the repository at this point in the history
Use proper grammar
  • Loading branch information
alcaeus committed Dec 21, 2017
2 parents 558dac3 + e82ccac commit d9184eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function setConfiguration(array $config)
{
foreach ($config as $configurationKey => $configurationValue) {
if ( ! isset($this->configurationProperties[$configurationKey])) {
$msg = sprintf('Migrations configuration key "%s" does not exists.', $configurationKey);
$msg = sprintf('Migrations configuration key "%s" does not exist.', $configurationKey);
throw MigrationException::configurationNotValid($msg);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private function mark($version, $all = false)

if ( ! $this->markMigrated && ! $this->configuration->hasVersionMigrated($version)) {
if ( ! $all) {
throw new \InvalidArgumentException(sprintf('The version "%s" does not exists in the version table.', $version));
throw new \InvalidArgumentException(sprintf('The version "%s" does not exist in the version table.', $version));
}
$marked = false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public function testDeleteOptionIfVersionNotMigrated()
$commandTester = new CommandTester($this->command);

$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('The version "1233" does not exists in the version table.');
$this->expectExceptionMessage('The version "1233" does not exist in the version table.');

$commandTester->execute(
[
Expand Down

0 comments on commit d9184eb

Please sign in to comment.