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

chore(deps): Update dependency rector/rector to v2.0.10 #154

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 3, 2025

This PR contains the following updates:

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

Release Notes

rectorphp/rector (rector/rector)

v2.0.10: Released Rector 2.0.10

Compare Source

New Features 🥳


Bugfixes 🐛

  • [PhpParser] Re-add back get value from __DIR__ and __FILE__ on ValueResolver (#​6756)
  • [TypeDeclaration] Skip already typed param on AddClosureParamTypeForArrayReduceRector (#​6737)
  • [TypeDeclaration] Skip already typed param on AddClosureParamTypeForArrayMapRector (#​6738)
  • [Renaming] Handle crash on assign on for loop on RenameFunctionRector (#​6730)
  • [CodeQuality] Skip unused static methods in LocallyCalledStaticMethodToNonStaticRector, as should be handled by another rule (#​6731)
  • [Carbon] Fix refactor time to carbon to use ->getTimestamp() over ->timestamp (#​6733)
  • [TypeDeclaration] Unregister AddClosureParamTypeForArrayMapRector and AddClosureParamTypeForArrayReduceRector due to may read from docblock (#​6727)
  • [TypeDeclaration] Handle crash on union intersection on AddClosureParamTypeForArrayReduceRector (#​6729)
  • [Privatization] Skip magic method on PrivatizeFinalClassMethodRector (#​6734)
  • [Php74] Skip property hook on RestoreDefaultNullToNullableTypePropertyRector (#​6736)
  • [Php53] Handle parentheses in else on TernaryToElvisRector (#​6740)
  • [Php81] Handle crash Class parent was not found on MyCLabsMethodCallToEnumConstRector (#​6741)
  • [CodeQuality] Handle crash division by zero error on ForeachItemsAssignToEmptyArrayToAssignRector (#​6743)
  • fix(ValueObject): FileDiff first line number is below as expected (#​6746), Thanks @​neilime!
  • [naming] Skip variadic params in RenameParamToMatchTypeRector to avoid single naming for multiple types (#​6748)
  • Do not try to refresh attributes (#​6750), Thanks @​lyrixx!
  • [Php74] Skip with @​var doc with more specific type on ClosureToArrowFunctionRector (#​6753)
  • [Php81] Skip property hook on ReadOnlyPropertyRector (#​6758)
  • [code-quality] Skip complex new instance with args assigns in InlineArrayReturnAssignRector (#​6762)
  • [CodeQuality] Handle crash first class callable on InlineArrayReturnAssignRector (#​6763)
  • [dx] Remove 3 rules registered in both code quality and coding style levels, keep them in coding style level only (#​6757)



rectorphp/rector-symfony

  • [Symfony] Add attribute routing with mix other annotation (#​703)
  • [code-quality] Add InlineClassRoutePrefixRector (#​701)
  • Do not change method if name does not need to change (#​700), Thanks @​carlos-granados
  • [code-quality] Add attribute support (#​702)
  • [SYMFONY 5 & 6] Security add missing param (#​699), Thanks @​JohJohan



rectorphp/rector-doctrine

  • [code-quality] Add GetRepositoryServiceLocatorToRepositoryServiceInjectionRector (#​368)
  • [NodeAnalyzer] Ensure mix annotation and attribute lookup finder on AttrinationFinder::findManyBy* (#​367)
  • Add AttrinationFinder::findManyBy() (#​366)
  • Orm querybuilder set parameters to collection (#​326), Thanks @​marcelthole



rectorphp/rector-phpunit

  • add custom message support to AssertEmptyNullableObjectToAssertInstanceofRector (#​461)
  • [Attribute] Add CoversTrait support on CoversAnnotationWithValueToAttributeRector (#​460)
  • [CodeQuality] Skip union type on AssertCountWithZeroToAssertEmptyRector (#​459)

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 is behind base branch, 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 dependency An issue or pull request targeting dependencies. label Mar 3, 2025
Copy link

sonarqubecloud bot commented Mar 3, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency An issue or pull request targeting dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants