Skip to content

Commit de15e8b

Browse files
committed
fix php cs
1 parent 2f0045c commit de15e8b

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

src/Laravel/ModelAssertions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Astrotomic\PhpunitAssertions\Laravel;
44

55
use Illuminate\Database\Eloquent\Model;
6-
use Illuminate\Database\Eloquent\Relations\BelongsTo;
76
use Illuminate\Database\Eloquent\Relations\Relation;
87
use Illuminate\Support\Facades\DB;
98
use Illuminate\Testing\Constraints\HasInDatabase;

tests/Laravel/ModelAssertionsTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
use Astrotomic\PhpunitAssertions\Laravel\ModelAssertions;
66
use Astrotomic\PhpunitAssertions\Tests\Laravel\Models\Comment;
77
use Astrotomic\PhpunitAssertions\Tests\Laravel\Models\Post;
8-
use Illuminate\Database\Eloquent\Model;
9-
use Illuminate\Database\Eloquent\Relations\HasMany;
10-
use Illuminate\Database\Schema\Blueprint;
11-
use Illuminate\Support\Facades\Schema;
128

139
final class ModelAssertionsTest extends TestCase
1410
{

tests/Laravel/Models/Comment.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Database\Eloquent\Model;
66
use Illuminate\Database\Eloquent\Relations\BelongsTo;
7-
use Illuminate\Database\Eloquent\Relations\HasMany;
87
use Illuminate\Database\Schema\Blueprint;
98
use Illuminate\Support\Facades\Schema;
109

@@ -27,4 +26,4 @@ public function post(): BelongsTo
2726
{
2827
return $this->belongsTo(Post::class);
2928
}
30-
}
29+
}

tests/Laravel/Models/Post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ public function comments(): HasMany
2525
{
2626
return $this->hasMany(Comment::class);
2727
}
28-
}
28+
}

0 commit comments

Comments
 (0)