Skip to content

Commit

Permalink
Formatted code (StyleCI)
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Nov 12, 2019
1 parent 9767cbe commit 3084b04
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Rules/ExistsEloquent.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Korridor\LaravelModelValidationRules\Rules;

use Closure;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Validation\Rule;
use Illuminate\Database\Eloquent\Model;

class ExistsEloquent implements Rule
{
Expand Down
2 changes: 1 addition & 1 deletion src/Rules/UniqueEloquent.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Korridor\LaravelModelValidationRules\Rules;

use Closure;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Validation\Rule;
use Illuminate\Database\Eloquent\Model;

class UniqueEloquent implements Rule
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Feature/ExistsEloquentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Korridor\LaravelModelValidationRules\Tests\Feature;

use Illuminate\Support\Str;
use Illuminate\Support\Facades\Lang;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Korridor\LaravelModelValidationRules\Tests\TestCase;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Str;
use Korridor\LaravelModelValidationRules\Rules\ExistsEloquent;
use Korridor\LaravelModelValidationRules\Tests\TestCase;
use Korridor\LaravelModelValidationRules\Tests\TestEnvironment\Models\Fact;
use Korridor\LaravelModelValidationRules\Tests\TestEnvironment\Models\User;

Expand Down
6 changes: 3 additions & 3 deletions tests/Feature/UniqueEloquentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Korridor\LaravelModelValidationRules\Tests\Feature;

use Illuminate\Support\Str;
use Illuminate\Support\Facades\Lang;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Korridor\LaravelModelValidationRules\Tests\TestCase;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Str;
use Korridor\LaravelModelValidationRules\Rules\UniqueEloquent;
use Korridor\LaravelModelValidationRules\Tests\TestCase;
use Korridor\LaravelModelValidationRules\Tests\TestEnvironment\Models\Fact;
use Korridor\LaravelModelValidationRules\Tests\TestEnvironment\Models\User;

Expand Down
6 changes: 3 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace Korridor\LaravelModelValidationRules\Tests;

use Illuminate\Events\Dispatcher;
use Illuminate\Container\Container;
use Illuminate\Database\Capsule\Manager;
use Illuminate\Database\Schema\Blueprint;
use Orchestra\Testbench\TestCase as Orchestra;
use Illuminate\Database\Eloquent\Factory as EloquentFactory;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Events\Dispatcher;
use Korridor\LaravelModelValidationRules\ModelValidationServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;

abstract class TestCase extends Orchestra
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestEnvironment/Models/Fact.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Korridor\LaravelModelValidationRules\Tests\TestEnvironment\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;

class Fact extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestEnvironment/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Korridor\LaravelModelValidationRules\Tests\TestEnvironment\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;

class User extends Model
{
Expand Down

0 comments on commit 3084b04

Please sign in to comment.