Skip to content

Commit 38e773f

Browse files
Fixed code-style
1 parent fb0f6c7 commit 38e773f

35 files changed

+74
-5
lines changed

src/Console/Migrate.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Console;
46

57
use DragonCode\Contracts\MigrateDB\Builder;
@@ -17,10 +19,10 @@
1719
class Migrate extends Command
1820
{
1921
protected $signature = 'db:migrate'
20-
. ' {--schema-from= : Source connection name}'
21-
. ' {--schema-to= : Target connection name}'
22-
. ' {--exclude=* : Comma separated table names to exclude}'
23-
. ' {--tables=* : Comma separated table names to migrate only}';
22+
. ' {--schema-from= : Source connection name}'
23+
. ' {--schema-to= : Target connection name}'
24+
. ' {--exclude=* : Comma separated table names to exclude}'
25+
. ' {--tables=* : Comma separated table names to migrate only}';
2426

2527
protected $description = 'Data transfer from one database to another';
2628

src/Constants/Drivers.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Constants;
46

57
class Drivers

src/Database/Builder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Database;
46

57
use DragonCode\Contracts\MigrateDB\Builder as BuilderContract;

src/Database/Manager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Database;
46

57
use DragonCode\Contracts\MigrateDB\Builder as BuilderContract;

src/Database/MySQLBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Database;
46

57
class MySQLBuilder extends Builder

src/Database/PostgresBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Database;
46

57
class PostgresBuilder extends Builder

src/Database/SqlServerBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Database;
46

57
class SqlServerBuilder extends Builder

src/Exceptions/InvalidArgumentException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Exceptions;
46

57
use Symfony\Component\Console\Exception\InvalidArgumentException as BaseException;

src/Facades/BuilderManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB\Facades;
46

57
use DragonCode\Contracts\MigrateDB\Builder;

src/ServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace DragonCode\MigrateDB;
46

57
use DragonCode\MigrateDB\Console\Migrate;

0 commit comments

Comments
 (0)