Skip to content

Bump rector/rector from 0.12.23 to 0.15.2

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

Created by: dependabot[bot]

Bumps rector/rector from 0.12.23 to 0.15.2.

Release notes

Sourced from rector/rector's releases.

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)
  • [NodeTraverser] Use NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead of NodeTraverser::DONT_TRAVERSE__CHILDREN (#3233)
  • [Core] Improve performance on AstResolver and ClassLikeAstResolver (#3234)
  • [Php81] Skip ReadOnlyPropertyRector on read only class (#3236)
  • [CodingStyle] Skip new line /\r\n|\r|\n/i on ConsistentPregDelimiterRector (#3241)
  • [CodingStyle] Skip EncapsedStringsToSprintfRector on heredoc (#3242)

Released Rector 0.15.1

New Features :partying_face:

  • [CodingStyle] Split SplitGroupedConstantsAndPropertiesRector to SplitGroupedClassConstantsRector and SplitGroupedPropertiesRector (#3158)
  • Add compatible phpstan/phpdoc-parser 0.15 (#3157)

Bugfixes 🐛

  • Skip short class names in UseClassKeywordForClassNameResolutionRector (#3156)
  • [Core] Fix crash indentation on indent(\t, 1) config (#3155)
  • [TypeDeclaration] Skip union mixed on TypedPropertyFromAssignsRector (#3160)

... (truncated)

Commits
  • 5bc89fa Rector 0.15.2
  • 5b34b97 Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
  • 374d2f5 Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
  • 5003a01 Updated Rector to commit e920ade7b67a17dbf7e6129585a3261f1fd1540e
  • f233f27 Updated Rector to commit ab3ad293122bafa96d9e8fc64ac15f0220aa9ecc
  • 727b9f4 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
  • 680ba23 Updated Rector to commit 88629427917b7d359beeb1a0b34d39d2127472b9
  • e4dc601 Updated Rector to commit 3c168f03d38bb967a5e65e453f82adf120ef4eba
  • 96d8a22 Updated Rector to commit 70fea54e77ffd186e41540d2b36c5362b073fbc4
  • d72c810 Updated Rector to commit c78e255cf9cb17cedead84ff8a54f421f563942d
  • 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