Skip to content

Update Development packages (minor)#335

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/dev
Open

Update Development packages (minor)#335
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/dev

Conversation

@renovate

@renovate renovate Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
phpstan/phpstan ^2.1.56^2.2.1 age confidence
rector/rector (source) ^2.0.19^2.4.5 age confidence

Release Notes

phpstan/phpstan-phar-composer-source (phpstan/phpstan)

v2.2.1

Compare Source

v2.2.0

Compare Source

rectorphp/rector (rector/rector)

v2.4.5: Released Rector 2.4.5

Compare Source

New Features 🥳


Bugfixes 🐛

  • fix: skip StaticCallToMethodCallRector when parent declares final __construct (#​8001)
  • [NodeManipulator] Use ClassReflection parent isFinalByKeyword()->yes() on ClassDependencyManipulator (#​8002)
  • [BetterPhpDocParser] Don't wrap first-position @​method param union in extra parens (#​8003), Thanks @​kyle-bisnow!
  • [ci] kick of auto issue fixer (#​8004)
  • [automated] Apply Coding Standard (#​8005)
  • [CodeQuality] Skip possibly undefined variable on SimplifyEmptyCheckOnEmptyArrayRector (#​8006)
  • [CodingStyle] Handle namespaced function string on FunctionFirstClassCallableRector (#​8007)
  • Fix compatibility on optional key on array dim fetch to be Mixed on phpstan patch 2.1.x-dev (#​8008)
  • Update Mongodb constant from DoctrineSetList (#​8009)
  • Bump to PHPStan ^2.1.56 (#​8010)

rectorphp/rector-symfony

rectorphp/rector-doctrine

  • [QA] Add StructArmed to QA (#​482)

rectorphp/rector-phpunit

  • [QA] Add StructArmed to QA (#​677)
  • fix assert call type resolving (#​675)
  • fix AssertIsTypeMethodCallRector crash on enum case argument (#​674)

rectorphp/rector-downgrade-php

  • [QA] Add StructArmed to QA (#​375)

v2.4.4: Released Rector 2.4.4

Compare Source

New Features 🥳

  • [QA] Add StructArmed to QA (#​7989)
  • feat: create rector to add names to boolean arguments (#​7944), Thanks @​calebdw!
  • [CodeQuality] Add missing MinPhpVersionInterface implements on AddNameToBooleanArgumentRector (#​7994)
  • [injection] If parent class has dependency via promoted property, but its private, add a new one to child class deps (#​7996)

Bugfixes 🐛

  • Bump structarmed to ^0.6 (#​7990)
  • [Php81] Skip NullToStrictStringFuncCallArgRector for magic __get() property access resolving to ErrorType (#​7992)
  • [automated] Apply Coding Standard (#​7993)
  • [TypeDeclarationDocblocks] Skip overridden methods in DocblockReturnArrayFromDirectArrayInstanceRector (#​7995)
  • Fix compatibility with latest phpstan patch 2.1.x-dev (#​7997)
  • Temporary pin webmozart/assert to 2.3.0 to make downgrade working (#​7998)
  • Bump webmozart/assert to ^2.4 (#​7999)

Removed 💀

  • [DeadCode] Skip used by get_object_vars on RemoveUnusedPromotedPropertyRector (#​7988)

rectorphp/rector-symfony

  • add fixture with failing parent private (#​935)
  • fix ControllerMethodInjectionToConstructorRector - update call sites when params are moved to constructor (#​934)

rectorphp/rector-downgrade-php

  • [DowngradePhp82] Handle nullable true on DowngradeStandaloneNullTrueFalseReturnTypeRector (#​374)

v2.4.3: Released Rector 2.4.3

Compare Source

New Features 🥳


Bugfixes 🐛

  • Fix the behavior of ClassPropertyAssignToConstructorPromotionRector when types do not match (#​7972), Thanks @​mspirkov!
  • Rectify (#​7973)
  • Bump crate-ci/typos from 1.44.0 to 1.46.0 (#​7976), Thanks @​dependabot[bot]!
  • [CodeQuality] Skip union type on UseIdenticalOverEqualWithSameTypeRector (#​7975)
  • [CodingStyle] Mirror comment on SplitDoubleAssignRector (#​7977)
  • [phpstan] remove copuel fixed phpstan ignores (#​7979)
  • trigger code analysis on main (rectorphp/rector-src@adb24d0)
  • [CodeQuality] Skip in html for ForRepeatedCountToOwnVariableRector (#​7981)
  • Clean up PHPStan ignoreErrors (#​7982)
  • Fix typo namespace Sourde -> Source in rules-tests/TypeDeclarationDocblocks (#​7983)
  • cs (rectorphp/rector-src@7805989)
  • [Naming] Handle rename with use after anonymous class on RenameParamToMatchTypeRector (#​7984)
  • [DX] Fix run on custom rector config when no rector.php (#​7985)
  • Temporary pin nette/utils version to 4.1.3 (#​7986)
  • Bump to nette/utils ^4.1.4 (#​7987)

Removed 💀

  • [remove] Remove deprecated StmtsAwareInterface (#​7978)
  • [remove] Remove deprecated FileWithoutNamespace and ScopeResolverNodeVisitorInterface (#​7980)
  • remove docker-metadata files, as no longer maintained (rectorphp/rector-src@2166603)

rectorphp/rector-symfony

  • [symfony 2.4] skip no-route in GetRequestRector (#​933)
  • fix(CommandHelpToAttributeRector): support concatenated string in setHelp() (#​932), Thanks @​androshchuk

rectorphp/rector-phpunit

  • [CodeQuality] Handle on static closure on WithCallbackIdenticalToStandaloneAssertsRector (#​672)
  • ReplaceTestAnnotationWithPrefixedFunctionRector does not match @​ test annotation if it is being part of string (#​671), Thanks @​Dukecz
  • [PHPUnit12] Skip used as next arg with MockObject Type on ExpressionCreateMockToCreateStubRector (#​670)
  • [CodeQuality] Skip multiple uses variable as arg after defined on BareCreateMockAssignToDirectUseRector (#​669)

rectorphp/rector-downgrade-php

  • [DowngradePhp80] Handle combine DowngradeMixedTypeDeclarationRector+DowngradeAttributeToAnnotationRector on declare(strict_types=1) inline after open php tag (#​373)
  • remove FileWithoutNamespace (#​371)
  • Fix phpstan notice on latest phpstan (#​370)

v2.4.2: Released Rector 2.4.2

Compare Source

New Features 🥳

  • Add some symfony/polyfill support (#​7965), Thanks @​sreichel!
  • [DeadCode] Allow remove useless @​ var on aliased object on RemoveUselessVarTagRector (#​7967)

Bugfixes 🐛

  • [Php81] Handle crash on normal array with variadic inside class on ArrayToFirstClassCallableRector (#​7966)
  • [CodeQuality] Skip possibly undefined variable on CoalesceToTernaryRector (#​7968)
  • [Php70] Allow is_null() conversion on TernaryToNullCoalescingRector with parentheses handling (#​7969)
  • Bump to PHPStan ^2.1.47 (#​7970)
  • Bump to PHPStan ^2.1.48 (#​7971)

rectorphp/rector-symfony 🎵

  • Fix unit test due to new PHPStan release (#​931)

v2.4.1: Released Rector 2.4.1

Compare Source

New Features 🥳


Bugfixes 🐛

  • [CodeQuality] Skip with HTML on CompleteMissingIfElseBracketRector (#​7952)
  • [CodeQuality] Handle with assign on SimplifyIfElseToTernaryRector (#​7951)
  • [CodeQuality] Skip with HTML on TernaryFalseExpressionToIfRector (#​7954)
  • [automated] Apply Coding Standard (#​7955)
  • Make compatible with PHPStan 2.1.x-dev for ObjectType::equals() change behaviour (#​7956)
  • [AutoImport] Handle FQCN in/not in use on auto import + remove unused import as prefix = suffix (#​7957)
  • perf: use hash map for installed packages (#​7878), Thanks @​calebdw!
  • [ChangesReporting][Alternative] Collect changed_files on --no-diffs with json output with use of JsonOutputFactory (#​7821)
  • fix: OOM crash in RemoveUnusedVariableAssignRector (#​7964), Thanks @​calebdw!

Deprecations 💀

  • [Php81] Deprecate NewInInitializerRector as depends on context (#​7913)
  • [deprecation] deprecate file, use getFile() instead (#​7962)

v2.4.0: Released Rector 2.4.0

Compare Source

New Features 🥳


Bugfixes 🐛

  • [Php85] Do not convert to pipe on use directly of spread operator on NestedFuncCallsToPipeOperatorRector (#​7938)
  • [Console] Allow short command "p" on ProcessCommand (#​7931)
  • [Arguments] Skip self class const fetch inside this class target replacement on ReplaceArgumentDefaultValueRector (#​7940)
  • [CodeQuality] Hnadle with negation binary op previous if on CombineIfRector (#​7945)
  • [CodingStyle] Skip by reference required params on call inside on ArrowFunctionDelegatingCallToFirstClassCallableRector (#​7949)

Removed 💀

  • [DeadCode] Skip pipe operator on RemoveDeadStmtRector (#​7941)
  • [DeadCode] Handle crash on multi elseif on RemoveDeadIfBlockRector (#​7946)
  • [DeadCode] Skip with assign to call with target has #[NoDiscard] attribute on RemoveUnusedVariableAssignRector (#​7950)

rectorphp/rector-symfony 🎵

  • [CodeQuality] Handle different parameter type same name used on ControllerMethodInjectionToConstructorRector (#​929)
  • [CodeQuality] Skip used by static closure use on ControllerMethodInjectionToConstructorRector (#​928)
  • [Symfony61] Skip non static external class callable on MagicClosureTwigExtensionToNativeMethodsRector (#​927), Thanks @​wuchen90

rectorphp/rector-doctrine 🟠

  • Fix infinite loop check instanceof name check to use Name class (#​481)

rectorphp/rector-phpunit 🟢

  • [PHPunit 9] Move AssertRegExpRector to phpunit 90 set with refactor to use assertMatchesRegularExpression/assertDoesNotMatchRegularExpression (#​667)
  • [PHPUnit 9] Rename assertRegExp/assertNotRegExp to assertMatchesRegularExpression/assertDoesNotMatchRegularExpression on phpunit 90 set (#​666)
  • Fix assert PHPStan on ConfiguredMockEntityToSetterObjectRector (#​665)

v2.3.9: Released Rector 2.3.9

Compare Source

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

v2.3.8: Released Rector 2.3.8

Compare Source

Bugfixes 🐛

  • [CodeQuality] Only allow from final class or constant is marked final on VariableConstFetchToClassConstFetchRector (#​7904)
  • [CodeQuality] Skip custom exception param order flipped on no namespace on ThrowWithPreviousExceptionRector (#​7906)
  • [DeadCode] Skip different default param not typed on RemoveParentDelegatingConstructorRector (#​7905)
  • [DeadCode] Skip non-literal 0 or 1 usage on RemoveDeadZeroAndOneOperationRector (#​7907)
  • [TypeDeclarationDocblocks] Typo fix RuleDefinition description on AddVarArrayDocblockFromDimFetchAssignRector (#​7902)
  • [Php83] Fix infinite add - remove #[Override] on tearDown() method on AddOverrideAttributeToOverriddenMethodsRector when combined with NoSetupWithParentCallOverrideRector (#​7903)

rectorphp/rector-symfony

  • [CodeQuality] Skip symfony UuidV4 on ControllerMethodInjectionToConstructorRector (#​922)

v2.3.7: Released Rector 2.3.7

Compare Source

New Features 🥳


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)

rectorphp/rector-downgrade-php ⬇️

  • [DowngradePhp82] Add DowngradeUnionIntersectionRector (#​363)
  • [DowngradePhp80] Fix combine DowngradeThrowExprRector + DowngradeNullsafeToTernaryOperatorRector (#​362)
  • [DowngradePhp80] Fix on Arg and return ternary on DowngradeThrowExprRector (#​361)

v2.3.6: Released Rector 2.3.6

Compare Source

New Features 🥳


Bugfixes 🐛

  • [Php83] Handle parent class consume trait on AddOverrideAttributeToOverriddenMethodsRector (#​7868)
  • Fix fixture source warning on AddOverrideAttributeToOverriddenMethodsRector (missing TestCase suffix) (#​7869)
  • add JSON_THROW_ON_ERROR even if there is already a flag (#​7867), Thanks @​Lenny4!
  • [DeadCode] No need additional parentheses () on multiply to function call (#​7883)
  • [Php80] Handle crash on empty name attribute field value on AnnotationToAttributeRector (#​7864)
  • Fix JsonValidateRector: remove associative argument not supported by json_validate (#​7865), Thanks @​carlos-granados!
  • Fix deep ArrayItem scope filling on Foreach_ value (#​7873)
  • Fix StaticCallOnNonStaticToInstanceCallRector for same-class calls (#​7876), Thanks @​carlos-granados!
  • Bump PHPStan to 2.1.38 (#​7879)
  • [DeadCode] Allow remove @​var on expression assign on RemoveUselessVarTagRector (#​7871)
  • [DeadCode] Handle multiply to parenthesized on RemoveDeadZeroAndOneOperationRector (#​7882)

rectorphp/rector-symfony 🎵


rectorphp/rector-phpunit 🟢

  • [phpunit 12] Add CreateStubInCoalesceArgRector (#​650)
  • [code-quality] Add DecorateWillReturnMapWithExpectsMockRector (#​649)
  • [code-quality] Add RemoveStandaloneCreateMockRector (#​648)
  • add class method (#​647)
  • improve check for used mock property (#​646)
  • skip if used in array (#​645)
  • [code-quality] Add RemoveNeverUsedMockPropertyRector (#​644)
  • [phpunit 12] Add AllowMockObjectsForDataProviderRector (#​643)
  • add to setUp with only variables (#​642)
  • [phpunit 12] Add AllowMockObjectsWhereParentClassRector (#​641)
  • improve AllowMockObjectsWithoutExpectationsAttributeRector (#​639)
  • add fixture (#​638)
  • handle in call likes as well (#​637)
  • [code-quality] Add InlineStubPropertyToCreateStubMethodCallRector (#​636)
  • skip property fetch in CreateStubOverCreateMockArgRector (#​635)
  • [phpunit 12] Add PropertyCreateMockToCreateStubRector (#​634)
  • add variable support to CreateStubOverCreateMockArgRector (#​633)
  • [CodeQuality] Add failing fixture crash on deep ArrayItem as Foreach_ value on DirectInstanceOverMockArgRector (#​632)
  • skip abstract entity and interface, as cannot be instantiated (#​630)
  • [code-quality] Add ConfiguredMockEntityToSetterObjectRector (#​629)
  • [code-quality] Add AssertThatToDirectAssertRector (#​627)
  • [phpunit 12] Add ExpressionCreateMockToCreateStubRector (#​626)
  • cover interfaces in BareCreateMockAssignToDirectUseRector (#​625)
  • [code-quality] Add SuffixMockObjectPropertyRector, not enabled (#​622)
  • [phpunit 12] Add ExplicitMockExpectsCallRector (#​621)

v2.3.5: Released Rector 2.3.5

Compare Source

New Features 🥳


Bugfixes 🐛

  • Fix ArrayItem scope filling on Foreach_ value (#​7858)
  • Fix use of deprecated Node\Expr\ArrayItem over Node\ArrayItem (#​7859)
  • make PropertyFetchFinder more generic (to be used in rector-phpunit) (#​7860)
  • Fix arrow function scope search in BetterNodeFinder (#​7861)

rectorphp/rector-symfony 🎵

  • Rename Annotation\Route attributes to Attribute\Route on Symfony 7.x (#​917), Thanks @​mickverm

rectorphp/rector-doctrine 🟠

  • [ODM 2.16] Rename 'Doctrine\ODM\MongoDB\Mapping\Annotations' namespace to 'Doctrine\ODM\MongoDB\Mapping\Attribute' (#​477), Thanks @​mickverm

rectorphp/rector-phpunit 🟢

  • [code-quality] Add NoSetupWithParentCallOverrideRector (#​617)
  • [code-quality] Add BareCreateMockAssignToDirectUseRector (#​611)
  • [code-quality] Add DirectInstanceOverMockArgRector (#​609)
  • [PHPUnit 12] Add CreateStubOverCreateMockArgRector (#​608)

v2.3.4: Released Rector 2.3.4

Compare Source

Bugfixes 🐛

  • Bump to PHPStan ^2.1.36 (#​7850)
  • [Php81] Exclude Doctrine ODM MongoDB 2.16 Document and EmbeddedDocument from ReadOnlyPropertyRector. (#​7848), Thanks @​mickverm!

v2.3.3: Released Rector 2.3.3

Compare Source

Bugfixes 🐛

v2.3.2: Released Rector 2.3.2

Compare Source

New Features 🥳

  • [dx] Rename DeprecatedAnnotationToDeprecatedAttributeRector for PHP 8.5 to explicit ConstAndTraitDeprecatedAttributeRector, add trait suport (#​7823)

Bugfixes 🐛

  • Bump to PHPStan 2.1.34 and fix compatible code (rectorphp/rector-src#7844)
  • [perf] optimize ParamTypeByMethodCallTypeRector for speed with early checks (#​7831)
  • make resolveClassReflection non-nullable as always passed a node (#​7833)
  • [Php74] Skip closure in attribute on ClosureToArrowFunctionRector (#​7834)
  • Manage named arguments when removing values (#​7835), Thanks @​carlos-granados!
  • bump to PHP 8.3 + update deps + allow it in CI (#​7838)
  • Support array_values in ArrayFirstLastRector (#​7830), Thanks @​Orest-Divintari!
  • [Php85] Skip as assigned var/op on ArrayFirstLastRector (#​7843)
  • Remove no longer needed tweak AlwaysRememberedExpr on Printer per PHPStan 2.1.34 (#​7770)

rectorphp/rector-phpunit 🟢

v2.3.1: Released Rector 2.3.1

Compare Source

New Features and Changes 🥳

  • [tdd] Add AddReturnDocblockForDimFetchArrayFromAssignsRector (#​7792)
  • [tdd] Add AddReturnDocblockFromMethodCallDocblockRector (#​7796)
  • [tdd] Add AddVarArrayDocblockFromDimFetchAssignRector (#​7801)
  • [DeadCode] Add RemoveDeadIfBlocksRector (#​7528), Thanks @​john-shaffer!
  • [dead-code] Add RemoveVoidDocblockFromMagicMethodRector (#​7822) - Thanks @​parijke!
  • [experiment] Remove leaveNode() method on AbstractRector and CallableNodeVisitor (#​7767)

Bugfixes 🐛

  • Skip Doctrine Connection calls in AddReturnDocblockFromMethodCallDocblockRector (#​7797)
  • add static all support to AddReturnDocblockFromMethodCallDocblockRector (#​7798)
  • add object support to DocblockReturnArrayFromDirectArrayInstanceRector (#​7795)
  • [TypeDeclarationDocblocks] Use FQCN return docblock for array of object types on AddReturnDocblockFromMethodCallDocblockRector (#​7800), Thanks @​guanguans!
  • [php 8.3] cover private abstract constants in AddTypeToConstRector (#​7804)
  • Add check for append in foreach items assignment (#​7815), Thanks @​solverat!
  • Static closure rule ignores arguments with $this binding (#​7721), Thanks @​peterfox!
  • fix: skip non-native methods (#​7747), Thanks @​calebdw!
  • [Php74] Fix indentation space on ClosureToArrowFunctionRector with comment inner closure (#​7779)
  • [DeadCode] Handle crash when parent does not has default param and child has (#​7782)
  • fix mixed[] override with empty array in DocblockReturnArrayFromDirectArrayInstanceRector (#​7793)
  • [ChangesReporting] Fix total changed result on JsonOutputFormatter (#​7807)
  • Manage named arguments when replacing a value (#​7784), Thanks @​carlos-granados!
  • [DeadCode] Register RemoveNextSameValueConditionRector in dead-code set (#​7790)
  • [DeadCode] Skip final and non-public __construct() on RemoveParentDelegatingConstructorRector (#​7806)
  • [DeadCode][Php80] Handle crash on mix ClassPropertyAssignToConstructorPromotionRector+RemoveParentDelegatingConstructorRector (#​7799)
  • [DeadCode] Skip with elseif/else on RemoveNextSameValueConditionRector (#​7809)
  • [DeadCode] Merge comment on RemoveNextSameValueConditionRector (#​7810)
  • skip marker attribute in RemoveEmptyClassMethodRector (#​7813)
  • [DeadCode] Skip private promoted property on RemoveParentDelegatingConstructorRector (#​7817)
  • Remove rector from rule definition title (#​7820), Thanks @​simonschaufi!
  • [experiment-next] Remove leaveNode() calls on AbstractImmutableNodeTraverser (#​7778)
  • [DeadCode] Handle multi vars on RemoveNonExistingVarAnnotationRector (#​7780)
  • [Php71] Try to handle no variants on RemoveExtraParametersRector (#​7803)

v2.3.0: Released Rector 2.3

Compare Source

New Features 🥳


Bugfixes 🐛

  • Manage named arguments in ArgumentAdderRector rule (#​7777), Thanks @​carlos-granados!
  • [compat] Add SymplifyQuoteEscapeRector deprecated rule for BC layer (#​7744)
  • [Php81] Skip on Param default on ArrayToFirstClassCallableRector (#​7749)
  • [CodeQuality] Handle ternary in identical left/right on UseIdenticalOverEqualWithSameTypeRector (#​7748)
  • fix: chained calls on static calls (#​7746), Thanks @​calebdw!
  • [code-quality] Extract standalone SortAttributeNamedArgsRector from SortNamedParamRector, to slightly different areas (#​7750)
  • [rename] Rename SortNamedParamRector to SortCallLikeNamedArgsRector to be more clear about the intent (#​7751)
  • [Php85] Skip under unset() on ArrayFirstLastRector (#​7752)
  • [Php81] ArrayToFirstClassCallableRector should not skip non-public methods from owning scope (#​7760), Thanks @​acoulton!
  • [fix] wrap ternary in parenthese on string casting, if only cond is casted (#​7745)
  • [internal] Fix inline replace block removal not removed on deep block for InlineIfToExplicitIfRector + ReplaceBlockToItsStmtsRector (#​7764)
  • [TypeDeclaration] Skip class not found on ObjectTypedPropertyFromJMSSerializerAttributeTypeRector (#​7774)
  • [Php85] Skip defined int or string on ArrayKeyExistsNullToEmptyStringRector (#​7758)

Removed 💀

  • [DeadCode] Skip trait on RemoveAlwaysTrueIfConditionRector (#​7759)
  • [internal] Remove duplicated enterNode() type check already handled in node traverser (#​7717)
  • [dx] warn about deprecated beforeTraverse() method once FileNode is ready (#​7768)
  • [DeadCode] Skip next assign expr has side effect inside try {} on RemoveDoubleAssignRector (#​7775)
  • [DeadCode] Skip with different default param value child vs parent on RemoveParentDelegatingConstructorRector (#​7776)

rectorphp/rector-symfony 🎵

  • bump (#​911)
  • [code-quality] Add ReturnDirectJsonResponseRector (#​910)
  • Fix scoped downgrade SymfonyClass (#​909)
  • cover is safe (#​908)
  • [twig] add explicit attribute name arg, to improve context (#​907)
  • [Symfony73] Fix named arg different position crash on InvokableCommandInputAttributeRector (#​905)
  • [CodeQuality] Skip UserInterface instance on ControllerMethodInjectionToConstructorRector (#​904)
  • create ClassMethod directly in InvokableCommandInputAttributeRector, to keep newline per attribute (#​903)
  • Remove InvokableCommandInputAttributeRector from set (#​901)
  • [Validator] use constants for Email (#​900), Thanks @​JohJohan

rectorphp/rector-doctrine 🟠


rectorphp/rector-phpunit 🟢

  • [AnnotationsToAttributes] Handle both annotation and attributes exists on DataProviderAnnotationToAttributeRector (#​603)
  • [fix] skip AddInstanceofAssertForNullableArgumentRector on assert call (#​602)
  • [code-quality] Add AddInstanceofAssertForNullableArgumentRector (#​601)
  • use FileNode in DeclareStrictTypesTestsRector (#​599)

v2.2.14: Released Rector 2.2.14

Compare Source

Bugfixes 🐛
  • [fix] warn early about deprecated skipped rules, as not neccessary to skip anymore + restore FirstClassCallableRector and mark as deprecated to keep BC (#​7742)

v2.2.13: Released Rector 2.2.13

Compare Source

Bugfixes 🐛
  • [fix] restore missing pInterpolatedStringPart(), cover with test (#​7741)

v2.2.12: Released Rector 2.2.12

Compare Source

Bugfixes 🐛

  • [cleanup] Make FirstClassCallableRector use attributes over node traverser hacks (#​7696)
  • [CodingStyle] Skip enum case on NewlineBetweenClassLikeStmtsRector (#​7698), Thanks @​parth391!
  • [fix] skip all-but standalone assign on SetTypeToCastRector (#​7699)
  • [fix] avoid changing generic interface in NarrowObjectReturnTypeRector, focus on objects as in definition (#​7700)
  • Remove direct NodeTravser::* where possible, use node visitor attribute key instead (#​7697)

Removed and Deprecated 💀

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/dev branch 2 times, most recently from e430452 to 921d950 Compare May 11, 2026 09:59
@renovate renovate Bot force-pushed the renovate/dev branch from 921d950 to adf9b61 Compare May 19, 2026 13:10
@renovate renovate Bot changed the title Update dependency rector/rector to ^2.4.2 Update dependency rector/rector to ^2.4.3 May 19, 2026
@renovate renovate Bot force-pushed the renovate/dev branch 2 times, most recently from 6d1814b to 51d3040 Compare May 27, 2026 21:32
@renovate renovate Bot changed the title Update dependency rector/rector to ^2.4.3 Update dependency rector/rector to ^2.4.4 May 27, 2026
@renovate renovate Bot changed the title Update dependency rector/rector to ^2.4.4 Update Development packages to ^2.4.4 Jun 2, 2026
@renovate renovate Bot force-pushed the renovate/dev branch from 51d3040 to 25104d7 Compare June 2, 2026 23:30
@renovate renovate Bot changed the title Update Development packages to ^2.4.4 Update Development packages to ^2.4.5 Jun 2, 2026
@renovate renovate Bot force-pushed the renovate/dev branch from 25104d7 to ea8b4bb Compare June 4, 2026 10:09
@renovate renovate Bot changed the title Update Development packages to ^2.4.5 Update Development packages (minor) Jun 4, 2026
@renovate renovate Bot force-pushed the renovate/dev branch from ea8b4bb to 17565a9 Compare June 4, 2026 16:08
@renovate renovate Bot force-pushed the renovate/dev branch from 17565a9 to 80d9171 Compare June 8, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants