Skip to content

Commit 8b8f756

Browse files
elliotfehrStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent aa11368 commit 8b8f756

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

src/Database/Eloquent/Relations/BelongsToMany.php

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

33
namespace Weebly\Mutate\Database\Eloquent\Relations;
44

5-
use Illuminate\Database\Eloquent\Model;
65
use Illuminate\Database\Eloquent\Collection;
7-
use Illuminate\Support\Collection as BaseCollection;
6+
use Illuminate\Database\Eloquent\Model;
87
use Illuminate\Database\Eloquent\Relations\BelongsToMany as EloquentBelongsToMany;
8+
use Illuminate\Support\Collection as BaseCollection;
99

1010
class BelongsToMany extends EloquentBelongsToMany
1111
{

src/Database/Model.php

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

33
namespace Weebly\Mutate\Database;
44

5-
use Weebly\Mutate\Database\Traits\HasMutators;
65
use Illuminate\Database\Eloquent\Model as Eloquent;
76
use Weebly\Mutate\Database\Eloquent\Relations\BelongsToMany;
7+
use Weebly\Mutate\Database\Traits\HasMutators;
88

99
abstract class Model extends Eloquent
1010
{

src/MutatorProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Weebly\Mutate;
44

55
use ArrayAccess;
6-
use Weebly\Mutate\Mutators\MutatorContract;
76
use Weebly\Mutate\Exceptions\MutatorNotFoundException;
7+
use Weebly\Mutate\Mutators\MutatorContract;
88

99
class MutatorProvider implements ArrayAccess
1010
{

src/Mutators/EncryptStringMutator.php

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

33
namespace Weebly\Mutate\Mutators;
44

5-
use Illuminate\Contracts\Encryption\Encrypter;
65
use Illuminate\Contracts\Encryption\DecryptException;
6+
use Illuminate\Contracts\Encryption\Encrypter;
77

88
class EncryptStringMutator implements MutatorContract
99
{

tests/Integration/BelongsToManyMutatedTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Weebly\Mutate;
44

55
use DB;
6-
use Ramsey\Uuid\Uuid;
7-
use Orchestra\Testbench\TestCase;
8-
use Weebly\Mutate\Database\Model;
96
use Illuminate\Foundation\Application;
107
use Illuminate\Support\Facades\Schema;
8+
use Orchestra\Testbench\TestCase;
9+
use Ramsey\Uuid\Uuid;
10+
use Weebly\Mutate\Database\Model;
1111

1212
/**
1313
* @group integration

tests/Unit/Mutators/EncryptStringMutatorTest.php

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

33
namespace Weebly\Mutate\Mutators;
44

5+
use Illuminate\Contracts\Encryption\Encrypter;
56
use Mockery as M;
67
use PHPUnit\Framework\TestCase;
7-
use Illuminate\Contracts\Encryption\Encrypter;
88

99
class EncryptStringMutatorTest extends TestCase
1010
{

tests/Unit/Mutators/HexBinaryMutatorTest.php

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

33
namespace Weebly\Mutate\Mutators;
44

5-
use stdClass;
65
use PHPUnit\Framework\TestCase;
6+
use stdClass;
77

88
class HexBinaryMutatorTest extends TestCase
99
{
@@ -71,6 +71,6 @@ public function notHexProvider()
7171
'Null cannot be serialized' => [null],
7272
'Booleans cannot be serialized' => [true],
7373
'Hex strings should have even lengths to be valid bytes representations' => ['a'],
74-
];
74+
];
7575
}
7676
}

0 commit comments

Comments
 (0)