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.19.4 to ^1.0.1 #8

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

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

Release notes

Sourced from rector/rector's releases.

Released Rector 1.0.1

New Features 🥳

  • [Custom] Add "detect-node" command to help with writing custom rules (#5576)
  • [Config] Add registerService() method to allow container extension (#5591)
  • [TypeDeclaration] Add AddTestsVoidReturnTypeWhereNoReturnRector (#5611)
  • [PHP 8.0] Add always class to AnnotationToAttribute to include string to ::class reference conversion (#5619)
  • [CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621)

Bugfixes 🐛

  • ExplicitBoolCompareRector: skip phpdoc (#5567), Thanks @​staabm!
  • Fix ArrayTypeMapper to handle arrays with UnionType items (#8225) (#5568), Thanks @​pkvach!
  • [Configuration] Fix detect /vendor on root project on vendor analyzed on VendorMissAnalyseGuard (#5569)
  • Fix missing / suffix on VendorMissAnalyseGuard (#5571)
  • [PHP81] Skip after is_string on object call on NullToStrictStringFuncCallArgRector (#5572)
  • [Config] Make sure only one of type-declaration/dead-code or with*Level() is used to avoid duplicates (#5578)
  • Fix undefined MHASH_* constant on running downgrade from php 8.0 (#5585)
  • [NodeTypeResolver] Ignore PHPStan internal error on PHPStanNodeScopeResolver on NodeScopeResolver::processNodes() (#5586)
  • [Php81] Skip possible array on NullToStrictStringFuncCallArgRector (#5587)
  • [Php81] Skip another possible cast array to string on NullToStrictStringFuncCallArgRector (#5589)
  • [Transform] Allow class const fetch value on rules() on RectorConfigBuilderRector (#5596)
  • [Performance] Use strlen() early before loop on VendorMissAnalyseGuard (#5597)
  • Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603), Thanks @​pkvach!
  • config method must be static, to avoid creating rule before loading related ctor services (#5606)
  • fix config for configured rule (rectorphp/rector-src@5edb023)
  • [PHP 8.0] Fix annotation to attribute in case of FQN class without () (#5609)
  • [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
  • [Php81] Handle after open parentheses on AnnotationToAttributeRector (#5613)
  • [BetterPhpDocParser] Move split new line with @\ to regex to support windows new line (#5615)
  • [Php81] Handle nested Fqcn UniqueConstraint on NestedAnnotationToAttributeRector (#5614)
  • [DX] Accept Y/y for confirmation of init config (#5616)
  • [CodeQuality] Skip private static call from static:: on LocallyCalledStaticMethodToNonStaticRector (#5620)
  • [PostRector] Skip remove unused imports on used in multiple docs in single node (#5604)
  • [DeadCode] Skip sub type false => bool on RemoveUselessVarTagRector (#5588)

Removed 💀

  • [DeadCode] Skip with magic __get() on RemoveUnusedPromotedPropertyRector (#5573)
  • [DX] Remove phpstan strict rules to ease contributing (#5579)
  • [DX] Remove type covarege, as handled by phpstan itself (#5583)
  • [DeadCode] Handle used in assign return on RemoveUnusedPrivatePropertyRector (#5608)
Commits
  • 258b775 Rector 1.0.1
  • faf7fee Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
  • 6ef7f81 Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
  • 53742c3 Updated Rector to commit 70fa502a59dfb8f81011a46a456e1ccb4051be76
  • b0b2790 Updated Rector to commit 4a3137cf6e5d0e0e71ee93e6f9b82ae9726603e6
  • 8e5eb93 Updated Rector to commit 4a3137cf6e5d0e0e71ee93e6f9b82ae9726603e6
  • 055cd31 Updated Rector to commit 2ff0f08bd7f7f6c848821bcabf0872f81a9c440b
  • a022b93 Updated Rector to commit 435d125053eed8764652ccf8565bde1660ee08ce
  • 51ddee6 Updated Rector to commit d62be327173447695dea93ff52d67d087d9fb9d4
  • 64ecb6b Updated Rector to commit 82d1e1b0c8b80d7a2f30aa4b0fa988a683427db9
  • Additional commits viewable in compare view

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)

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](rectorphp/rector@0.19.4...1.0.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 26, 2024
@AuroraYolo AuroraYolo merged commit 11bac4d into develop Feb 29, 2024
0 of 14 checks passed
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-tw-1.0.1 branch February 29, 2024 09:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant