Skip to content

Bump rector/rector from 0.12.23 to 0.15.3

Wesley Klop requested to merge dependabot/composer/rector/rector-0.15.3 into develop

Created by: dependabot[bot]

Bumps rector/rector from 0.12.23 to 0.15.3.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.15.3

New Features :partying_face:

  • [CodeQuality] Add Variable support on class arg on InlineIsAInstanceOfRector (#3261)
  • [Utils] Add ArrayChecker util to verify first data found on given array (#3262)

Bugfixes 🐛

  • [TypeDeclaration] Fix TypedPropertyFromStrictGetterMethodReturnTypeRector for default type (#3251)
  • [Privatization] Optimize ParentPropertyLookupGuard, make $class parameter required (#3252)
  • [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
  • refactors Spatie enum method calls to native enums (#3226), Thanks @​JoolsMcFly!
  • PHP80 string helpers loose comparison (#3246), Thanks @​N-Silbernagel!
  • [CodeQuality] Handle class-string case insensitive on CompleteDynamicPropertiesRector (#3260)
  • [TypeDeclaration] Handle comment + single docblock on TypedPropertyFromAssignsRector (#3264)
  • Bump PHPStan ^1.9.7 (#3268)
  • [TypeDeclaration] Do not remove multiple docblocks with comment on TypedPropertyFromAssignsRector (#3263)
  • [e2e] handle multiple classes with anonymous class on MultipleClassFileToPsr4ClassesRector file removed (#3253)

Released Rector 0.15.2

New Features :partying_face:

  • [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
  • [DeadCode] Add TargetRemoveClassMethodRector (#3240)
  • Adapt PrivateConstantToSelfRector to work on non-final classes, too (#3198), Thanks @​alfredbez!
  • [CodingStyle] Add NullifyUnionNullableRector (#3231)
  • [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
  • RenameClassRector with callback support (#3023), Thanks @​dorrogeray!

Bugfixes 🐛

  • [Php82] Handle parent already readonly on ReadOnlyClassRector (#3199)
  • [DeadCode] Skip append array data on RemoveJustPropertyFetchRector (#3201)
  • [DeadCode] Skip standalone @​return false or true on RemoveUselessReturnTagRector (#3202)
  • Fix wrong reference to replacement rule (#3203), Thanks @​jlherren!
  • [Privatization] Do not remove comment on ChangeReadOnlyPropertyWithDefaultValueToConstantRector (#3204)
  • [Naming] Skip Doctrine collection with @​var Collection on RenamePropertyToMatchTypeRector (#3209)
  • [Core] Performance improvement: Remove unnecessary re-call FileFactory::createFileInfosFromPaths() (#3210)
  • [Php71] Skip defer() function on RemoveExtraParametersRector (#3211)
  • [Core] Improve performance: remove repetitive currentFileProvider->setFile() call on PhpFileProcessor (#3213)
  • [Php81] Allow explicit mixed processed on trait on NullToStrictStringFuncCallArgRector (#3212)
  • [Privatization] Skip used by heredoc on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3216)
  • [Parallel] Fix missing process RemovedAndAddedFilesProcessor->run() on parallel process on WorkerRunner (#3218)
  • [parallel] Improve performance: Run RemovedAndAddeedFileProcessor after loop (#3219)
  • [CodeQuality] Add empty() check to FlipTypeControlToUseExclusiveTypeRector (#3224)
  • [CodeQuality][TypeDeclaration] Handle default value from constructor removed on InlineConstructorDefaultToPropertyRector+TypedPropertyFromStrictConstructorRector (#3225)
  • [TypeDeclaration] Skip yield return on AddClosureReturnTypeRector (#3227)
  • [TypeDeclaration] Skip optional yield on AddReturnTypeDeclarationFromYieldsRector (#3228)

... (truncated)

Commits
  • 3f15e3a Rector 0.15.3
  • 29be2b6 Updated Rector to commit 9c64c2a7ef9aa19592349b3928173adc9b9eb394
  • 6b7133a Updated Rector to commit d43f7498b821cf58437f622bce3b3aae290fa89e
  • 9548122 Updated Rector to commit d43f7498b821cf58437f622bce3b3aae290fa89e
  • 80b6ffc Updated Rector to commit 8c439cffaee2124388b4fd03db951f43f10a5359
  • a8b92be Updated Rector to commit 27d57142d9581209db7809c3e1f50e77140574cb
  • ee002f4 Updated Rector to commit fe5292d39dde5bfbd9ad3f652762bf70f621ee48
  • 9b5abdc Updated Rector to commit fe5292d39dde5bfbd9ad3f652762bf70f621ee48
  • 3e51438 Updated Rector to commit 5b76f7b43b18b04c4eb32fbf55d6795478a09a43
  • 11b6f00 Updated Rector to commit a94a11a157b69172d32dbdd6de3328d313f9f5ce
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports