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 1.2.5 to 1.2.6 #6

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2024

Bumps rector/rector from 1.2.5 to 1.2.6.

Release notes

Sourced from rector/rector's releases.

Released Rector 1.2.6

New Features 🥳

  • [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
  • [TypeDeclaration] Add NativeMethodReflection support on ReturnStrictTypeAnalyzer (#6344)
  • [DX] Show paths not match any file/directory on ProcessCommand when given path not exists (#6307)

Bugfixes 🐛

  • [TypeDeclaration] Convert inline @​var tag to assert() (#6300), Thanks @​carlos-granados!
  • Fix incorrect result after using RemoveByType in PhpDocInfo (#6301), Thanks @​carlos-granados!
  • [TypeDeclaration] Skip nullable callable on TypedPropertyFromAssignsRector (#6308)
  • Fix LocallyCalledStaticMethodToNonStaticRector when static function is called using the class name (#6310), Thanks @​carlos-granados!
  • [Php81] Handle crash on ArrowFunction attribute on FirstClassCallableRector (#6313)
  • [Performance] Reduce double traverse on StrictNativeFunctionReturnTypeAnalyzer (#6320)
  • [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#6324)
  • [CodingStyle] Use double quote to escape quotes in EncapsedStringsToSprintfRector (#6326)
  • [TypeDeclaration] Handle crash on func call not found on BoolReturnTypeFromBooleanStrictReturnsRector (#6327)
  • Fix first class callable to use combineAcceptors() to avoid assert Arg instance error (#6330)
  • [Php81] Allow used as assign expr on ReadOnlyPropertyRector (#6331)
  • Skip arrow function in scoped search (#6333)
  • [TypeDeclaration] Better approach for native type check on ReturnStrictTypeAnalyzer (#6343)
  • [DeadCode] Skip extension load append variable on RemoveAlwaysTrueIfConditionRector (#6332)
  • [TypeDeclaration] Remove only void type on ReturnedNodesReturnTypeInfererTypeInferer (#6340)
  • [DeadCode] Skip indirect next line definition of @​var on RemoveNonExistingVarAnnotationRector (#6348)

rectorphp/rector-symfony 🎵

  • Added return type declaration rules for FormTypeInterface (#670), Thanks @​stollr

rectorphp/rector-phpunit 🟢

  • [CodeQuality] Add NarrowSingleWillReturnCallbackRector (#374)
  • [CodeQuality] Add SingleWithConsecutiveToWithRector (#370)
  • [CodeQuality] Add NarrowIdenticalWithConsecutiveRector (#369)
  • [CodeQuality] Add AddParentSetupCallOnSetupRector (#364)
  • Include match() to invoke counting in WithConsecutiveRector (#362)
  • Move WithConsecutiveRector to its PHPUnit100 namespace, CreateMockToAnonymousClassRector + PreferPHPUnitSelfCallRector to CodeQuality (#360)
  • Add existing willReturnCallback() support to WithConsecutiveRector (#358)
Commits
  • 6ca85da Rector 1.2.6
  • c154424 Updated Rector to commit c0c7502f55a3884f67a5885ed05ae2443ff53802
  • 68c7b4d Updated Rector to commit b88e910957a85adafd6fb75fbe50991b9ec871d1
  • a3f6293 Updated Rector to commit 0c9edebe4e1ca753d5bbe99e5109378155e87dde
  • b555bd2 Updated Rector to commit d17d3e814eada2fa3ada3601034407df01d84568
  • cdbdb1b Updated Rector to commit 697b37b340c3b4c73ad6f8e4cea26b7bf60ddf62
  • b86f338 Updated Rector to commit a11fc615d18396cef284c18de269711114630676
  • a5a5200 Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
  • 32c2df7 Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
  • 3df699e Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
  • 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 1.2.5 to 1.2.6.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.2.5...1.2.6)

---
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 Oct 7, 2024
@mjanser mjanser merged commit 9ada41d into main Oct 7, 2024
1 check passed
@mjanser mjanser deleted the dependabot/composer/rector/rector-1.2.6 branch October 7, 2024 05:19
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