Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rector/rector to v1.2.8 #59

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rector/rector (source) 1.2.6 -> 1.2.8 age adoption passing confidence

Release Notes

rectorphp/rector (rector/rector)

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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

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


  • 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 added the renovate label Oct 12, 2024
@renovate renovate bot changed the title Update dependency rector/rector to v1.2.7 Update dependency rector/rector to v1.2.8 Oct 18, 2024
@renovate renovate bot force-pushed the renovate/rector-rector-1.x-lockfile branch from 119b0cb to 78dbc6e Compare October 18, 2024 13:21
@blue-goheimochi blue-goheimochi merged commit e263527 into main Oct 28, 2024
2 checks passed
@blue-goheimochi blue-goheimochi deleted the renovate/rector-rector-1.x-lockfile branch October 28, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant