Skip to content

Commit

Permalink
Add declare_strict_types to Pint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Sep 8, 2024
1 parent 7be74a0 commit ef33829
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bootstrap/providers.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

return [
App\Providers\AppServiceProvider::class,
App\Providers\NovaServiceProvider::class,
Expand Down
3 changes: 2 additions & 1 deletion pint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"new_with_parentheses": {
"anonymous_class": false,
"named_class": true
}
},
"declare_strict_types": true
}
}
2 changes: 2 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

use Illuminate\Http\Request;

define('LARAVEL_START', microtime(true));
Expand Down

0 comments on commit ef33829

Please sign in to comment.