Skip to content

Commit acbb837

Browse files
committed
Revert "feat: Add blank lines before returns and after control statements"
This reverts commit abb6d36. Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent e2e6cb1 commit acbb837

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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.1 - TBA
5+
### Fixed
6+
* Removed misbehaving `ErickSkrauch/blank_line_before_return` and `ErickSkrauch/line_break_after_statements` rules
7+
48
## 1.3.0 - 2024-09-18
59
### Changed
610
* `trailing_comma_in_multiline`: Add a trailing comma to multline function parameters

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"require": {
66
"php": "^7.3|^8.0",
77
"php-cs-fixer/shim": "^3.17",
8-
"kubawerlos/php-cs-fixer-custom-fixers": "^3.22",
9-
"erickskrauch/php-cs-fixer-custom-fixers": "^1.3"
8+
"kubawerlos/php-cs-fixer-custom-fixers": "^3.22"
109
},
1110
"license": "MIT",
1211
"authors": [

src/Config.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public function __construct($name = 'default') {
1212
parent::__construct($name);
1313
$this->setIndent("\t");
1414
$this->registerCustomFixers(new PhpCsFixerCustomFixers\Fixers());
15-
$this->registerCustomFixers(new \ErickSkrauch\PhpCsFixer\Fixers());
1615
}
1716

1817
public function getRules() : array {
@@ -79,8 +78,6 @@ public function getRules() : array {
7978
],
8079
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
8180
PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer::name() => true,
82-
'ErickSkrauch/blank_line_before_return' => true,
83-
'ErickSkrauch/line_break_after_statements' => true,
8481
];
8582
}
8683
}

0 commit comments

Comments
 (0)