diff --git a/CHANGELOG.md b/CHANGELOG.md index f1c17d5..730ee57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## 1.3.1 - TBA +### Fixed +* Removed misbehaving `ErickSkrauch/blank_line_before_return` and `ErickSkrauch/line_break_after_statements` rules + ## 1.3.0 - 2024-09-18 ### Changed * `trailing_comma_in_multiline`: Add a trailing comma to multline function parameters diff --git a/composer.json b/composer.json index f8ac7ca..f0e2091 100644 --- a/composer.json +++ b/composer.json @@ -5,8 +5,7 @@ "require": { "php": "^7.3|^8.0", "php-cs-fixer/shim": "^3.17", - "kubawerlos/php-cs-fixer-custom-fixers": "^3.22", - "erickskrauch/php-cs-fixer-custom-fixers": "^1.3" + "kubawerlos/php-cs-fixer-custom-fixers": "^3.22" }, "license": "MIT", "authors": [ diff --git a/src/Config.php b/src/Config.php index 9bf8947..8acf85d 100644 --- a/src/Config.php +++ b/src/Config.php @@ -12,7 +12,6 @@ public function __construct($name = 'default') { parent::__construct($name); $this->setIndent("\t"); $this->registerCustomFixers(new PhpCsFixerCustomFixers\Fixers()); - $this->registerCustomFixers(new \ErickSkrauch\PhpCsFixer\Fixers()); } public function getRules() : array { @@ -79,8 +78,6 @@ public function getRules() : array { ], 'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false], PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer::name() => true, - 'ErickSkrauch/blank_line_before_return' => true, - 'ErickSkrauch/line_break_after_statements' => true, ]; } }