From 8153f6174d9abda5970021bb39775b6f447d8eac Mon Sep 17 00:00:00 2001 From: Kei Date: Sat, 8 Jun 2024 01:33:58 +0700 Subject: [PATCH] Laravel: Enable single_line_empty_body fixer https://github.com/laravel/pint/commit/5a75db5c45d88033df331f18352a3827f8a9133b --- src/RuleSet/Sets/Laravel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RuleSet/Sets/Laravel.php b/src/RuleSet/Sets/Laravel.php index 618701b..a07c068 100644 --- a/src/RuleSet/Sets/Laravel.php +++ b/src/RuleSet/Sets/Laravel.php @@ -197,6 +197,7 @@ protected function rules(): array 'single_line_comment_style' => [ 'comment_types' => ['hash'], ], + 'single_line_empty_body' => true, 'single_quote' => true, 'single_space_around_construct' => true, 'space_after_semicolon' => true,