diff --git a/pint.json b/pint.json deleted file mode 100644 index 4373f2d..0000000 --- a/pint.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "rules": { - "ordered_class_elements": { - "order": [ - "use_trait", - "constant_public", - "constant_protected", - "constant_private", - "property_public", - "property_protected", - "property_private", - "construct", - "method_public_static", - "method_public", - "method_protected_static", - "method_protected", - "method_private_static", - "method_private", - "destruct", - "magic" - ] - }, - "yoda_style": { - "equal": false, - "identical": false, - "less_and_greater": null - } - } -} diff --git a/tests/EloquentOverrideTest.php b/tests/EloquentOverrideTest.php index 6e2b550..4875bff 100644 --- a/tests/EloquentOverrideTest.php +++ b/tests/EloquentOverrideTest.php @@ -2,8 +2,8 @@ namespace Tests; -use Tests\Eloquent\Vegetable; use PHPUnit\Framework\Attributes\Test; +use Tests\Eloquent\Vegetable; final class EloquentOverrideTest extends TestCase { diff --git a/tests/ScopesTest.php b/tests/ScopesTest.php index f76cdad..98f51a9 100644 --- a/tests/ScopesTest.php +++ b/tests/ScopesTest.php @@ -2,9 +2,9 @@ namespace Tests; +use PHPUnit\Framework\Attributes\Test; use Tests\Eloquent\Country; use Tests\Eloquent\Vegetable; -use PHPUnit\Framework\Attributes\Test; final class ScopesTest extends TestCase { diff --git a/tests/TranslatableTest.php b/tests/TranslatableTest.php index f45857a..ed55ec5 100644 --- a/tests/TranslatableTest.php +++ b/tests/TranslatableTest.php @@ -3,17 +3,17 @@ namespace Tests; use Astrotomic\Translatable\Locales; +use Illuminate\Database\Eloquent\MassAssignmentException; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\App; +use Illuminate\Support\Facades\DB; +use PHPUnit\Framework\Attributes\Test; use Tests\Eloquent\Country; use Tests\Eloquent\CountryStrict; use Tests\Eloquent\CountryTranslation; use Tests\Eloquent\Person; use Tests\Eloquent\Vegetable; use Tests\Eloquent\VegetableTranslation; -use Illuminate\Database\Eloquent\MassAssignmentException; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use Illuminate\Support\Facades\App; -use Illuminate\Support\Facades\DB; -use PHPUnit\Framework\Attributes\Test; final class TranslatableTest extends TestCase { diff --git a/tests/factories/CountryFactory.php b/tests/factories/CountryFactory.php index 1b8d3f8..5c4f1ca 100644 --- a/tests/factories/CountryFactory.php +++ b/tests/factories/CountryFactory.php @@ -1,8 +1,8 @@