Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan-deprecation-rules ^1.2 -> ^1.2.1 age adoption passing confidence
phpstan/phpstan-doctrine ^1.5 -> ^1.5.7 age adoption passing confidence
rector/rector (source) ^1.2 -> ^1.2.10 age adoption passing confidence

Release Notes

phpstan/phpstan-deprecation-rules (phpstan/phpstan-deprecation-rules)

v1.2.1

Compare Source

phpstan/phpstan-doctrine (phpstan/phpstan-doctrine)

v1.5.7

Compare Source

  • 231d3f7 - Mark all result methods in AbstractQuery as impure
  • 25ab1ec - Test projects only in 2.0.x-dev
  • f36b6d6 - Fix tests
  • 90c4275 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 813296e - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • f36d43f - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • e26fd3c - Fix nonexistent BackedEnum in stubs
  • 992a62e - Fix after PHPStan update
  • b129887 - Cleanup skipCheckGenericClasses
  • 8b557de - Readme: index by is supported
  • 4a00482 - Fixes after PHPStan update
  • c551adc - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • bcb88b6 - Fix tests after PHPStan update
  • 14a59bb - Fix stub
  • 4f51333 - Fixes after PHPStan update
  • 261b19d - Fixes after PHPStan update
  • 493457a - Fix CS
  • c585610 - [BCB] Remove options that existed only for performance reasons
  • c17a736 - Fixes after PHPStan updates
  • a110d8a - Fix
  • 674c9d4 - Fixes after PHPStan update
  • d45a640 - Uncover everything behind the bleedingEdge flag
  • d198a78 - Fixes after TypeSpecifier BC break
  • be66017 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 039d325 - Remove test about deprecated LOCATE() function in DBAL SQLite platform
  • 0f98bd1 - Do not expect deprecation in test
  • d462eb9 - Fix CS
  • da4e194 - Put doctrine/collections:^1.6 back
  • 22a33bc - Do not run PHPStan on 7.3
  • 9ddc146 - Put doctrine/lexer:^2.0 back
  • 731ac4c - Remove obsolete skips
  • df300b9 - Update build-cs
  • bf12209 - Stop testing PHP 7.2 and 7.3
  • 767698a - Open 2.0.x

v1.5.6

Compare Source

v1.5.5

