New Features 🥳
- [CodingStyle] Add
StrictInArrayRector(#7921)
Bugfixes 🐛
- [Php71] Handle crash on partial destruct on assign var on ListToArrayDestructRector (#7909)
- [CodeQuality] Skip no code parameter on custom Throwable instance on ThrowWithPreviousExceptionRector (#7912)
- Bump to PHPStan ^2.1.40 and utilize ClassConstantReflection->isFinalByKeyword() (#7911)
- [Php70] Handle keep right parentheses on ternary else is BinaryOp on TernaryToNullCoalescingRector (#7916)
- Properly build text node for junit output formatter (#7917), Thanks @brandonja991!
- [CodeQuality] Skip with custom param in previous position on ThrowWithPreviousExceptionRector (#7919)
- [automated] Apply Coding Standard (#7922)
- [DX] Define list of allowed implicit commands on ConsoleApplication (#7918)
- [CodeQuality] Skip used by other property hooks on InlineConstructorDefaultToPropertyRector (#7920)
- [automated] Apply Coding Standard (#7926)
- [StrictStringParamConcatRector] Skip PHP version 5.6 or earlier (#7927), Thanks @ghostwriter!
- [Php85] Skip single char literal string/int on OrdSingleByteRector (#7928)
rectorphp/rector-symfony 🎵
- [CodeQuality] Allow Doctrine EntityManagerInterface on ControllerMethodInjectionToConstructorRector (#926)
- [CodeQuality] Skip has conflicted param name different object on different method on ControllerMethodInjectionToConstructorRector (#925)
- [Symfony73] Handle with set allowExtraFields named argument on ConstraintOptionsToNamedArgumentsRector (#924)
- Skip classes with Symfony 7.1 Workflow listener attributes (#923), Thanks @dionisvl
rectorphp/rector-doctrine 🟠
- [TypedCollections] Skip with string key already on CompleteReturnDocblockFromToManyRector (#480)
rectorphp/rector-phpunit 🟢
- [CodeQuality] Skip test method via #[Test] Attribute on DataProviderArrayItemsNewLinedRector (#664)
- skip conflicting return node and return type in TypeWillReturnCallableArrowFunctionRector! (#663)
- [Phpunit12] Skip as Argument with required MockObject Type on CreateStubOverCreateMockArgRector (#662)
- feat: add IntersectionType support to PropertyCreateMockToCreateStubRector (#661), Thanks @asumikam