Skip to content

Commit fa5e54a

Browse files
[9.x] Uses laravel/pint for styling (laravel#5945)
* Uses `laravel/pint` for styling * Makes `.styleci.yml` ignored on export * Update composer.json Co-authored-by: Dries Vints <dries@vints.io>
1 parent 88419bf commit fa5e54a

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88

99
/.github export-ignore
1010
CHANGELOG.md export-ignore
11+
.styleci.yml export-ignore

app/Models/User.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Models;
44

5-
use Illuminate\Contracts\Auth\MustVerifyEmail;
5+
// use Illuminate\Contracts\Auth\MustVerifyEmail;
66
use Illuminate\Database\Eloquent\Factories\HasFactory;
77
use Illuminate\Foundation\Auth\User as Authenticatable;
88
use Illuminate\Notifications\Notifiable;

app/Providers/AuthServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\Providers;
44

5+
// use Illuminate\Support\Facades\Gate;
56
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
6-
use Illuminate\Support\Facades\Gate;
77

88
class AuthServiceProvider extends ServiceProvider
99
{

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"require-dev": {
1515
"fakerphp/faker": "^1.9.1",
16+
"laravel/pint": "^1.0",
1617
"laravel/sail": "^1.0.1",
1718
"mockery/mockery": "^1.4.4",
1819
"nunomaduro/collision": "^6.1",

database/seeders/DatabaseSeeder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Database\Seeders;
44

5-
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
5+
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
66
use Illuminate\Database\Seeder;
77

88
class DatabaseSeeder extends Seeder

tests/Feature/ExampleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Tests\Feature;
44

5-
use Illuminate\Foundation\Testing\RefreshDatabase;
5+
// use Illuminate\Foundation\Testing\RefreshDatabase;
66
use Tests\TestCase;
77

88
class ExampleTest extends TestCase

0 commit comments

Comments
 (0)