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

Bump rector/rector from 0.18.2 to 0.18.3 #447

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 13, 2023

Bumps rector/rector from 0.18.2 to 0.18.3.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.18.3

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)
Commits
  • ba7988e Rector 0.18.3
  • 4d86ccb Updated Rector to commit 848c2ad9415b0e536b7864872f895f64104ecb50
  • 57dc6f9 Updated Rector to commit 7e2bc1414f8567c55934a32d856e8d92a6e31d0f
  • 0309d94 Updated Rector to commit 09baf7dd0ce61eba0944f98977834f18665f3e9f
  • 088accd Updated Rector to commit aeba96a811638e3954028b70d8163c43a8866fa8
  • 0d66043 Updated Rector to commit cbc632c1eda3f2b9aba3fba07b0f1b45cc58caec
  • f8df046 Updated Rector to commit ef003b2458043b677bdd72522439bd80afb44a2c
  • ac9f7b5 Updated Rector to commit ffa43a11e01a594d3aaafe4eb5f09f4394e90019
  • 3c6c1c0 Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
  • 35a66f9 Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.2 to 0.18.3.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.18.2...0.18.3)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 13, 2023
@github-actions github-actions bot merged commit 84ca36e into 5.x Sep 13, 2023
1 check passed
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-0.18.3 branch September 13, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants