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 rector/rector requirement from ^0.14.6 || ^0.15.0 || ^0.16.0 || ^0.17.0 to ^0.14.6 || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 #29

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on rector/rector to permit the latest version.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.18.4

New Features and Improvements 🥳

  • Introducing Collectors 🥳 - processing collected data + test case (#4970)
  • Run tests on macos (#5019), Thanks @​staabm!
  • Move betterNodeFinder, valueResolver, phpDocInfoFactory dependencies from AbstractRector into rules (#5071)
  • DX: Validate paths in RectorConfig->paths() (#5065), Thanks @​staabm!
  • [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
  • [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052)

Bugfixes 🐛

  • [DeadCode] RemoveDeadZeroAndOneOperationRector should not remove Constants (#4910), Thanks @​TwanVermeulen!
  • [PostRector] Fix unused import not removed on empty generic class name exists (#5012)
  • [Parallel] Handle Spaced root project main script on parallel process (#4813)
  • Fix TypedPropertyFromStrictConstructor* order (#5021), Thanks @​staabm!
  • [DX] Lower current node dependency - pass it directly to doc node parsing (#5023)
  • [AutoImport] Fix conflict current namespace auto import (#5024)
  • Simplify UseIdenticalOverEqualWithSameTypeRector (#5029), Thanks @​staabm!
  • [Performance][Testing] Use str_contains instead of regex in FixtureSplitter (#5030)
  • Fix ArrayKeyFirstLastRector: Skip exection when pointer is changed (#5038), Thanks @​scyzoryck!
  • [TypeDeclaration] Handle fallback from param same type object on ReturnTypeFromReturnNewRector (#5039)
  • [NodeTypeResolver] Use Scope->getType() on ArrayDimFetch on NodeTypeResolver::getNativeType() (#5037)
  • [NodeTypeResolver] pull getType() on ArrayDimFetch when not mixed type from its variable native definition (#5056)
  • [CodingStyle][EarlyReturn] Fix infinite if else on BinarySwitchToIfElseRector+RemoveAlwaysElseRector (#5057)
  • [TypeDeclaration] Skip ArrayDimFetch for return and param types (#5059), Thanks @​staabm!
  • [NodeTypeResolver] Handle optional array shape on native function like with ArrayDimFetch (#5062)
  • [Php80] Mirror switch comment to match to ChangeSwitchToMatchRector (#5072)
  • [AutoImport] Skip case insensitive conflict defined class name on $rectorConfig->importNames() (#5076)
  • Docblock fix on ShortNameResolver (#5077)
  • [TypeDeclaration] Add return static property support on ReturnTypeFromStrictTypedPropertyRector (#5050)

Removed and Deprecated 💀

  • [Config] Remove asterisk support in import() for file, use explicit paths instead (#5010)
  • [Performance] Remove regex check on open tag spaced check on FileProcessor (#5073)
  • Deprecate TypedPropertyFromStrictConstructorReadonlyClassRector as based on docblock and public elements; use private elements and property promotion instead (#5049)
  • Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064)
Commits

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)

…| ^0.17.0 to ^0.14.6 || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/commits/0.18.4)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

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 29, 2023
@update-docs
Copy link

update-docs bot commented Sep 29, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes.

@guanguans guanguans merged commit 5015988 into main Sep 29, 2023
11 of 18 checks passed
@delete-merged-branch delete-merged-branch bot deleted the dependabot/composer/rector/rector-tw-0.14.6or-tw-0.15.0or-tw-0.16.0or-tw-0.17.0or-tw-0.18.0 branch September 29, 2023 22:52
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.

1 participant