Skip to content

Commit 9f90940

Browse files
authored
resolving namespace conflicts (#14)
1 parent 130b7c0 commit 9f90940

9 files changed

+18
-18
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
],
2727
"autoload": {
2828
"psr-4": {
29-
"Umbrellio\\Deploy\\": "src/"
29+
"Umbrellio\\RollbackMissingMigrations\\": "src/"
3030
}
3131
},
3232
"autoload-dev": {
3333
"psr-4": {
34-
"Umbrellio\\Deploy\\Tests\\": "tests/"
34+
"Umbrellio\\RollbackMissingMigrations\\Tests\\": "tests/"
3535
}
3636
},
3737
"require": {
@@ -55,7 +55,7 @@
5555
"extra": {
5656
"laravel": {
5757
"providers": [
58-
"Umbrellio\\Deploy\\RollbackMissingMigrationServiceProvider"
58+
"Umbrellio\\RollbackMissingMigrations\\RollbackMissingMigrationServiceProvider"
5959
]
6060
}
6161
}

src/Console/RollbackMissingMigrations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Console;
5+
namespace Umbrellio\RollbackMissingMigrations\Console;
66

77
use Illuminate\Database\Console\Migrations\BaseCommand;
88
use Illuminate\Support\Facades\App;
99
use Symfony\Component\Process\Process;
10-
use Umbrellio\Deploy\Helpers\DbHelper;
10+
use Umbrellio\RollbackMissingMigrations\Helpers\DbHelper;
1111

1212
class RollbackMissingMigrations extends BaseCommand
1313
{

src/Console/RollbackNewMigrations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Console;
5+
namespace Umbrellio\RollbackMissingMigrations\Console;
66

77
use Illuminate\Console\Command;
88
use Illuminate\Database\Migrations\Migration;

src/Exceptions/RollbackMissingMigrationException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Exceptions;
5+
namespace Umbrellio\RollbackMissingMigrations\Exceptions;
66

77
use Exception;
88
use Illuminate\Support\Collection;

src/Helpers/DbHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Helpers;
5+
namespace Umbrellio\RollbackMissingMigrations\Helpers;
66

77
use Illuminate\Support\Collection;
88
use Illuminate\Support\Facades\Config;
99
use Illuminate\Support\Facades\DB;
10-
use Umbrellio\Deploy\Exceptions\RollbackMissingMigrationException;
10+
use Umbrellio\RollbackMissingMigrations\Exceptions\RollbackMissingMigrationException;
1111

1212
class DbHelper
1313
{

src/RollbackMissingMigrationServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy;
5+
namespace Umbrellio\RollbackMissingMigrations;
66

77
use Illuminate\Support\ServiceProvider;
8-
use Umbrellio\Deploy\Console\RollbackMissingMigrations;
9-
use Umbrellio\Deploy\Console\RollbackNewMigrations;
8+
use Umbrellio\RollbackMissingMigrations\Console\RollbackMissingMigrations;
9+
use Umbrellio\RollbackMissingMigrations\Console\RollbackNewMigrations;
1010

1111
class RollbackMissingMigrationServiceProvider extends ServiceProvider
1212
{

tests/FunctionalTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Tests;
5+
namespace Umbrellio\RollbackMissingMigrations\Tests;
66

77
use Illuminate\Foundation\Application;
88
use Orchestra\Testbench\TestCase;

tests/UnitTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Tests;
5+
namespace Umbrellio\RollbackMissingMigrations\Tests;
66

77
use PHPUnit\Framework\TestCase;
88

tests/functional/Console/RollbackMissingMigrationsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
declare(strict_types=1);
44

5-
namespace Umbrellio\Deploy\Tests\functional\Console;
5+
namespace Umbrellio\RollbackMissingMigrations\Tests\functional\Console;
66

77
use Generator;
88
use Illuminate\Support\Facades\Artisan;
99
use Illuminate\Support\Facades\DB;
1010
use PHPUnit\Framework\Attributes\DataProvider;
1111
use PHPUnit\Framework\Attributes\Test;
12-
use Umbrellio\Deploy\Exceptions\RollbackMissingMigrationException;
13-
use Umbrellio\Deploy\RollbackMissingMigrationServiceProvider;
14-
use Umbrellio\Deploy\Tests\FunctionalTestCase;
12+
use Umbrellio\RollbackMissingMigrations\Exceptions\RollbackMissingMigrationException;
13+
use Umbrellio\RollbackMissingMigrations\RollbackMissingMigrationServiceProvider;
14+
use Umbrellio\RollbackMissingMigrations\Tests\FunctionalTestCase;
1515

1616
class RollbackMissingMigrationsTest extends FunctionalTestCase
1717
{

0 commit comments

Comments
 (0)