Skip to content

Released ECS 13.2.7

Choose a tag to compare

@TomasVotruba TomasVotruba released this 22 Jul 15:49

What's new

🐛 Fix --config option placed before the command name

# before
$ ecs --config=ecs.php
Run failed: Unknown option: "--config=ecs.php"

# after
$ ecs --config=ecs.php   # loads ecs.php and checks normally

Regression from the symfony/consoleentropy migration. Default check command is now injected when the first arg is an option.

🐛 Skip AddMissingVarNameFixer for property assignments

-/** @var int $this */
+/** @var int */
 $this->value = 1000;

Skipped when the variable is followed by ->.