minor #15019 Update rector/rector requirement from ^0.15.13 to ^0.16.0 (dependabot[bot])

This PR was merged into the 1.13 branch.

Discussion
----------

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rectorphp/rector/releases">rector/rector's releases</a>.</em></p>
<blockquote>
<h2>Released Rector 0.16.0</h2>
<h2>New Features 🥳</h2>
<ul>
<li>[TypeDeclaration] Add WhileNullableToInstanceofRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3680">#3680</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>Bugfixes 🐛</h2>
<ul>
<li>Fix SingleInArrayToCompareRector if array item is variadic (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3640">#3640</a>), Thanks <a href="https://github.com/raoz"><code>@​raoz</code></a>!</li>
<li>[Php80] Handle crash leaveNode() returned invalid value of type integer on TokenGetAllToObjectRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3644">#3644</a>)</li>
<li>[TypeDeclaration] Handle mix InlineHTML on FileWithoutNamespace (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3648">#3648</a>)</li>
<li>Simplify PhpFilesFinder (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3649">#3649</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>[Test] Rename fixture and refactor to solve random error (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3677">#3677</a>)</li>
<li>[TypeDeclaration] Refactor UnionTypeMapper::narrowBoolType() to allow bool|int|false converted to bool|int (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3685">#3685</a>)</li>
<li>Update phpdoc-parser to ^1.20.3 (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3691">#3691</a>)</li>
<li>[Privatization]  Skip variable assign append on ChangeReadOnlyVariableWithDefaultValueToConstantRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3687">#3687</a>), Thanks <a href="https://github.com/mickeytodd"><code>@​mickeytodd</code></a>!</li>
<li>[NodeManipulator] clean up multiple instanceof check on AssignManipulator (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3695">#3695</a>)</li>
<li>[CodeQuality] Using local variable $hasChanged on NarrowUnionTypeDocRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3697">#3697</a>)</li>
<li>Cache on successful file processing (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3614">#3614</a>), Thanks <a href="https://github.com/yguedidi"><code>@​yguedidi</code></a>!</li>
<li>[CodingStyle] Skip concat on first arg on ConsistentImplodeRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3702">#3702</a>), Thanks <a href="https://github.com/nerones"><code>@​nerones</code></a>!</li>
<li>Fix ExplicitMethodCallOverMagicGetSetRector with a protected method (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3732">#3732</a>), Thanks <a href="https://github.com/pierredup"><code>@​pierredup</code></a>!</li>
<li>[TypeDeclaration] Handle infinite loop on array_reverse with index on AddMethodCallBasedStrictParamTypeRector on php8+ feature (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3678">#3678</a>)</li>
<li>[TypeDeclaration] Handle regression multiple params no longer working on AddMethodCallBasedStrictParamTypeRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3681">#3681</a>)</li>
<li>[TypeDeclaration] Add do { } while support on WhileNullableToInstanceofRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3682">#3682</a>)</li>
<li>[Php56][Php70][Php74] Handle infinite loop on AddDefaultValueForUndefinedVariableRector+IfToSpaceshipRector+ClosureToArrowFunctionRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3701">#3701</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>Performance Improvements 🚀</h2>
<ul>
<li>[Performance] Using findFirst() for cast to (bool) so no need search all found nodes (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3642">#3642</a>)</li>
<li>[Performance] Using cheap chekc first on UndefinedVariableResolver::shouldSkipVariable() (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3643">#3643</a>)</li>
<li>[CodeQuality] Improve SimplifyIfElseToTernaryRector performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3721">#3721</a>)</li>
<li>[Renaming] Prevent overly greed type resolving in RenamePropertyRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3700">#3700</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Don't calculate diffs when <code>--no-diffs</code> is given (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3710">#3710</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Calculate diff only once per file after refactoring (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3711">#3711</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Improve PropertyFetchAnalyzer performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3654">#3654</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Improve LocalMethodCallFinder performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3651">#3651</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Improve LocalConstantFinder performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3652">#3652</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Improve NodeComparator performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3659">#3659</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Improve ReflectionResolver performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3658">#3658</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Improve ParentClassMethodTypeOverrideGuard performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3660">#3660</a>), Thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>[PHPStanStaticTypeMapper] Improve UnionTypeMapper performance (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3686">#3686</a>)</li>
<li>[PHPStanStaticTypeMapper] Improve UnionTypeMapper performance take 2 (<a href="931e6e2450</a>)</li>
<li>[PHPStanStaticTypeMapper] Improve performance of UnionTypeMapper take 3 (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3690">#3690</a>)</li>
<li>[Renaming] Improve performance of RenameFunctionRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3699">#3699</a>)</li>
<li>Add e2e tests for consecutive changing runs (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3666">#3666</a>), Thanks <a href="https://github.com/yguedidi"><code>@​yguedidi</code></a>!</li>
<li>[Renaming] Improve performance of RenamePropertyRector (<a href="https://redirect.github.com/rectorphp/rector-src/pull/3698">#3698</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2125ff71ea"><code>2125ff7</code></a> Rector 0.16.0</li>
<li><a href="5eeea8840a"><code>5eeea88</code></a> Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8e</li>
<li><a href="e0ddc70719"><code>e0ddc70</code></a> Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5</li>
<li><a href="61359ad57c"><code>61359ad</code></a> Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5</li>
<li><a href="1e2a0a6217"><code>1e2a0a6</code></a> Updated Rector to commit 8b48059c347d98d191478504da236c4c2ba1e667</li>
<li><a href="4628b8b0cd"><code>4628b8b</code></a> Updated Rector to commit 657ec2e5af81361107cafc9c842b1d9cdf4ed760</li>
<li><a href="ab1fc21814"><code>ab1fc21</code></a> Updated Rector to commit 09b59efbc73c7cd28672d9605b9a17b8f14d2c2a</li>
<li><a href="68933a635e"><code>68933a6</code></a> Updated Rector to commit 67ce52f0a8d6fff37ca569deba67c5635684dde6</li>
<li><a href="ad0c32ebbb"><code>ad0c32e</code></a> Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89</li>
<li><a href="dd229e0b1b"><code>dd229e0</code></a> Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89</li>
<li>Additional commits viewable in <a href="https://github.com/rectorphp/rector/compare/0.15.13...0.16.0">compare view</a></li>
</ul>
</details>
<br />


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-automerge-start)
Dependabot will merge this PR once CI passes on it, as requested by @jakubtobiasz.

[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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)


</details>

Commits
-------
  Update rector/rector requirement from ^0.15.13 to ^0.16.0
This commit is contained in:
Jacob Tobiasz 2023-05-12 20:07:42 +02:00 committed by GitHub
commit 3ad89dc776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,7 @@
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"psalm/plugin-mockery": "0.11.0",
"psr/event-dispatcher": "^1.0",
"rector/rector": "^0.15.13",
"rector/rector": "^0.16.0",
"stripe/stripe-php": "^10.4",
"sylius-labs/coding-standard": "^4.2",
"symfony/browser-kit": "^5.4.21 || ^6.0",