Commit 922ebb9
Bump phpstan/phpstan from 2.1.22 to 2.1.29 (#3152)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.22
to 2.1.29.
<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>2.1.29</h2>
<h1>Improvements 🔧</h1>
<ul>
<li>Custom Composer source for cloning <code>phpstan/phpstan</code>
<ul>
<li>Learn more: <a
href="https://github.com/phpstan/phpstan-phar-composer-source">https://github.com/phpstan/phpstan-phar-composer-source</a></li>
</ul>
</li>
<li>Add optional strict check for printf parameter types (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4349">#4349</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/13496">#13496</a>,
thanks <a href="https://github.com/schlndh"><code>@schlndh</code></a>!
<ul>
<li>Set parameter <code>checkStrictPrintfPlaceholderTypes: true</code>
to turn this on</li>
</ul>
</li>
</ul>
<h1>Bugfixes 🐛</h1>
<ul>
<li>After <code>trim($s) !== ''</code> the <code>$s</code> can still be
<code>mixed</code> (<a
href="https://github.com/phpstan/phpstan-src/commit/88b7f502bdc77cf2cb2110443cb3d8e82e83504c">https://github.com/phpstan/phpstan-src/commit/88b7f502bdc77cf2cb2110443cb3d8e82e83504c</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/13552">#13552</a></li>
<li>Fix false positive about never written property when assigned in
foreach key or value (<a
href="https://github.com/phpstan/phpstan-src/commit/4b4836ac4c352e85033b337e55817f71983fdac5">https://github.com/phpstan/phpstan-src/commit/4b4836ac4c352e85033b337e55817f71983fdac5</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/9213">#9213</a></li>
<li>Improve function signatures with functionMap only for built-in
symbols (<a
href="https://github.com/phpstan/phpstan-src/commit/326c6ecdec8a15f375edcee8582f6c4dc075478f">https://github.com/phpstan/phpstan-src/commit/326c6ecdec8a15f375edcee8582f6c4dc075478f</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/13556">#13556</a>,
<a
href="https://redirect.github.com/phpstan/phpstan/issues/12151">#12151</a>,
<a
href="https://redirect.github.com/phpstan/phpstan/issues/11303">#11303</a>,
<a
href="https://redirect.github.com/phpstan/phpstan/issues/9486">#9486</a></li>
<li>[PHP 8.5] Fix warning: "unexpected NAN value was coerced to
string" (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4368">#4368</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
</ul>
<h1>Function signature fixes 🤖</h1>
<ul>
<li>Added <code>proc_open()</code> stub for param-out (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4261">#4261</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/13197">#13197</a>,
<a
href="https://redirect.github.com/phpstan/phpstan/issues/11777">#11777</a>,
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
</ul>
<h1>Internals 🔍</h1>
<ul>
<li>Add non regression test for issue <a
href="https://redirect.github.com/phpstan/phpstan/issues/9386">#9386</a>
(<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4348">#4348</a>),
thanks <a
href="https://github.com/VincentLanglet"><code>@VincentLanglet</code></a>!</li>
<li>Faster code downgrade to speed up CI (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4352">#4352</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Refactor TooWideTypeCheck - report errors based on narrowed original
type (<a
href="https://github.com/phpstan/phpstan-src/commit/5468ddd7c171e1f52957b5c9e19f7d92c79bc7ba">https://github.com/phpstan/phpstan-src/commit/5468ddd7c171e1f52957b5c9e19f7d92c79bc7ba</a>)</li>
<li>Use TooWideTypeCheck in TooWideParameterOutTypeCheck (<a
href="https://github.com/phpstan/phpstan-src/commit/0e695a4941ea8537ad3ad639c796cf5b8496e934">https://github.com/phpstan/phpstan-src/commit/0e695a4941ea8537ad3ad639c796cf5b8496e934</a>)</li>
<li>TooWideTypeCheck - do not report PHPDocs that are not subtype of
native type (<a
href="https://github.com/phpstan/phpstan-src/commit/2ecc069e559ce5ab88f807cb86829256298b584a">https://github.com/phpstan/phpstan-src/commit/2ecc069e559ce5ab88f807cb86829256298b584a</a>)</li>
<li>TooWidePropertyTypeRule - property without native type and with
default value is not implicitly nullable (<a
href="https://github.com/phpstan/phpstan-src/commit/61155112ce5025bec506c625de021339ef719b2e">https://github.com/phpstan/phpstan-src/commit/61155112ce5025bec506c625de021339ef719b2e</a>)</li>
<li>Simplify many processAssignVar with new processVirtualAssign method
(<a
href="https://github.com/phpstan/phpstan-src/commit/4d119baa4533196ccc88b0adde5e0cb98b057c6b">https://github.com/phpstan/phpstan-src/commit/4d119baa4533196ccc88b0adde5e0cb98b057c6b</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/9213">#9213</a></li>
<li>Added comment (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4358">#4358</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Switch to ramsey/composer-install action (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4365">#4365</a>)</li>
</ul>
<h2>2.1.28</h2>
<h1>Improvements 🔧</h1>
<ul>
<li>[PHP 8.5] Add support for <code>#[\NoDiscard]</code> (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4253">#4253</a>),
thanks <a
href="https://github.com/DanielEScherzer"><code>@DanielEScherzer</code></a>!</li>
<li>Narrow <code>l/r/trim()</code> arg on comparison to <code>''</code>
(<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/4340">#4340</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/phpstan/phpstan/commit/d618573eed4a1b6b75e37b2e0b65ac65c885d88e"><code>d618573</code></a>
PHPStan 2.1.29</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/34e54befdd9d76c6098f3b59eb29f2cb829cf3c9"><code>34e54be</code></a>
Update errors identifiers</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/1611a88643449fef8f1fab8a6af7a53bec959b51"><code>1611a88</code></a>
Updated PHPStan to commit 1611a884837df994eb91bc6fdf23c661c4ce361f</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/e93ad8d75fcdea8437fb953563a7d89f5072a456"><code>e93ad8d</code></a>
Rename branch</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/9adbff9ec9fcaa61a6f417a1089c7221210c772f"><code>9adbff9</code></a>
Updated PHPStan to commit 9adbff9b289197cff7817f12b7477f32728d55c7</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/64c1547840efed13e6a41c37a9067a483290f49a"><code>64c1547</code></a>
Custom Composer source for cloning <code>phpstan/phpstan</code></li>
<li><a
href="https://github.com/phpstan/phpstan/commit/17f859dc9300a2cd1f21f7c5f784640a2678b00b"><code>17f859d</code></a>
Re-enable PHPCS</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/4664230c44986b1d30033d57eaef23280955d56c"><code>4664230</code></a>
Update baselines</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/fad1c40e020fb8766d6ec77f9a0d4e148970d754"><code>fad1c40</code></a>
Remove tests about polyfills</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/217fca4c00bc39610941718fffbb98eeb54c21b1"><code>217fca4</code></a>
Re-enable more</li>
<li>Additional commits viewable in <a
href="https://github.com/phpstan/phpstan/compare/2.1.22...2.1.29">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William Allen <16820599+williamjallen@users.noreply.github.com>1 parent 4e8ab68 commit 922ebb9
3 files changed
Lines changed: 5347 additions & 5274 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments