Update rector/rector requirement from ^0.18.0 to ^1.2.6 (#17097)

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 1.2.6</h2>
<h2>New Features 🥳</h2>
<ul>
<li>[TypeDeclaration] Add isset(), empty(), and negation support on
BoolReturnTypeFromBooleanStrictReturnsRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6339">#6339</a>)</li>
<li>[TypeDeclaration] Add NativeMethodReflection support on
ReturnStrictTypeAnalyzer (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6344">#6344</a>)</li>
<li>[DX] Show paths not match any file/directory on ProcessCommand when
given path not exists (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6307">#6307</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>Bugfixes 🐛</h2>
<ul>
<li>[TypeDeclaration] Convert inline <a
href="https://github.com/var"><code>@​var</code></a> tag to assert() (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6300">#6300</a>),
Thanks <a
href="https://github.com/carlos-granados"><code>@​carlos-granados</code></a>!</li>
<li>Fix incorrect result after using RemoveByType in PhpDocInfo (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6301">#6301</a>),
Thanks <a
href="https://github.com/carlos-granados"><code>@​carlos-granados</code></a>!</li>
<li>[TypeDeclaration] Skip nullable callable on
TypedPropertyFromAssignsRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6308">#6308</a>)</li>
<li>Fix LocallyCalledStaticMethodToNonStaticRector when static function
is called using the class name (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6310">#6310</a>),
Thanks <a
href="https://github.com/carlos-granados"><code>@​carlos-granados</code></a>!</li>
<li>[Php81] Handle crash on ArrowFunction attribute on
FirstClassCallableRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6313">#6313</a>)</li>
<li>[Performance] Reduce double traverse on
StrictNativeFunctionReturnTypeAnalyzer (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6320">#6320</a>)</li>
<li>[PhpParser] Alternative PR for findInstancesOfScoped() to keep
existing performance (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6324">#6324</a>)</li>
<li>[CodingStyle] Use double quote to escape quotes in
EncapsedStringsToSprintfRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6326">#6326</a>)</li>
<li>[TypeDeclaration] Handle crash on func call not found on
BoolReturnTypeFromBooleanStrictReturnsRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6327">#6327</a>)</li>
<li>Fix first class callable to use combineAcceptors() to avoid assert
Arg instance error (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6330">#6330</a>)</li>
<li>[Php81] Allow used as assign expr on ReadOnlyPropertyRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6331">#6331</a>)</li>
<li>Skip arrow function in scoped search (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6333">#6333</a>)</li>
<li>[TypeDeclaration] Better approach for native type check on
ReturnStrictTypeAnalyzer (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6343">#6343</a>)</li>
<li>[DeadCode] Skip extension load append variable on
RemoveAlwaysTrueIfConditionRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6332">#6332</a>)</li>
<li>[TypeDeclaration] Remove only void type on
ReturnedNodesReturnTypeInfererTypeInferer (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6340">#6340</a>)</li>
<li>[DeadCode] Skip indirect next line definition of <a
href="https://github.com/var"><code>@​var</code></a> on
RemoveNonExistingVarAnnotationRector (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/6348">#6348</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>rectorphp/rector-symfony 🎵</h2>
<ul>
<li>Added return type declaration rules for FormTypeInterface (<a
href="https://redirect.github.com/rectorphp/rector-symfony/pull/670">#670</a>),
Thanks <a
href="https://github.com/stollr"><code>@​stollr</code></a></li>
</ul>
<!-- raw HTML omitted -->
<h2>rectorphp/rector-phpunit 🟢</h2>
<ul>
<li>[CodeQuality] Add NarrowSingleWillReturnCallbackRector (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/374">#374</a>)</li>
<li>[CodeQuality] Add SingleWithConsecutiveToWithRector (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/370">#370</a>)</li>
<li>[CodeQuality] Add NarrowIdenticalWithConsecutiveRector (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/369">#369</a>)</li>
<li>[CodeQuality] Add AddParentSetupCallOnSetupRector (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/364">#364</a>)</li>
<li>Include match() to invoke counting in WithConsecutiveRector (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/362">#362</a>)</li>
<li>Move WithConsecutiveRector to its PHPUnit100 namespace,
CreateMockToAnonymousClassRector + PreferPHPUnitSelfCallRector to
CodeQuality (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/360">#360</a>)</li>
<li>Add existing willReturnCallback() support to WithConsecutiveRector
(<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/358">#358</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6ca85da281"><code>6ca85da</code></a>
Rector 1.2.6</li>
<li><a
href="c15442414c"><code>c154424</code></a>
Updated Rector to commit c0c7502f55a3884f67a5885ed05ae2443ff53802</li>
<li><a
href="68c7b4d151"><code>68c7b4d</code></a>
Updated Rector to commit b88e910957a85adafd6fb75fbe50991b9ec871d1</li>
<li><a
href="a3f6293c8b"><code>a3f6293</code></a>
Updated Rector to commit 0c9edebe4e1ca753d5bbe99e5109378155e87dde</li>
<li><a
href="b555bd2c5e"><code>b555bd2</code></a>
Updated Rector to commit d17d3e814eada2fa3ada3601034407df01d84568</li>
<li><a
href="cdbdb1bd14"><code>cdbdb1b</code></a>
Updated Rector to commit 697b37b340c3b4c73ad6f8e4cea26b7bf60ddf62</li>
<li><a
href="b86f33859b"><code>b86f338</code></a>
Updated Rector to commit a11fc615d18396cef284c18de269711114630676</li>
<li><a
href="a5a5200e52"><code>a5a5200</code></a>
Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42</li>
<li><a
href="32c2df7fcb"><code>32c2df7</code></a>
Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007</li>
<li><a
href="3df699e80d"><code>3df699e</code></a>
Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007</li>
<li>Additional commits viewable in <a
href="https://github.com/rectorphp/rector/compare/0.18.0...1.2.6">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>
This commit is contained in:
Grzegorz Sadowski 2024-10-04 11:42:34 +02:00 committed by GitHub
commit ded02aeabd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,7 +222,7 @@
"phpstan/phpstan-webmozart-assert": "^1.1",
"phpunit/phpunit": "^9.5",
"psr/event-dispatcher": "^1.0",
"rector/rector": "^0.18.0",
"rector/rector": "^1.2.6",
"robertfausk/behat-panther-extension": "^1.1",
"sylius-labs/coding-standard": "^4.2",
"sylius-labs/suite-tags-extension": "~0.1",