From 473e3a515875be56297a656eaa820ccedb188c62 Mon Sep 17 00:00:00 2001 From: Martin Guth Date: Wed, 23 Oct 2024 13:22:25 +0200 Subject: [PATCH] Feat: Remove skip of BlankLineAfterOpeningTagFixer --- CHANGELOG.md | 1 + ecs.php | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3e2ecd..b8c76e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## Unreleased +- Remove skip of BlankLineAfterOpeningTagFixer to be PSR-12 compliant. ## 4.2.0 - 2025-02-28 - Rename the package from "Alma Career Czechia Standard for PHP" to more broad "Alma Career Coding Standard for PHP". 🎉 diff --git a/ecs.php b/ecs.php index 17d3a18..0c8be91 100644 --- a/ecs.php +++ b/ecs.php @@ -638,7 +638,4 @@ // Skip unwanted rules from ReturnTypeHintSniff ReturnTypeHintSniff::class . '.' . ReturnTypeHintSniff::CODE_MISSING_TRAVERSABLE_TYPE_HINT_SPECIFICATION => null, ReturnTypeHintSniff::class . '.' . ReturnTypeHintSniff::CODE_MISSING_ANY_TYPE_HINT => null, - - // We use declare(strict_types=1); after opening tag - BlankLineAfterOpeningTagFixer::class => null, ]);