Skip to content

Commit 473e3a5

Browse files
Martin GuthOndraM
Martin Guth
authored andcommitted
Feat: Remove skip of BlankLineAfterOpeningTagFixer
1 parent ca24767 commit 473e3a5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<!-- There is always Unreleased section on the top. Subsections (Added, Changed, Fixed, Removed) should be added as needed. -->
66

77
## Unreleased
8+
- Remove skip of BlankLineAfterOpeningTagFixer to be PSR-12 compliant.
89

910
## 4.2.0 - 2025-02-28
1011
- Rename the package from "Alma Career Czechia Standard for PHP" to more broad "Alma Career Coding Standard for PHP". 🎉

ecs.php

-3
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,4 @@
638638
// Skip unwanted rules from ReturnTypeHintSniff
639639
ReturnTypeHintSniff::class . '.' . ReturnTypeHintSniff::CODE_MISSING_TRAVERSABLE_TYPE_HINT_SPECIFICATION => null,
640640
ReturnTypeHintSniff::class . '.' . ReturnTypeHintSniff::CODE_MISSING_ANY_TYPE_HINT => null,
641-
642-
// We use declare(strict_types=1); after opening tag
643-
BlankLineAfterOpeningTagFixer::class => null,
644641
]);

0 commit comments

Comments
 (0)