@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace MyMigrations; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace MyMigrations; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace MyMigrations; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Gruberro\MongoDbMigrations; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Gruberro\MongoDbMigrations; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Gruberro\MongoDbMigrations; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Gruberro\MongoDbMigrations\Console\Command; |
| 4 | 4 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | $directories = $input->getArgument('migration-directories'); |
| 57 | 57 | foreach ($directories as $directory) { |
| 58 | - if (! is_dir($directory)) { |
|
| 58 | + if (!is_dir($directory)) { |
|
| 59 | 59 | throw new Console\Exception\InvalidArgumentException("'{$directory}' is no valid directory"); |
| 60 | 60 | } |
| 61 | 61 | |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | $migrationClassesCount = count($migrations); |
| 99 | 99 | $output->writeln("<info>✓ Found {$migrationClassesCount} valid migration classes</info>", $output::VERBOSITY_VERBOSE); |
| 100 | 100 | |
| 101 | - uasort($migrations, function (MongoDbMigrations\MigrationInterface $a, MongoDbMigrations\MigrationInterface $b) { |
|
| 101 | + uasort($migrations, function(MongoDbMigrations\MigrationInterface $a, MongoDbMigrations\MigrationInterface $b) { |
|
| 102 | 102 | if ($a->getCreateDate() === $b->getCreateDate()) { |
| 103 | 103 | return 0; |
| 104 | 104 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Gruberro\MongoDbMigrations\Console\Command; |
| 4 | 4 | |