Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps rector/rector from 1.0.1 to 1.1.0.

Release notes

Sourced from rector/rector's releases.

Released Rector 1.1.0

New Features 🥳

  • [PHPStan] Bump to PHPStan 1.11 (#5883)

Bugfixes 🐛

  • [CodeQuality] Skip increment variable on else on TernaryFalseExpressionToIfRector (#5867)
  • [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869)
  • [NodeTypeResolver] Using built int ->isArray()->yes() on ArrayTypeAnalyzer::isArrayType() (#5870)
  • Fix "method x was not found in reflection of class" (#5871), Thanks @​staabm!
  • [NodeTypeResolver] Clean up array check on NameTypeResolver (#5872)
  • [NodeTypeResolver] Clean up "this" from NameTypeResolver, as not from Name node (#5873)
  • [TypeDeclaration] Skip array by doc with different assign on ReturnTypeFromStrictNewArrayRector (#5875)
  • [TypeDeclaration] Skip possible array on StrictStringParamConcatRector (#5876)
  • [Performance] Ensure call $reflector->reflectAllClasses() once on Worker take 3 (#5878)
  • [Performance] Call cached class names collection on FamilyRelationsAnalyzer (#5879)
  • [NodeTypeResolver] Clean up resolve cache class name key (#5880)
  • [NodeTypeResolver] No need json_decode/json_encode for cache class name collection (#5881)
  • [TypeDeclaration] Handle crash on interface Mixin on ReturnTypeFromStrictConstantReturnRector (#5884)
  • [PHPStan] Handle PHPStan internal ShouldNotHappenException on FamilyRelationsAnalyzer and PHPStanNodeScopeResolver (#5885)
  • [NodeTypeResolver] No need to resolve class name on anonymous classes (#5886)
  • [PHPStan] Fix missingType.generics notice on phpstan.neon on PHPStan 1.11 (#5888)
  • [TypeDeclaration] Skip unitialized property on EmptyOnNullableObjectToInstanceOfRector (#5889)
  • [Php80] Skip remove non-mixed type doc on MixedTypeRector (#5874)
  • [TypeDeclaration] Add test for nullable object usage on AddReturnTypeDeclarationRector (#5887)
  • [Configuration] Add missing LevelSetList::UP_TO_PHP_84 on PhpLevelSetResolver::resolveFromPhpVersion() (#5890)

Released Rector 1.0.5

New Features 🥳

  • [TypeDeclarations] Add IncreaseDeclareStrictTypesRector to raise level of declare() coverage (#5849)

Bugfixes 🐛

  • ExplicitReturnNullRector should skip never return (#5802), Thanks @​staabm!
  • Make Compatible with phpstan 1.11.x code (#5804)
  • [CodeQuality] Skip Always return in try catch with finally on ExplicitReturnNullRector (#5807)
  • [CodeQuality] Skip never type on default switch on ExplicitReturnNullRector (#5808)
  • [CodeQuality] Skip while(true) always returned on ExplicitReturnNullRector (#5810)
  • [TypeDeclaration] Skip maybe not returned on while on ReturnUnionTypeRector (#5812)
  • [Php81] Skip on property and class const on FirstClassCallableRector (#5813)
  • [Php81] Skip __invoke() usage from non-class code on FirstClassCallableRector (#5816)
  • [Php81] Skip always string if else DomElement on NullToStrictStringFuncCallArgRector (#5822)
  • [TypeDeclaration] Handle crash on @​mixin usage on ReturnTypeFromStrictTypedCallRector (#5823)
  • [Php81] Skip mixed type on ArrayDimFetch on NullToStrictStringFuncCallArgRector (#5826)
  • Fix original quotes in PregReplaceEModifierRector (#5827)
  • [CodeQuality] Skip $counter variable exists on ForRepeatedCountToOwnVariableRector (#5828)

... (truncated)

Commits
  • 556509e Rector 1.1.0
  • dfaafdb Updated Rector to commit 8e4e8823f227290fb6b014c79b48ce211c2376b5
  • dd1dd51 Updated Rector to commit 4f301f2335b0fef2934ddaf53471ebd961de1f71
  • c6998bf Updated Rector to commit 19863767c63503e19aed359d849fa55bbf3a1df9
  • 264e16f Updated Rector to commit 2deccac9b501bc1aa09ba7e8bfe6271b73e5b8dc
  • 1931c63 Updated Rector to commit b938e0797f8c3e30f527d1dabad384e4623140de
  • df8a377 Updated Rector to commit 16d1df9be8cdbdf6e5b67f97fa225731ac0c9675
  • 6372b90 Updated Rector to commit db213ee986c942d58e397b3713564349541e8de5
  • 6cf7059 Updated Rector to commit 6a5f6c53f3637b23b4488cab81ec90a0d1bef053
  • 3c1e41f Updated Rector to commit 6bd2b871c4e9741928fb48df3ca8e899be42be81
  • 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.0.1 to 1.1.0.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.0.1...1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 20, 2024
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