Skip to content

Commit

Permalink
Enable single_line_empty_body rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Jubeki committed Jun 18, 2024
1 parent 8fbb899 commit 54fa716
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
### Changed
### Removed

## 2.14.0
### Changed

- Enable single_line_empty_body rule (see [laravel/pint#277](https://github.com/laravel/pint/pull/277))

## 2.13.0
### Changed

Expand Down
1 change: 1 addition & 0 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ class Config extends \PhpCsFixer\Config
'single_line_comment_style' => [
'comment_types' => ['hash'],
],
'single_line_empty_body' => true,
'single_quote' => true,
'single_space_around_construct' => true,
'space_after_semicolon' => true,
Expand Down

0 comments on commit 54fa716

Please sign in to comment.