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.2 to ^1.0.2 #297

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2024

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

Release notes

Sourced from rector/rector's releases.

Released Rector 1.0.2

New Features and changes 🥳

  • Add minimal memory limit for local run phpstan without result cache (#5624), Thanks @​integer!
  • Add method RectorConfigBuilder::withSkipPath() (#5626), Thanks @​integer!
  • Add basic validation for skipped path (#5628), Thanks @​integer!
  • [Php80] Add DoctrineCoverterterAttributeDecorator to convert "false"/"true" string to false/true on nullable arg on Doctrine\ORM\Mapping\Column (#5629)
  • Add const fetch to class const fetch rector. (#5627), Thanks @​micaherne!
  • [DX] Add error message information for include full path to load internal phpstan bleedingEdge.neon config (#5635)
  • [TypeDeclaration] Adds AddParamTypeForFunctionLikeWithinCallLikeArgDeclarationRector rule (#5547), Thanks @​peterfox!
  • [Php83] Add type to final class constant (#5662), Thanks @​philbates35!

Bugfixes 🐛

  • [Php83] Early check private method in child before check parent on AddOverrideAttributeToOverriddenMethodsRector (#5622)
  • RectorConfigBuilder: skip and rules can be called multiple times (#5623), Thanks @​integer!
  • [CodeQuality] Skip not autoloaded parent class on CompleteDynamicPropertiesRector (#5636)
  • [Transform] Allow transform ruleWithConfiguration() to withConfiguredRule() on RectorConfigBuilderRector (#5637)
  • [Rector] Allow transform sets() to withSets() on RectorConfigBuilderRector (#5638)
  • [Transform] Allow transform disableParallel() to withoutParallel() on RectorConfigBuilderRector (#5640)
  • [Transform] Allow transform fileExtensions() to withFileExtensions() (#5641)
  • [Performance] [VendorLocker] Early allow change return type on private method on ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() (#5642)
  • [VendorLocker] Early return false on private method on ParentClassMethodTypeOverrideGuard::hasParentClassMethod() (#5644)
  • [Renaming] Handle crash on RenameFunctionRector with die() and $_SESSION usage (#5646)
  • Cleanup scope check on UnreachableStatementNodeVisitor (#5648)
  • Keep comments in annotations when converting them to attributes (#5650), Thanks @​carlos-granados!
  • [Util] Make consistent new line splitter to Util (#5651)
  • [TypeDeclaration] Fix abs() returns on ReturnTypeFromStrictTypedCallRector (#5652)
  • [TypeDeclaration] Allow abs() to return int when pass int arg on ReturnTypeFromStrictTypedCallRector (#5653)
  • [TypeDeclaration] Skip possible returns false on ReturnTypeFromStrictNewArrayRector (#5654)
  • [TypeDeclaration] Include MockObject&ClassName docblock with IntersectionTypeNode on TypedPropertyFromStrictSetUpRector (#5655)
  • [Renaming] New Rule: RenameFunctionLikeParamWithinCallLikeArgRector (#5554), Thanks @​peterfox!
  • [PHPStanStaticTypeMapper] Avoid double \ prefix on IntersectionTypeMapper (#5656)
  • [BetterPhpDocParser] Clean up unnecessary create new ConstFetchNode() on ArrayItemClassNameDecorator (#5658)
  • [Php71] Skip re-assign as string on AssignArrayToStringRector (#5659)
  • [Privatization] Skip with suffix "TestCase" on FinalizeTestCaseClassRector (#5660)
  • [Php71] Skip re-assign as string on AssignArrayToStringRector part 2 (#5661)
  • [DeadCode] Fix infinite loop on RemoveDeadStmtRector + RemoveUnusedVariableAssignRector (#5666)
  • [Php81] Skip execution operator on NullToStrictStringFuncCallArgRector (#5667)
  • [Naming] Handle crash with numeric-string doc on RenamePropertyToMatchTypeRector (#5670)
  • [CodeQuality] Handle crash on named arg on deep closure on OptionalParametersAfterRequiredRector (#5671)
  • chore: bump min version of github actions (fix deprecations) (#5675), Thanks @​Chris53897!
  • [PHP 8.0] Fix case insenstive false positive replacement for str_ends_with (#5677)
  • [Transform] Allow transform phpVersion() to withPhpVersion() on RectorConfigBuilderRector (#5678)
  • Fix duplicated fixture class name on StaticToSelfStaticMethodCallOnFinalClassRector test (#5679)
  • [CodeQuality] Skip nested array on InlineArrayReturnAssignRector (#5680)
  • [CodeQuality] Skip combine var with property fetch on InlineArrayReturnAssignRector (#5681)
  • [CodeQuality] Handle array destructuring of unpack on ArrayMergeOfNonArraysToSimpleArrayRector (#5682)

... (truncated)

Commits
  • 7596fa6 Rector 1.0.2
  • 3a69e0f Updated Rector to commit 1ae68446ee021d88238f915bc06201559a0ec82d
  • 769ac36 Updated Rector to commit 1cd83bef6196e8b8913d2252a6c8a826bafcf62a
  • c34bb45 Updated Rector to commit 2846b015388fb1eb6d65941481fe9340908c1f79
  • 659d1a4 Updated Rector to commit c591bd291650ab22554ffd819e76d01a1a405719
  • 1dbac6e Updated Rector to commit ce70534b3c8406164f630acbe6c7a1b18623d757
  • 6986e1f Updated Rector to commit c9fe3caacced982e1c21d7203e9ea0f1bb2092c8
  • d31429d Updated Rector to commit dea2e16665cf567c20664c7ef9bac38d0d7d4f49
  • 991980c Updated Rector to commit 7191fae140cc8c35a699b6487117e1efa8b4d2f5
  • 695c190 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
  • 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.2...1.0.2)

---
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 Mar 6, 2024
Copy link

codeclimate bot commented Mar 6, 2024

Code Climate has analyzed commit 4a61d16 and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 20, 2024

Superseded by #298.

@dependabot dependabot bot closed this Mar 20, 2024
@dependabot dependabot bot deleted the dependabot/composer/main/rector/rector-tw-1.0.2 branch March 20, 2024 08:15
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