Skip to content

Released Rector 0.17.4

Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 11 Jul 16:06
· 2471 commits to main since this release

Bugfixes 🐛

  • [CodeQuality][EarlyReturn] Handle crash Replace Stmt to Expr on FlipTypeControlToUseExclusiveTypeRector+FlipTypeControlToUseExclusiveTypeRector+ReturnBinaryOrToEarlyReturnRector (#4474)
  • Fix ReturnBinaryOrToEarlyReturnRector mixing up returned nodes of array, hook into StmtsAwareInterface instead to keep next Rector rules updated (#4476)

Removed 💀

  • Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule (#4473), Thanks @alexander-schranz!
  • [EarlyReturn] Remove ReturnBinaryAndToEarlyReturnRector as creates code hard to read and flips condition (#4478)