Skip to content

Commit b9e8e78

Browse files
author
Daniel Sinn
committed
Fix typos in class name and readme
1 parent db2dce4 commit b9e8e78

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Symfony\Component\Console\Command\Command;
1111

1212

13-
class AbstractComand extends Command {
13+
class AbstractCommand extends Command {
1414

1515
protected $mainDir;
1616
protected $environmentDir;

Migrate/Command/AbstractEnvCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Console\Input\InputInterface;
1616
use Symfony\Component\Console\Output\OutputInterface;
1717

18-
class AbstractEnvCommand extends AbstractComand
18+
class AbstractEnvCommand extends AbstractCommand
1919
{
2020

2121
protected static $progressBarFormat = '%current%/%max% [%bar%] %percent% % [%message%]';

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ in `./.php-database-migration/environments/[env].yml`.
7878
Initialization
7979
--------------
8080
Once the environment is added, you have to initialize it. This verifies that the database connection works, and
81-
create a new database table for tracking the current database changes:
81+
creates a new database table for tracking the current database changes:
8282

8383
```
8484
$ ./bin/migrate migrate:init [env]
@@ -116,7 +116,8 @@ $ ./bin/migrate migrate:status [env]
116116

117117
Up and down
118118
-----------
119-
You can now up all the pending migrations. If you decided to down a migration, the last one will be downed alone to prevent from mistake. You will be asked to confirm the downgrade of your database before runing the real SQL script.
119+
You can now up all the pending migrations. If you decide to down a migration, the last one will be downed alone to
120+
prevent mistakes. You will be asked to confirm the downgrade of your database before running the real SQL script.
120121

121122
```
122123
$ ./bin/migrate migrate:up [env]
@@ -128,13 +129,13 @@ You can mark migrations as applied without executing SQL (e.g. if you switched f
128129
$ ./bin/migrate migrate:up [env] --changelog-only
129130
```
130131

131-
For developement purpose, it is also possible to up a single migration without taking care of the other ones:
132+
For development purposes, it is also possible to up a single migration without taking care of the other ones:
132133

133134
```
134135
$ ./bin/migrate migrate:up [env] --only=[migrationid]
135136
```
136137

137-
or migrate to specific migration (it will run all migrations including specified migration)
138+
or migrate to specific migration (it will run all migrations, including the specified migration)
138139

139140
```
140141
$ ./bin/migrate migrate:up [env] --to=[migrationid]

0 commit comments

Comments
 (0)