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

chore(deps-dev): bump rector/rector from 0.19.8 to 1.0.1 #687

Merged
merged 1 commit into from Feb 20, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rector/rector from 0.19.8 to 1.0.1.

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)

Released Rector 1.0.0 🎉🎉🎉

The stable Rector version is here. It was about time and we've done all planned changes by the end of 2023.

... (truncated)

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 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.19.8 to 1.0.1.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.19.8...1.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 16, 2024
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (733d51e) 93.60% compared to head (1c5e1d3) 93.60%.
Report is 19 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #687   +/-   ##
=========================================
  Coverage     93.60%   93.60%           
  Complexity       58       58           
=========================================
  Files            14       14           
  Lines           219      219           
=========================================
  Hits            205      205           
  Misses           14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@guanguans guanguans merged commit dbe5402 into master Feb 20, 2024
18 of 19 checks passed
@delete-merged-branch delete-merged-branch bot deleted the dependabot/composer/rector/rector-1.0.1 branch February 20, 2024 07:42
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.

None yet

1 participant