Skip to content

Commit 54fa716

Browse files
committed
Enable single_line_empty_body rule
1 parent 8fbb899 commit 54fa716

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
1010
### Changed
1111
### Removed
1212

13+
## 2.14.0
14+
### Changed
15+
16+
- Enable single_line_empty_body rule (see [laravel/pint#277](https://github.com/laravel/pint/pull/277))
17+
1318
## 2.13.0
1419
### Changed
1520

src/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ class Config extends \PhpCsFixer\Config
198198
'single_line_comment_style' => [
199199
'comment_types' => ['hash'],
200200
],
201+
'single_line_empty_body' => true,
201202
'single_quote' => true,
202203
'single_space_around_construct' => true,
203204
'space_after_semicolon' => true,

0 commit comments

Comments
 (0)