Skip to content

Released Rector 0.12.11

Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 06 Jan 12:40
· 4447 commits to main since this release

New Features 馃帀

  • [Downgrade PHP 7.0] Move Throwable out of type hints (#1602), Thanks @jtojnar!
  • add dump_with_depth helper function (#1639)

Bugfixes 馃悰

  • [DeadCode] Add Scope check on RemoveParentCallWithoutParentRector (#1602), #6916, #6915, #6907, #6911, #6903, #6900, Thanks @jtojnar!
  • BinaryOpConditionsCollector: Add tests and fix edge case (#1608), Thanks @jtojnar!
  • Avoid clearing the cache while saving it on parallel (#1616), #6906, Thanks @zingimmick!
  • [Downgrade 7.0] Make catch clauses catching Throwable also catch Exception (#1609), Thanks @jtojnar!
  • [Core] Fix undefined array key 0 on FormatPerservingPrinter (#1619), Thanks @samsonasik!
  • [Downgrade PHP 7.0] Add Exception fallback for instanceof Throwable (#1608), Thanks @jtojnar!
  • [e2e][parallel] Allow set custom config on Parallel (#1620), Thanks @samsonasik!
  • [Parallel] Fix system errors expected an instance of SystemError but got string (#1610), Thanks @zingimmick!
  • [Confi[parallel] Let WorkerRunner know about paths, so PHPStan and Rector can handle static reflection over them guration] Fix provided type does not have to exists (#1624)
  • require always File[] in resolvePhpFilePaths() (#1630)
  • [Parallel] Unsupported files are not skipped (#1638), Thanks @gander!
  • check for iterable type before adding return type (#1639)
  • [Parallel] Let WorkerRunner know about paths, so PHPStan and Rector can handle static reflection over them (#1629)