diff --git a/pint.json b/pint.json index e0aa46e..cdaa12f 100644 --- a/pint.json +++ b/pint.json @@ -14,6 +14,10 @@ "ordered_traits": true, "types_spaces": { "space": "single" + }, + "new_with_parentheses": { + "anonymous_class": false, + "named_class": true } } } \ No newline at end of file diff --git a/tests/Fixtures/migrations/create_test_tables.php b/tests/Fixtures/migrations/create_test_tables.php index 59beae4..33cb1ad 100644 --- a/tests/Fixtures/migrations/create_test_tables.php +++ b/tests/Fixtures/migrations/create_test_tables.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void {