Commit 0c2df3e
authored
minor #260 Update phpstan/phpstan requirement from 1.11.10 to 1.12.4 (dependabot[bot])
This PR was merged into the 2.1 branch.
Discussion
----------
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/phpstan/phpstan/releases">phpstan/phpstan's releases</a>.</em></p>
<blockquote>
<h2>1.12.4</h2>
<h1>Improvements 🔧</h1>
<ul>
<li>Special internal error message for Larastan & Laravel (<a href="https://github.com/phpstan/phpstan-src/commit/475a18ce8e0e14e340d7a0939906fffa6dd28e8d">https://github.com/phpstan/phpstan-src/commit/475a18ce8e0e14e340d7a0939906fffa6dd28e8d</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11641">#11641</a></li>
<li>Do not truncate offset key in error tip message (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3437">#3437</a>), thanks <a href="https://github.com/ruudk"><code>@ruudk</code></a>!</li>
<li>Errors with <code>argument.named</code> are ignorable now (<a href="https://github.com/phpstan/phpstan-src/commit/193b4f518d53eb3648b09ff131f83979067fec59">https://github.com/phpstan/phpstan-src/commit/193b4f518d53eb3648b09ff131f83979067fec59</a>)</li>
<li>Normalize path in TypeInferenceTestCase (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3449">#3449</a>), thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Fix duplicate paths in <code>composerAutoloaderProjectPaths</code> on Windows (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3451">#3451</a>), thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Update nikic/php-parser to 4.19.2 (<a href="https://github.com/phpstan/phpstan-src/commit/05630e67fa3809191253e660765573263daab2b9">https://github.com/phpstan/phpstan-src/commit/05630e67fa3809191253e660765573263daab2b9</a>)</li>
<li>Allow toggling <code>treatPhpDocTypesAsCertain</code> tip (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3452">#3452</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11689">#11689</a>, thanks <a href="https://github.com/ruudk"><code>@ruudk</code></a>!</li>
</ul>
<h1>Bugfixes 🐛</h1>
<ul>
<li>Fix conditional types in <code>array_map()</code> return value (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3425">#3425</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/10715">#10715</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/11056">#11056</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/10685">#10685</a>, thanks <a href="https://github.com/rvanvelzen"><code>@rvanvelzen</code></a>!</li>
<li>Fix false positive when extending SplObjectStorage on PHP < 8.4 by updating BetterReflection (<a href="https://redirect.github.com/Roave/BetterReflection/pull/1448">Roave/BetterReflection#1448</a>, <a href="https://github.com/phpstan/phpstan-src/commit/fd25c2779ca7fd4decee7038282ab9743b16d167">https://github.com/phpstan/phpstan-src/commit/fd25c2779ca7fd4decee7038282ab9743b16d167</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11665">#11665</a>, thanks <a href="https://github.com/VincentLanglet"><code>@VincentLanglet</code></a>!</li>
<li>Prevent warning in <code>range()</code> on PHP 7.x (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3424">#3424</a>), thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Process expression assignments other than Variable in by-ref parameters (<a href="https://github.com/phpstan/phpstan-src/commit/d3a2a92fcd612bf42bbfd19cd3a5625481ff7522">https://github.com/phpstan/phpstan-src/commit/d3a2a92fcd612bf42bbfd19cd3a5625481ff7522</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11667">#11667</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/8781">#8781</a></li>
<li>Allow nonexistent other-than-Variable expressions in by-ref parameters (<a href="https://github.com/phpstan/phpstan-src/commit/00d2caf39514380610899b0a305413f60c1c5830">https://github.com/phpstan/phpstan-src/commit/00d2caf39514380610899b0a305413f60c1c5830</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11617">#11617</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/5077">#5077</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/9361">#9361</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/7251">#7251</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/2313">#2313</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/11655">#11655</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/2634">#2634</a></li>
<li>Fix false positive when type casting in If_ statement (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3431">#3431</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11674">#11674</a>, thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Simplify abs return type (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3433">#3433</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/9224">#9224</a>, thanks <a href="https://github.com/rvanvelzen"><code>@rvanvelzen</code></a>!</li>
<li>Fix late static binding calls (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3361">#3361</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/10469">#10469</a>, thanks <a href="https://github.com/mvorisek"><code>@mvorisek</code></a>!</li>
<li>Fix string types sorting (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3441">#3441</a>), thanks <a href="https://github.com/VincentLanglet"><code>@VincentLanglet</code></a>!</li>
<li>RegexArrayShapeMatcher - Fix matching literal dot character (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3444">#3444</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11699">#11699</a>, thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Fix infer new templated type from initial assign into static property (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3364">#3364</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/5551">#5551</a>, thanks <a href="https://github.com/mvorisek"><code>@mvorisek</code></a>!</li>
<li><code>range()</code> with float step should return an array of floats (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3447">#3447</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11692">#11692</a>, thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Narrow string on <code>*strlen()</code> with positive-int (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3407">#3407</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11558">#11558</a>, thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Fix late static binding calls for first class callable (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3435">#3435</a>), thanks <a href="https://github.com/mvorisek"><code>@mvorisek</code></a>!</li>
<li>E_ALL value is different on PHP 8.4 (<a href="https://github.com/phpstan/phpstan-src/commit/cb8f9103f4191f176d1b52cc45f661c3326f194f">https://github.com/phpstan/phpstan-src/commit/cb8f9103f4191f176d1b52cc45f661c3326f194f</a>)</li>
</ul>
<h1>Function signature fixes 🤖</h1>
<ul>
<li>Fix SplObjectStorage generic stub for PHP 8.4 (<a href="https://github.com/phpstan/phpstan-src/commit/9d9fb560907fcd4f6dd16789af4278ac7f683736">https://github.com/phpstan/phpstan-src/commit/9d9fb560907fcd4f6dd16789af4278ac7f683736</a>)</li>
</ul>
<h1>Internals 🔍</h1>
<ul>
<li>Extract getMessageFromInternalError (<a href="https://github.com/phpstan/phpstan-src/commit/d047c7f8ef8da296d0498696635735eed1762a4e">https://github.com/phpstan/phpstan-src/commit/d047c7f8ef8da296d0498696635735eed1762a4e</a>)</li>
<li>Optimize NodeScopeResolverTest when running with <code>paratest</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3440">#3440</a>), thanks <a href="https://github.com/schlndh"><code>@schlndh</code></a>!</li>
<li>Expose <code>Output::isDecorated</code> and <code>Output::isVeryVerbose</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3436">#3436</a>), thanks <a href="https://github.com/ruudk"><code>@ruudk</code></a>!</li>
<li>Simplify SubstrDynamicReturnTypeExtension (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3439">#3439</a>), thanks <a href="https://github.com/VincentLanglet"><code>@VincentLanglet</code></a>!</li>
<li>CollectedDataNode is VirtualNode (<a href="https://github.com/phpstan/phpstan-src/commit/2d613997f5a9298b2446d1a0b2f01a565ed8a457">https://github.com/phpstan/phpstan-src/commit/2d613997f5a9298b2446d1a0b2f01a565ed8a457</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/phpstan/phpstan/commit/ffa517cb918591b93acc9b95c0bebdcd0e4538bd"><code>ffa517c</code></a> PHPStan 1.12.4</li>
<li><a href="https://github.com/phpstan/phpstan/commit/cb8f91006d7f52975293ab25960a9b3d18cb40c2"><code>cb8f910</code></a> Updated PHPStan to commit cb8f9103f4191f176d1b52cc45f661c3326f194f</li>
<li><a href="https://github.com/phpstan/phpstan/commit/9263039c9058eb458f235ef5a5c2c9d414fb4458"><code>9263039</code></a> Updated PHPStan to commit 9263039c312f14097dc46fe844c474f3a87eb911</li>
<li><a href="https://github.com/phpstan/phpstan/commit/558280344b4ac658a92bbdb4e24063fec94e49a7"><code>5582803</code></a> Updated PHPStan to commit 558280316de22a60fcc5850dcce3a094a32ea760</li>
<li><a href="https://github.com/phpstan/phpstan/commit/7a6a0fa7b6e0392f4feeeadb821f3c58a999a015"><code>7a6a0fa</code></a> Updated PHPStan to commit 7a6a0fa20110a99adb61748d97b3f9e0f9dbef8a</li>
<li><a href="https://github.com/phpstan/phpstan/commit/988f058f5a6d2bce602ff6fad209e5d7786423e8"><code>988f058</code></a> Updated PHPStan to commit 988f058478eeb00548d6e1a1e84a629c7934ff93</li>
<li><a href="https://github.com/phpstan/phpstan/commit/05630e628f42b83e5ff000a3ac5aef86ffc18a62"><code>05630e6</code></a> Updated PHPStan to commit 05630e67fa3809191253e660765573263daab2b9</li>
<li><a href="https://github.com/phpstan/phpstan/commit/84a73978768134374780e9b0f83732d21e314ca7"><code>84a7397</code></a> Updated PHPStan to commit 84a7397193c250444681437670e3e095eb389787</li>
<li><a href="https://github.com/phpstan/phpstan/commit/b3aec7cd64fc1515f433e48764a04e143c82d7b7"><code>b3aec7c</code></a> Updated PHPStan to commit b3aec7cd39bd1c00ed718cf909b38862def03487</li>
<li><a href="https://github.com/phpstan/phpstan/commit/83bf3abd3ac6a76630cb15710c6ddbc1e83f042f"><code>83bf3ab</code></a> Updated PHPStan to commit 83bf3abd885baf88051da651bef4f531ccaebe2d</li>
<li>Additional commits viewable in <a href="https://github.com/phpstan/phpstan/compare/1.11.10...1.12.4">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>
Commits
-------
06cb4e2 Update phpstan/phpstan requirement from 1.11.10 to 1.12.41 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments