github ecsphp/ecs 13.2.2
Released ECS 13.2.2

6 hours ago

What's new

✨ New RemoveDeadVarThisFixer

Removes pointless @var $this docblocks above $this calls — they add noise and never help type inference. Added to the docblock level.

 function someFunction()
 {
-    /** @var SomeType $this */
     $this->run();
 }

🐛 Fix AddMissingVarNameFixer for array item types

The fixer now correctly appends the variable name when the @var type is an array shape like int[]:

 function arrayItems()
 {
-    /** @var int[] */
+    /** @var int[] $values */
     $values = [1000];
 }

Don't miss a new ecs release

NewReleases is sending notifications on new releases.