Skip to content

Commit 11c3b6f

Browse files
committed
- removes the App folder / namespace
- updates codacy badge
1 parent 06a1c4b commit 11c3b6f

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/database/migrations/2017_01_01_009000_create_versionings_table.php renamed to database/migrations/2017_01_01_009000_create_versionings_table.php

File renamed without changes.

src/AppServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class AppServiceProvider extends ServiceProvider
88
{
99
public function boot()
1010
{
11-
$this->loadMigrationsFrom(__DIR__.'/database/migrations');
11+
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
1212
}
1313
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace LaravelEnso\Versioning\App\Exceptions;
3+
namespace LaravelEnso\Versioning\Exceptions;
44

55
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace LaravelEnso\Versioning\App\Models;
3+
namespace LaravelEnso\Versioning\Models;
44

55
use Illuminate\Database\Eloquent\Model;
66

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace LaravelEnso\Versioning\App\Traits;
3+
namespace LaravelEnso\Versioning\Traits;
44

55
use Exception;
66
use Illuminate\Database\Eloquent\SoftDeletes;
77
use Illuminate\Support\Facades\DB;
8-
use LaravelEnso\Versioning\App\Exceptions\Versioning as VersioningException;
9-
use LaravelEnso\Versioning\App\Models\Versioning;
8+
use LaravelEnso\Versioning\Exceptions\Versioning as VersioningException;
9+
use LaravelEnso\Versioning\Models\Versioning;
1010

1111
trait Versionable
1212
{

tests/features/VersioningTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use Illuminate\Database\Eloquent\Model;
44
use Illuminate\Foundation\Testing\RefreshDatabase;
55
use Illuminate\Support\Facades\Schema;
6-
use LaravelEnso\Versioning\App\Exceptions\Versioning;
7-
use LaravelEnso\Versioning\App\Traits\Versionable;
6+
use LaravelEnso\Versioning\Exceptions\Versioning;
7+
use LaravelEnso\Versioning\Traits\Versionable;
88
use Tests\TestCase;
99

1010
class VersioningTest extends TestCase

0 commit comments

Comments
 (0)