Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## 0.3.1 Under development

- chore: skip `HeredocIndentationFixer` class to preserve heredoc alignment.

## 0.3.0 May 05, 2026

- feat!: ship `ecs.php` and `rector.php` wrappers from `src/config/` via `scaffold.json`; metadata moves to `php-forge/baseline`.
Expand Down
16 changes: 7 additions & 9 deletions src/ecs.php
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,6 +9,7 @@
use PhpCsFixer\Fixer\PhpUnit\PhpUnitTestCaseStaticMethodCallsFixer;
use PhpCsFixer\Fixer\Strict\{DeclareStrictTypesFixer, StrictComparisonFixer, StrictParamFixer};
use PhpCsFixer\Fixer\StringNotation\SingleQuoteFixer;
use PhpCsFixer\Fixer\Whitespace\HeredocIndentationFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;

/**
Expand All@@ -26,15 +27,11 @@
return ECSConfig::configure()
->withConfiguredRule(
ClassDefinitionFixer::class,
[
'space_before_parenthesis' => true,
],
['space_before_parenthesis' => true],
)
->withConfiguredRule(
NullableTypeDeclarationFixer::class,
[
'syntax' => 'union',
],
['syntax' => 'union'],
)
->withConfiguredRule(
OrderedClassElementsFixer::class,
Expand DownExpand Up@@ -80,9 +77,7 @@
)
->withConfiguredRule(
PhpUnitTestCaseStaticMethodCallsFixer::class,
[
'call_type' => 'self',
],
['call_type' => 'self'],
)
->withFileExtensions(['php'])
->withPhpCsFixerSets(perCS30: true)
Expand All@@ -101,4 +96,7 @@
StrictComparisonFixer::class,
StrictParamFixer::class,
],
)
->withSkip(
[HeredocIndentationFixer::class],
);
Comment thread
terabytesoftw marked this conversation as resolved.
Loading