Skip to content

Commit f04a128

Browse files
committed
style: enforce no_whitespace_in_blank_line
https://cs.symfony.com/doc/rules/whitespace/no_whitespace_in_blank_line.html Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent af952f4 commit f04a128

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## 1.3.3 — unreleased
5+
### Added
6+
* `no_whitespace_in_blank_line`: Remove trailing whitespace at the end of blank lines
7+
48
## 1.3.2 - 2024-10-14
59
### Added
610
* `type_declaration_spaces`: A single space between typehint and variable name

src/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function getRules() : array {
5555
'no_trailing_whitespace' => true,
5656
'no_trailing_whitespace_in_comment' => true,
5757
'no_unused_imports' => true,
58+
'no_whitespace_in_blank_line' => true,
5859
'nullable_type_declaration_for_default_null_value' => true,
5960
'nullable_type_declaration' => ['syntax' => 'question_mark'],
6061
'operator_linebreak' => [

0 commit comments

Comments
 (0)