Update dependency symplify/easy-coding-standard to v13#4
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^12.3→^13.0Release Notes
ecsphp/ecs (symplify/easy-coding-standard)
v13.2.3Compare Source
v13.2.2: Released ECS 13.2.2Compare Source
What's new
✨ New
RemoveDeadVarThisFixerRemoves pointless
@var $thisdocblocks above$thiscalls — they add noise and never help type inference. Added to thedocblocklevel.function someFunction() { - /** @​var SomeType $this */ $this->run(); }🐛 Fix
AddMissingVarNameFixerfor array item typesThe fixer now correctly appends the variable name when the
@vartype is an array shape likeint[]:function arrayItems() { - /** @​var int[] */ + /** @​var int[] $values */ $values = [1000]; }v13.2.1Compare Source
v13.2.0: Released ECS 13.2Compare Source
The headline of this release: ECS is now a single package. The
symplify/coding-standardfixers moved in-tree, and the Laravel container dependency is gone. No breaking changes for users — theSymplify\CodingStandard\Fixer\*class names are unchanged.⬆️ How to upgrade
If you previously required
symplify/coding-standarddirectly, drop it — it now ships inside ECS:Your
ecs.phpneeds no changes: theSymplify\CodingStandard\Fixer\*class names are unchanged. If you only ever requiredsymplify/easy-coding-standard, a plaincomposer update symplify/easy-coding-standardis all you need.🎯 Highlights
1.
symplify/coding-standardmerged into ECS (#19)The 26 custom Symplify fixers ECS has always relied on now live directly in this repository under
packages/coding-standard/. ECS could never run without them, and many prepared sets are tightly coupled to them — so maintaining two repos added friction for no benefit.What this means for you:
One package instead of two.
composer require symplify/easy-coding-standard --devno longer pulls in a separatesymplify/coding-standard.Class names are unchanged — your existing
ecs.phpkeeps working as-is:2.
withDocblockLevel()now goes much deeper (#19)Because the Symplify commenting fixers now ship in-tree, the gradual docblock level gained 11 new rules (24 total). You opt in one level per PR, safest first:
New rules now reachable through the level include inline
@varnormalization (DoubleAsteriskInlineVarFixer,SingleLineInlineVarDocBlockFixer,AddMissingVarNameFixer),@paramfixes (AddMissingParamNameFixer,FixParamNameTypoFixer,RemoveParamNameReferenceFixer,RemoveDeadParamFixer), and superfluous-name removal (RemoveSuperfluousReturnNameFixer,RemoveSuperfluousVarNameFixer).3.
illuminate/containerreplaced withentropy/entropy(#17)ECS's DI container no longer extends Illuminate's.
ECSConfignow extendsEntropy\Container\Container.What this means for you:
illuminate/containerand its bundled patch (patches/illuminate-container-container-php.patch) are gone.symfony/consolestays — it's still a transitive dependency of PHP-CS-Fixer and easy-parallel, so it can't be dropped.v13.1.6Compare Source
v13.1.5Compare Source
v13.1.4Compare Source
v13.1.3Compare Source
v13.1.2Compare Source
v13.1.1Compare Source
v13.1.0Compare Source
v13.0.4Compare Source
v13.0.3Compare Source
v13.0.2Compare Source
v13.0.1Compare Source
v13.0.0: Released easy-coding-standard 13.0.0Compare Source
What's Changed
New Contributors
Full Changelog: ecsphp/ecs@12.6.2...13.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.