Compare Source

  • 4e9c77f - Add modified stub for ReadableCollection from doctrine/collections 1.x
  • 80f3b5f - Add phpdoc for transformation methods into other Collection stubs (fixes #​621)

v1.5.4

Compare Source

  • f61f963 - Mark immediately invoked callback params
  • de811c7 - Fix tests for PHPStan 1.12.6
  • 0d88669 - Remove commented code
  • 5169675 - Fix asserts, add Dockerfile for PHP 8.4
  • a103cfe - QueryResultTypeWalker: support pdo_pgsql float fetches on PHP 8.4
  • 8badde6 - Bump PHPUnit
  • bfb1fc9 - Allow installing dependencies on PHP 8.4 even when not all of them support it
  • d8b96f9 - Pin build-cs
  • 6cc1cb7 - Test newer PHP versions

v1.5.3

Compare Source

v1.5.2

Compare Source

  • 4d17bed - Fix support for enumType on array fields

v1.5.1

Compare Source

  • a9bb990 - EntityRepository::count returns positive int - fixes #​603
  • 6632f38 - Try to reproduce internal error
  • 285d78d - Simplify StubFilesExtensionLoader
rectorphp/rector (rector/rector)

v1.2.10: Released Rector 1.2.10

Compare Source

New Features 🥳

  • [PHP8.3] add new rectors for get_class()/get_parent_class() without arguments (#​6405), Thanks @​cabbey!

Bugfixes 🐛

  • Fix ClassDependencyManipulator to add dependency on right position (#​6413)
  • [Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector (#​6411)
  • [Privatization] Skip with parameter on PrivatizeLocalGetterToPropertyRector (#​6412)

Removed 💀

  • [DeadCode] Skip nullable @​ template on RemoveUselessReturnTagRector (#​6409)



rectorphp/rector-phpunit 🟢

  • [PHPUnit 10] Skip with Magic __get() on AssertIssetToAssertObjectHasPropertyRector (#​403)
  • [CodeQuality] Add CreateMockToDirectNewRector (#​402)
  • [CodeQuality] Add SingleMockPropertyTypeRector (#​401)
  • [CodeQuality] Skip used by trait and multiple props on NarrowUnusedSetUpDefinedPropertyRector (#​400)
  • Skip property with default value in NarrowUnusedSetUpDefinedPropertyRector (#​398)
  • [CodeQuality] Add FlipAssertRector (#​397)
  • Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector (#​395)
  • Add enum/const fetch support to AssertEqualsToSameRector (#​394)
  • skip static property in NarrowUnusedSetUpDefinedPropertyRector (#​393)

v1.2.9: Released Rector 1.2.9

Compare Source

Bugfixes 🐛

  • [Strict] Using in_array() on CallLike instead of double call on Strict Rules (#​6388)
  • [CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#​6389)
  • [CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector (#​6390)
  • [Php80] Mirror return comment on ChangeSwitchToMatchRector (#​6394)
  • [TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ (#​6395)
  • [Php80] Skip @​template T as mixed on MixedTypeRector (#​6399)
  • [DeadCode] Check TemplateType instance check on Dead*TagValueNodeAnalyzer (#​6400)
  • [CodeQuality] Skip multiple lines on JoinStringConcatRector (#​6404)
  • [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#​6406)

Removed 💀

  • [DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector (#​6392)
  • [DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector (#​6393)
  • [DeadCode] Skip @​template tag on RemoveUselessVarTagRector (#​6396)
  • [DeadCode] Support multiple templates in RemoveUselessVarTagRector (#​6402), Thanks @​dragosprotung!



rectorphp/rector-symfony 🎵


rectorphp/rector-phpunit 🟢

  • [code-quality] Add NarrowUnusedSetUpDefinedPropertyRector (#​388)
  • Add enum/const fetch support to AssertEqualsToSameRector (#​394)
  • Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector (#​395)
  • [AnnotationsToAttribute] Skip not in test on AnnotationWithValueToAttributeRector (#​387)
  • Add ReplaceTestFunctionPrefixWithAttributeRector (#​386), Thanks @​blackwolf12333

v1.2.8: Released Rector 1.2.8

Compare Source

Bugfixes 🐛

  • [UnusedImport] Fix removing multiple uses (#​6376), Thanks @​jorgsowa!
  • [PostRector] Clean up variables and conditional usage on UnusedImportRemovingPostRector (#​6378)
  • [PostRector] Reduce repetitive toString() on loop on UnusedImportRemovingPostRector (#​6379)
  • [CodeQuality] Skip no @​ property doc on DynamicDocBlockPropertyToNativePropertyRector (#​6380)
  • [CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#​6381)
  • [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#​6382)
  • Fix duplicated register ContinueToBreakInSwitchRector in php52.php and php73.php (#​6385)
  • [AutoImport] Fix missing @​ in deep annotation auto import (#​6386)
  • [DeadCode] Skip non FullyQualified property type on RemoveTypedPropertyNonMockDocblockRector (#​6383)

New Features 🥳

  • [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#​5691)
  • [DX] [Experimental] Add withPhpLevel() to raise PHP level one rule at a time (#​6261)

v1.2.7: Released Rector 1.2.7

Compare Source

New Features 🥳


Bugfixes 🐛

  • Fixed --memory-limit=-1 option handling when used in parallel (#​6349), Thanks @​ddegasperi!
  • [Php70] Fix delimiter in the middle on EregToPregMatchRector (#​6356)
  • [Php70] More delimiter case in the middle fix on EregToPregMatchRector (#​6357)
  • [Php80] Cast string/int for int vs string condition and case condition on ChangeSwitchToMatchRector (#​6359)
  • [DeadCode] Skip from call with return docblock on ReduceAlwaysFalseIfOrRector (#​6361)
  • [TypeDeclaration] Closure Param Types from Iterator Source (#​6345), Thanks @​peterfox!
  • [Privatization] Allow privatize protected promoted property on PrivatizeFinalClassPropertyRector (#​6360)
  • [DeadCode] Skip with Else and ElseIf on SimplifyIfNotNullReturnRector (#​6365)
  • [Php70] Handle empty branch crash on unprintable char \x0C on EregToPregMatchRector (#​6368)
  • [UnusedImport] Different letter case for classes + optimization (#​6362), Thanks @​jorgsowa!
  • [CodeQuality] Skip else indirect return on SimplifyIfReturnBoolRector (#​6371)
  • [CodeQuality] Clean up else check on SimplifyIfReturnBoolRector (#​6372)
  • [TypeDeclaration] Fix deep nested array docblock with \ prefix on ReturnTypeFromStrictNewArrayRector (#​6373)
  • [EarlyReturn] Skip nested with OR in root if statement condition on ChangeNestedForeachIfsToEarlyContinueRector (#​6375)
  • [DeadCode] Skip RemoveUnusedPrivatePropertyRector in middle assign (#​6363)

Removed 💀

  • [NodeAnalyzer] Remove ClassAnalyzer::isAnonymousClassName() (#​6351)
  • [NodeAnalyzer] Remove unused AstResolver on VariadicAnalyzer (#​6353)
  • [DeadCode] Clean up double private method filtering on RemoveUnusedPrivateMethodRector (#​6364)
  • [DeadCode] Skip union docblock param with is_object() native type check on RemoveAlwaysTrueIfConditionRector (#​6370)



rectorphp/rector-symfony 🎵

  • [CodeQuality] Add AddTraitGetterReturnTypeBasedOnSetterRequiredRector (#​671)

rectorphp/rector-phpunit 🟢

  • [PHPUnit 10] Add ifs as default way for withConsecutive, as more readable and opens upgrade during PHPUnit 9 (#​382)
  • Use simple direct assert on consecutive in case of arrow function in callable (#​381)
  • Use more readable ifs on will return in WithConsecutiveRector (#​380)
  • add NarrowSingleWillReturnCallbackRector to code quality set (#​379)

v1.2.6: Released Rector 1.2.6

Compare Source

New Features 🥳

  • [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#​6339)
  • [TypeDeclaration] Add NativeMethodReflection support on ReturnStrictTypeAnalyzer (#​6344)
  • [DX] Show paths not match any file/directory on ProcessCommand when given path not exists (#​6307)

Bugfixes 🐛

  • [TypeDeclaration] Convert inline @​var tag to assert() (#​6300), Thanks @​carlos-granados!
  • Fix incorrect result after using RemoveByType in PhpDocInfo (#​6301), Thanks @​carlos-granados!
  • [TypeDeclaration] Skip nullable callable on TypedPropertyFromAssignsRector (#​6308)
  • Fix LocallyCalledStaticMethodToNonStaticRector when static function is called using the class name (#​6310), Thanks @​carlos-granados!
  • [Php81] Handle crash on ArrowFunction attribute on FirstClassCallableRector (#​6313)
  • [Performance] Reduce double traverse on StrictNativeFunctionReturnTypeAnalyzer (#​6320)
  • [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#​6324)
  • [CodingStyle] Use double quote to escape quotes in EncapsedStringsToSprintfRector (#​6326)
  • [TypeDeclaration] Handle crash on func call not found on BoolReturnTypeFromBooleanStrictReturnsRector (#​6327)
  • Fix first class callable to use combineAcceptors() to avoid assert Arg instance error (#​6330)
  • [Php81] Allow used as assign expr on ReadOnlyPropertyRector (#​6331)
  • Skip arrow function in scoped search (#​6333)
  • [TypeDeclaration] Better approach for native type check on ReturnStrictTypeAnalyzer (#​6343)
  • [DeadCode] Skip extension load append variable on RemoveAlwaysTrueIfConditionRector (#​6332)
  • [TypeDeclaration] Remove only void type on ReturnedNodesReturnTypeInfererTypeInferer (#​6340)
  • [DeadCode] Skip indirect next line definition of @​var on RemoveNonExistingVarAnnotationRector (#​6348)

rectorphp/rector-symfony 🎵

  • Added return type declaration rules for FormTypeInterface (#​670), Thanks @​stollr

rectorphp/rector-phpunit 🟢

  • [CodeQuality] Add NarrowSingleWillReturnCallbackRector (#​374)
  • [CodeQuality] Add SingleWithConsecutiveToWithRector (#​370)
  • [CodeQuality] Add NarrowIdenticalWithConsecutiveRector (#​369)
  • [CodeQuality] Add AddParentSetupCallOnSetupRector (#​364)
  • Include match() to invoke counting in WithConsecutiveRector (#​362)
  • Move WithConsecutiveRector to its PHPUnit100 namespace, CreateMockToAnonymousClassRector + PreferPHPUnitSelfCallRector to CodeQuality (#​360)
  • Add existing willReturnCallback() support to WithConsecutiveRector (#​358)

v1.2.5: Released Rector 1.2.5

Compare Source

New Features and Improvements 🥳

  • 20-30 % Rector speedup - Optimise checking the node types allowed for each rule (#​6232), Thanks @​carlos-granados!
  • [docs] Add help on the default process command (#​6226), Thanks @​94noni!
  • [TypeDeclaration] Adds AddClosureParamTypeFromArgRector (#​6258)
  • Adds AddClosureParamTypeFromObjectRector (#​6265), Thanks @​peterfox!
  • [Config] Improve ComposerJsonPhpVersionResolver API, make use of explicit php set files (#​6273)
  • [FileSystem] Add data and writable to not include on InitFilePathsResolver (#​6285)
  • always make paths absolute before processing files (#​6293), Thanks @​Kanti!

Bugfixes 🐛

  • [CodeQuality] Handle crash on first class callable inside match on OptionalParametersAfterRequiredRector (#​6263)
  • [ReturnTypeInferer] Drop this/static docblock type check on ReturnTypeInferer (#​6270)

Removed 💀

  • [deprecated] Remove deprecated ChangeAndIfToEarlyReturnRector, CallableThisArrayToAnonymousFunctionRector + casting rules (#​6276)
  • [deprecations] Remove deprecated GetClassToInstanceOfRector, UseIncrementAssignRector, DetectNodeCommand (#​6278)
  • [deprecated] Remove deprecated closure return rules, return type from strict bool/scalar returns (#​6287)


rectorphp/rector-symfony 🎵

  • Add Class_ annotation support to TemplateAnnotationToThisRenderRector (#​666)

rectorphp/rector-doctrine 🟠

  • Refactor the OrderByKeyToClassConstRector to use the new enum only in Criteria::orderBy method calls (#​336), Thanks @​julienfastre

v1.2.4: Released Rector 1.2.4

Compare Source

Bugfixes 🐛

  • Fix PropertyTypeFromStrictSetterGetterRector for default null (#​6231)
  • [Php70] Fix with \r\n on EregToPregMatchRector (#​6246)
  • Optimise post rectors (#​6240), Thanks @​carlos-granados!
  • [Php84] Do not reprint node type on ExplicitNullableParamTypeRector (#​6250)
  • Skip Doctrine collections in TypedPropertyFromAssignsRector (#​6253)
  • Skip Columns from TypedPropertyFromAssignsRector, as handled better in doctrine rules (#​6254)
  • [AutoImport] Do not add cast on valid Integer type on Name Node on auto import enabled (#​6236)
  • [AutoImport] Do not add cast on valid Integer type on aliased Name Node on auto import enabled (#​6237)
  • [Performance] Cache should traverse for AddUseStatementGuard (#​6234)

New Features 🥳

  • Adds the ScalarValueToConstFetchRector rule (#​6195), Thanks @​peterfox!
  • [TypeDeclaration] Add AddParamArrayDocblockBasedOnCallableNativeFuncCallRector (#​6233)
  • [TypeDeclaration] Add AddReturnArrayDocblockBasedOnArrayMapRector (#​6235)

Deprecated 💀

  • Deprecate PublicConstantVisibilityRector, as adds public blindly everywhere; use scope-based approach instead (#​6238)

rectorphp/rector-symfony 🎵

  • [Symfony 6.1] Skip abstract class on CommandConfigureToAttributeRector (#​662)
  • [CodeQuality] skip array + non native response return on ResponseReturnTypeControllerActionRector (#​661)
  • [CodeQuality] Skip posible return array + response on ResponseReturnTypeControllerActionRector (#​660)
  • Do not convert to array Process->setInput() (#​647), Thanks @​refsz

rectorphp/rector-doctrine 🟠

  • [CodeQuality] Skip blob type on TypedPropertyFromColumnTypeRector (#​340)
  • Fix attribute support in ImproveDoctrineCollectionDocTypeInEntityRector (#​339)

rectorphp/rector-phpunit 🔵

v1.2.3: Released Rector 1.2.3

Compare Source

New Features 🥳


Bugfixes 🐛

  • Only import docblock if import name enabled on PostFileProcessor (#​6185)
  • fix issue #​8755 about wrong systemError location (#​6184), Thanks @​llaville!
  • Support more assign cases in PropertyFetchAssignManipulator (#​6192), Thanks @​andersonamuller!
  • Skip Symfony Response in ReturnTypeFromReturnNewRector (#​6202)
  • Skip only response inside controller class (#​6204)
  • [Php54] No need reprint when array is just created on LongArrayToShortArrayRector (#​6206)
  • [TypeDeclaration] Handle crash on nullable intersection on ClosureReturnTypeRector (#​6213)
  • [Php71] Allow multiple same catches on MultiExceptionCatchRector (#​6218)
  • [CodeQuality] Skip Generator on SimplifyForeachToCoalescingRector (#​6221)
  • [CodeQuality] Ensure check native array type on Foreach* rules (#​6222)
  • [TypeDeclaration] Skip isset and empty with index on param variable on StrictArrayParamDimFetchRector (#​6227)
  • [TypeDeclaration] Skip mixed in union on ClosureReturnTypeRector (#​6228)

Removed 💀




rectorphp/rector-symfony 🎵

  • Add the Symfony 7.0 set to SymfonySetList.php (#​659), Thanks @​pbowyer
  • [Config] Add ParameterBagToAutowireAttributeRector (#​654)
  • add void fixture (#​653)
  • [CodeQuality] Remove no returns check on ResponseReturnTypeControllerActionRector (#​652)
  • Add new Response() support to ResponseReturnTypeControllerActionRector (#​651)
  • [Configs] Add MergeServiceNameTypeRector (#​650)
  • Deprecate ServicesSetNameToSetTypeRector as it creates invalid code (#​649)

rectorphp/rector-doctrine 🟠

  • Add ODM support to TypedPropertyFromToManyRelationTypeRector (#​335)
  • Add next fixture (#​334)
  • Include ODM in description (#​333)
  • Add TYPED_COLLECTIONS set, to have rules deadling with collections together (#​332)
  • Merge AddReturnDocBlockToCollectionPropertyGetterByToManyAttributeRector to single rule (#​331)
  • Add odm support to AddReturnDocBlockToCollectionPropertyGetterByToManyAnnotationRector (#​330)
  • Add ODM support to ExplicitRelationCollectionRector (#​329)

rectorphp/rector-phpunit 🔵

  • [PHPUnit100] Skip First class callable on RemoveSetMethodsMethodCallRector (#​352)
  • Add magic methods mocking to RemoveSetMethodsMethodCallRector (#​351)
  • [CodeQuality] SetUpBeforeClassToSetUpRector (#​350)

v1.2.2: Released Rector 1.2.2

Compare Source

New Features 🥳

  • [TypeDeclaration] Add ReturnTypeFromMockObjectRector (#​6166)
  • [TypeDeclaration] Add TypedPropertyFromCreateMockAssignRector (#​6177)

Bugfixes 🐛

  • Skip phpdoc types in NumericReturnTypeFromStrictReturnsRector (#​6153), Thanks @​staabm!
  • [TypeDeclaration] Fix union type by multiple method calls on ParamTypeByMethodCallTypeRector (#​6155)
  • [TypeDeclaration] Handle throw without new on on ParamTypeByMethodCallTypeRector (#​6156)
  • [TypeDeclaration] Refactor CallerParamMatcher to avoid ambigous returns usage (#​6157)
  • [TypeDeclaration] Prevent uncaught exception in ReturnTypeFromReturnNewRector (#​6159), Thanks @​staabm!
  • Prevent uncaught class-not-found exceptions (#​6160), Thanks @​staabm!
  • [TypeDeclaration] Skip variadic on StrictArrayParamDimFetchRector (#​6163)
  • [CodeQuality] Skip used in next stmt on UnusedForeachValueToArrayKeysRector (#​6164)
  • [Scoper] Fix prefixed MockObject on ReturnTypeFromMockObjectRector (#​6167)
  • [TypeDeclaration] Flip position between bool return and return tyep from strict constant on TypeDeclarationLevel (#​6168)
  • [TypeDeclaration] Skip possible void and return by docblock on ReturnTypeFromMockObjectRector (#​6170)
  • [TypeDeclaration] Update fixture and example method name (#​6171)
  • [NodeTypeResolver] Handle crash on variable variable with assign on FirstClassCallableRector (#​6173)
  • [NodeTypeResolver] Clean up re-fill scope on PHPStanNodeScopeResolver on variable variable (#​6174)
  • [NodeTypeResolver] Fill scope of dynamic variable variable (#​6175)
  • fix: Convert DateTime to Carbon properly when hours/minutes/seconds are used (#​6176), Thanks @​florisbosch!

v1.2.1: Released Rector 1.2.1

Compare Source

New Features 🥳

  • [type-declarations] Add ReturnNullableTypeRector (#​6110)
  • [type-declarations] Add StringsReturnTypeFromStrictScalarReturnsRector to complete the string returns (#​6111)
  • [PhpDoc] Add warning about missing PhpDocInfo name form tag value node (#​6134)
  • [TypeDeclaration] Introducing ClosureReturnTypeRector to handle closure types separately (#​6106)
  • [TypeDeclaration] Skip has named arg on AddMethodCallBasedStrictParamTypeRector (#​6137)
  • [e2e][Printer] Handle crash indentation on AddParamBasedOnParentClassMethodRector (#​6112)

Bugfixes 🐛

  • [TypeDeclaration] Skip variadic on AddParamTypeBasedOnPHPUnitDataProviderRector (#​6150)
  • [TypeDeclaration] Add ConstFetch support on ReturnTypeFromStrictConstantReturnRector (#​6151)
  • Refactor BooleanTypeMapper to handle value based on context (#​6095)
  • Check root return in ReturnTypeFromReturnNewRector (#​6102)
  • Make ReturnUnionTypeRector run on PHP 8.0+ (#​6103)
  • ReturnUnionTypeRector now return only non-nullable types, to prepare space for new nullable rule as off PHP 7.1+ (#​6105)
  • [TypeDeclaration] handle explicit if else new on ReturnTypeFromReturnNewRector (#​6104)
  • [Php70] Swap min is higher than max on RandomFunctionRector (#​6109)
  • Split StringReturnTypeFromStrictScalarReturnsRector into string, bool and numeric scalar + strict return type rules (#​6113)
  • [Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector (#​6117)
  • [TypeDeclaration] Skip void on BoolReturnTypeFromBooleanStrictReturnsRector (#​6118)
  • [TypeDeclaration] Fix inline closure type on ClosureReturnTypeRector (#​6119)
  • [TypeDeclaration] Skip start with shebang on DeclareStrictTypesRector (#​6121)
  • [Php52] Handle deep if stmts on ContinueToBreakInSwitchRector (#​6122)
  • [Php52] Handle in deep else on ContinueToBreakInSwitchRector (#​6123)
  • [TypeDeclaration] Clean up ArrowFunction check on ReturnTypeInferer (#​6124)
  • [TypeDeclaration] Skip union with yield on NumericReturnTypeFromStrictScalarReturnsRector (#​6125)
  • [Php82] Handle has only readonly properties but not all promoted property on ReadOnlyClassRector (#​6129)
  • refactor: Move function first-class-callable to a standalone rule (#​6131), Thanks @​nikolicaleksa!
  • typo (rectorphp/rector-src@d102bd1)
  • Fix ArrayDimFetchToMethodCallRector (#​6138), Thanks @​peterfox!
  • [CodeQuality] Skip used in static Closure/ArrowFunction on LocallyCalledStaticMethodToNonStaticRector (#​6139)
  • [CodeQuality] Skip multiple new lines on JoinStringConcatRector (#​6141)
  • [CodeQuality] Allow change empty() to [] compare of other object property usage on SimplifyEmptyCheckOnEmptyArrayRector (#​6147)
  • [Php55] Skip parse error on no concat in left in left Concat on PregReplaceEModifierRector (#​6148)
  • [CodingStyle] Handle with trait use adaptations on SeparateMultiUseImportsRector (#​6149)
  • [DeadCode] Remove unused @​var on key after remove key on RemoveUnusedForeachKeyRector (#​6135)
  • [DeadCode] Handle same namespace param type on RemoveUselessParamTagRector (#​6133)

Removed and deprecated 💀

  • Add - number support, deprecate ReturnTypeFromStrictScalarReturnExprRector functionality, already split (#​6114)
  • Deprecate BoolReturnTypeFromStrictScalarReturnsRector, use BoolReturnTypeFromBooleanStrictReturnsRector instead (#​6115)
  • [DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector (#​6108)
  • [DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector take 2 (#​6116)
  • [Php80] Skip used in compact() on RemoveUnusedVariableInCatchRector (#​6152)



rectorphp/rector-symfony

  • Correct return type definition for DataTransformerInterface (#​645), Thanks @​bobvandevijver
  • [Symfony 6.1] Improve CommandPropertyToAttributeRector to work with freshly created AsCommand (#​644)
  • Add more complex names support to CommandPropertyToAttributeRector (#​643)
  • [Symfony 6.3] Add ParamAndEnvAttributeRector (#​641)
  • [Symfony 6.2] Improve SecurityAttributeToIsGrantedAttributeRector (#​640)
  • Add args() support to AutowireAttributeRector (#​639)
  • [Config] Add configurable AutowireAttributeRector to add #[Autowire(...)] to services (#​637)
  • feat: add api-platform/core config key (#​635), Thanks @​dsdeboer
  • feat: add nelmio/cors-bundle config key (#​634), Thanks @​dsdeboer
  • feat: two additional config (#​633), Thanks @​dsdeboer
  • Hybrid CommandConfigureToAttributeRector (#​632), Thanks @​ruudk

rectorphp/rector-doctrine


rectorphp/rector-phpunit


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

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

@coveralls
Copy link

coveralls commented Mar 14, 2025

Coverage Status

coverage: 95.578%. remained the same
when pulling 2acd443 on renovate/composer-qa-tooling
into f27b042 on main.

@renovate renovate bot enabled auto-merge (squash) March 14, 2025 02:14
@renovate renovate bot changed the title Update Composer QA tooling dependencies chore: ${depName} update Mar 14, 2025
@renovate renovate bot changed the title chore: ${depName} update chore: phpstan/phpstan-deprecation-rules update Mar 14, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Mar 14, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot merged commit d3c5b4b into main Mar 14, 2025
14 of 15 checks passed
@renovate renovate bot deleted the renovate/composer-qa-tooling branch March 14, 2025 10:06
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.

3 participants