Skip to content

Commit

Permalink
Update rector/rector requirement from ^1.0 to ^1.0 || ^2.0 (#39)
Browse files Browse the repository at this point in the history
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 2.0.5</h2>
<h2>This release support <strong>PHP-Parser 5.4.0</strong> and
<strong>PHPStan 2.1.0</strong></h2>
<h2>Feature</h2>
<ul>
<li>Bump to PHP-Parser ^5.4.0 with use patches fix-patch-php-parser-54
patches (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6637">#6637</a>)</li>
<li>Bump to PHPStan ^2.1.0 (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6639">#6639</a>)</li>
<li>[DeadCode] Allow remove useless @ var on typed class constant as
well on RemoveUselessVarTagRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6633">#6633</a>)</li>
</ul>
<h2>Removed 💀</h2>
<ul>
<li>Remove unused AssignVariableNameResolverInterface instances (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6631">#6631</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>Bugfixes 🐛</h2>
<ul>
<li>[DX] Warn about -&gt;withPhpSets() called multiple times, to avoid
invalid set mix (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6632">#6632</a>)</li>
<li>[CodeQuality] Skip fopen() or die() on LogicalToBooleanRector on
assign (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6635">#6635</a>)</li>
<li>use vendor-patches main branch that already include php-parser 5.4.0
patch (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6638">#6638</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rectorphp/rector/commit/f3354fbbdbeb090a53f5260fa5841d373540a831"><code>f3354fb</code></a>
Rector 2.0.5</li>
<li><a
href="https://github.com/rectorphp/rector/commit/2c903ab6252becb58fbf7dc60942820bfe577545"><code>2c903ab</code></a>
Updated Rector to commit c20860d38fabc003dff096168bbfd99479e9242a</li>
<li><a
href="https://github.com/rectorphp/rector/commit/84e1eb5aff2df851af96c4515bf1ba112c7bee82"><code>84e1eb5</code></a>
Updated Rector to commit 97347fbed99e372bc2a6bd46c30f615c0be12d5f</li>
<li><a
href="https://github.com/rectorphp/rector/commit/f99d6f30c0a3e31ceb9eddc9a8085f3be7a08171"><code>f99d6f3</code></a>
Updated Rector to commit 8834b334b5468636f08ed4c54994eff839a2fb81</li>
<li><a
href="https://github.com/rectorphp/rector/commit/baa2bd468d3f356214fdb73db5241a5873e91cca"><code>baa2bd4</code></a>
Updated Rector to commit 17d266fecf2392bd90b929948758c31898e959e2</li>
<li><a
href="https://github.com/rectorphp/rector/commit/376ef501154fa286870da4b46910be34b1ea9f71"><code>376ef50</code></a>
Updated Rector to commit eb272ee7ab00184569bd327819d69a305e19fdcb</li>
<li><a
href="https://github.com/rectorphp/rector/commit/8bafaa06b53e68d3ce75970a11fe88e9a743d911"><code>8bafaa0</code></a>
Updated Rector to commit dfe6f2d43c20b7883ad5354d59c859f3ad85cae4</li>
<li><a
href="https://github.com/rectorphp/rector/commit/24e1aacac41735a02854e707085edc48f386a48b"><code>24e1aac</code></a>
Updated Rector to commit 7bbe9ba2af41fbb64a2817cd44d19665aa79f186</li>
<li><a
href="https://github.com/rectorphp/rector/commit/59d44f79857c75c94bb4bd889fe757252ecb5a41"><code>59d44f7</code></a>
Updated Rector to commit 5f21af7a492f8be43972c1d89fa150ae9e37475c</li>
<li><a
href="https://github.com/rectorphp/rector/commit/df5de7b80deced1ea7f719a0b4d02e4aee87dd21"><code>df5de7b</code></a>
Rector 2.0.4</li>
<li>Additional commits viewable in <a
href="https://github.com/rectorphp/rector/compare/1.0.0...2.0.5">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-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 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 2, 2025
1 parent 8f73593 commit e88c3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require-dev": {
"jane-php/open-api-3": "^7.6",
"friendsofphp/php-cs-fixer": "^3.56",
"rector/rector": "^1.0"
"rector/rector": "^1.0 || ^2.0"
},
"config": {
"allow-plugins": {
Expand Down

0 comments on commit e88c3c2

Please sign in to comment.