New Features and Improvements 🥳
- Support Attribute in
SortNamedParamRector(#7684), Thanks @VincentLanglet!
Bugfixes 🐛
- [PhpParser] Add Stmt\Block to NodeGroup::STMTS_AWARE (#7689)
- skip already dim fetch variable on OrdSingleByteRector (#7681)
- [Php85] Handle crash on no arg on OrdSingleByteRector (#7682)
- [Php70] Handle return ternary on IfIssetToCoalescingRector (#7683)
- [CodingStyle] Skip use trait on NewlineBetweenClassLikeStmtsRector (#7685)
- [CodingStyle] Handle use trait after property on
NewlineBetweenClassLikeStmtsRector(#7687) - [CodeQuality] Skip with HTML on
ShortenElseIfRector(#7686) - [Variables] Fetch list super global variable names from PHPStan Scope::SUPERGLOBAL_VARIABLES constant (#7663)
- Fix typo in rule definition message (#7690), Thanks @simonschaufi!
rectorphp/rector-symfony 🎵
- [code-quality] Skip enum in ControllerMethodInjectionToConstructorRector (#893)
- [symfony 7.3] Add CommandDefaultNameAndDescriptionToAsCommandAttributeRector (#892)
- [symfony 7.x] update sets (#890)
- [CodeQuality] Skip parent method exists on ControllerMethodInjectionToConstructorRector (#889)
- skip params with attributes in ControllerMethodInjectionToConstructorRector (#887)
- [stmts-aware] Use NodeGroup::STMTS_AWARE over StmtsAwareInterface (#886)
rectorphp/rector-phpunit 🟢
- [fix] Improve AssertComparisonToSpecificMethodRector for assert false (#594)