github rectorphp/rector 2.0.5
Released: Rector 2.0.5

5 days ago

This release support PHP-Parser 5.4.0 and PHPStan 2.1.0

Feature

  • Bump to PHP-Parser ^5.4.0 with use patches fix-patch-php-parser-54 patches (#6637)
  • Bump to PHPStan ^2.1.0 (#6639)
  • [DeadCode] Allow remove useless @ var on typed class constant as well on RemoveUselessVarTagRector (#6633)

Removed 💀

  • Remove unused AssignVariableNameResolverInterface instances (#6631)

Bugfixes 🐛

  • [DX] Warn about ->withPhpSets() called multiple times, to avoid invalid set mix (#6632)
  • [CodeQuality] Skip fopen() or die() on LogicalToBooleanRector on assign (#6635)
  • use vendor-patches main branch that already include php-parser 5.4.0 patch (#6638)

Don't miss a new rector release

NewReleases is sending notifications on new releases.