diff --git a/CHANGELOG.md b/CHANGELOG.md index bc1db43..d57ac25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Config.php b/src/Config.php index 805ce8a..110a604 100644 --- a/src/Config.php +++ b/src/Config.php @@ -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,