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 v0.18.3 #149

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rector/rector (source) require patch 0.18.2 -> 0.18.3

Release Notes

rectorphp/rector (rector/rector)

v0.18.3: Released Rector 0.18.3

Compare Source

New Features and Changes 🥳

  • [TypeDeclaration] Add return empty string defined support on ReturnTypeFromStrictScalarReturnExprRector (#​4919)
  • [TypeDeclaration] Add append in loop support on ReturnTypeFromStrictNewArrayRector (#​4922)
  • [TypeDeclaration] Add fallback return direct array support on ReturnTypeFromStrictNewArrayRector (#​4928)
  • [TypeDeclaration] Add init assign method call support on ReturnTypeFromStrictNewArrayRector (#​4929)
  • [TypeDeclaration] Skip return after return closure on AddVoidReturnTypeWhereNoReturnRector (#​4930)
  • [TypeDeclaration] Ensure ArrayType on ReturnTypeFromStrictNewArrayRector::shouldAddReturnArrayDocType() (#​4932)
  • [TypeDeclaration] Add test fixture return docblock on init method call assign as skipped on ReturnTypeFromStrictNewArrayRector (#​4933)
  • [TypeDeclaration] Add non native function return support on ReturnTypeFromStrictScalarReturnExprRector (#​4934)
  • BC: Separated regex matching in NodeNameResolver->isName() (#​4951), Thanks @​staabm!
  • Add support for Custom Skip Voters (#​5002), Thanks @​kaczenski!
  • Implement a max jobs per worker budget (#​4965), Thanks @​staabm!
  • Prevent unnecessary calls to spl_object_id() (#​4992), Thanks @​staabm!
  • Refactor use import resolving (#​4998), Thanks @​staabm!
  • NodeNameResolver: Throw exception in BC breaking path (#​4980), Thanks @​staabm!
  • [Internals] Decouple output from AbstractRector, narrow debugging output to file path (#​4976)
  • Update docblock only when changed, directly in rector rule (#​4986)

Bugfixes 🐛

  • AddVoidReturnTypeWhereNoReturnRector: fix never type handling (#​4918), Thanks @​staabm!
  • [TypeDeclaration] Use $type->isScalar()->yes() on AlwaysStrictScalarExprAnalyzer (#​4920)
  • Refactor BetterNodeFinder::findFirstInFunctionLikeScoped() to work with SilentVoidResolver (#​4931)
  • [NodeTypeResolver] Handle isObjectType() on new $class dynamic variable should return false compare to Object FQCN (#​4936)
  • [Testing] Fix running unit test on macOS (#​4941)
  • Faster name resolving (#​4955), Thanks @​staabm!
  • UseImportsTraverser: don't deep traverse (#​4994), Thanks @​staabm!
  • [tests] Replace wildcard e2e test with unit one (#​5000)
  • [DocBlock] Update docblock contents right in the rule (#​4999)
  • [PhpParser] Fix crash read jetbrains/phpstorm-stubs included in phpstan.phar on PHP 8.0 and PHP 7.4 (#​5001)
  • RenameFunctionRector: prevent repeated isName() calls (#​5003), Thanks @​staabm!
  • Make PhpDocINfo::removeByType() return bool to inform about changed node (#​4979)

Removed 💀

  • [cleanup] Remove deprecated NonPhpRectorInterface, PseudoNamespaceToNamespaceRector and mysql to mysqli sets (#​4927)
  • Remove UnSpreadOperatorRector as not clear value and spread used on purpose (#​4949)
  • [Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#​4954)
  • [Performance][Php55] Remove regex replace e on RegexMatcher (#​4974)
  • Remove CurrentRectorProvider and used for docblock changes report, return bool value and node directly in the rector rule instead (#​4982)
  • Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#​4987)

Configuration

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

🚦 Automerge: Enabled.

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

Read more information about the use of Renovate Bot within Laminas.

| datasource | package       | from   | to     |
| ---------- | ------------- | ------ | ------ |
| packagist  | rector/rector | 0.18.2 | 0.18.3 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added the renovate label Sep 12, 2023
@renovate renovate bot merged commit cdedb23 into 1.41.x Sep 13, 2023
22 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch September 13, 2023 02:17
@samsonasik samsonasik added this to the 1.41.0 milestone Sep 13, 2023
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