New Features 🥳
- feat: add ComposerPackageConstraintInterface (#7877), Thanks @calebdw!
- Add AddOverrideAttributeToOverriddenPropertiesRector for PHP 8.5 (#7880), Thanks @carlos-granados!
Bugfixes 🐛
- Skip ClosureToArrowFunctionRector when closure has @ var docblock (#7885), Thanks @QDenka!
- [Php80] Skip property hook with indirect set on ClassPropertyAssignToConstructorPromotionRector (#7887)
- [Php70] Keep right parentheses on TernaryToNullCoalescingRector (#7889)
- Bump nette/utils to ^4.1.3 (part 2) (#7894)
- [Php72] Handle crash on hex backreference on PregReplaceEModifierRector (#7896)
- Update code sample for SimplifyEmptyCheckOnEmptyArrayRector (#7897), Thanks @ramonrietdijk!
- [Php80] Handle Behat transform annotation (#7899), Thanks @loic425!
- fix: Skip attribute decorated parameters in
RemoveParentDelegatingConstructorRector(#7900), Thanks @marcreichel! - [DeadCode] Handle only remove 1 @ var on multi vars on RemoveUselessVarTagRector (#7884)
- Fix abstract declaration in fixture source (#7901), Thanks @Victor-Vechi!
rectorphp/rector-symfony 🎵
- [CodeQuality] Skip DateTimeInterface instance on ControllerMethodInjectionToConstructorRector (#921)
- [Symfony73] Skip with @ Translate docblock on ConstraintOptionsToNamedArgumentsRector (#920)
rectorphp/rector-phpunit 🟢
- [PhpUnit 8] Skip on possible return array on SpecificAssertContainsRector (#660)
- [CodeQuality] check class exists on BehatPHPUnitAssertToWebmozartRector (#659)
- [behat] Add
BehatPHPUnitAssertToWebmozzartRector(#658) - [code-quality] Add
AddKeysExistsAssertForKeyUseRector(#657) - [PHPUnit120] Skip non-mock object on AllowMockObjectsWithoutExpectationsAttributeRector (#656)
- [CodeQuality] Skip on non-mock object on DecorateWillReturnMapWithExpectsMockRector (#655)
- [CodeQuality] Skip first class callable on DecorateWillReturnMapWithExpectsMockRector (#654)
- improve DecorateWillReturnMapWithExpectsMockRector edge cases (#653)
- convert tearDown in NoSetupWithParentCallOverrideRector as well (#652)
- [config] split off 12.5 set, just to improve readability (#651)