Skip to content

Commit ba2e028

Browse files
dependabot:(deps-dev): bump phpstan/phpstan from 2.1.6 to 2.1.8 (#7)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.6 to 2.1.8. <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.8</h2> <h1>Improvements 🔧</h1> <ul> <li><code>@readonly</code> property cannot be passed by-ref (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3850">#3850</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12676">#12676</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>ClassReflection - cannot be a subclass of final-overriden class (<a href="https://github.com/phpstan/phpstan-src/commit/ed4ea0a3b5784e3e39b28cff2fc92b6445a48419">https://github.com/phpstan/phpstan-src/commit/ed4ea0a3b5784e3e39b28cff2fc92b6445a48419</a>)</li> <li>Deprecated <code>ClassReflection::isSubclassOf(string $className)</code> in favour of <code>ClassReflection::isSubclassOfClass(ClassReflection $class)</code> <ul> <li>If you just have <code>string $className</code> instead of <code>ClassReflection</code> and you are too lazy to get ClassReflection via ReflectionProvider, you can still use <code>ClassReflection::is(string $className)</code></li> </ul> </li> </ul> <h1>Bugfixes 🐛</h1> <ul> <li>This release includes fixes from <a href="https://github.com/phpstan/phpstan/releases/tag/1.12.21">PHPStan 1.12.21</a></li> <li>Cannot override being final for abstract classes (<a href="https://github.com/phpstan/phpstan-src/commit/9bb2ed5b90d76d416a985eeb67411999be187263">https://github.com/phpstan/phpstan-src/commit/9bb2ed5b90d76d416a985eeb67411999be187263</a>)</li> <li>Fix unsetting array item triggering <code>unset.possiblyHookedProperty</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3855">#3855</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12695">#12695</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>UnusedPrivatePropertyRule - handle virtual properties that can only be read or only written (<a href="https://github.com/phpstan/phpstan-src/commit/da737711e4017bac54ce133e0c074d094daf1969">https://github.com/phpstan/phpstan-src/commit/da737711e4017bac54ce133e0c074d094daf1969</a>, <a href="https://github.com/phpstan/phpstan-src/commit/12185abf062ea03e51dae9226b35a6639bee0cd5">https://github.com/phpstan/phpstan-src/commit/12185abf062ea03e51dae9226b35a6639bee0cd5</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12702">#12702</a></li> <li>Faster analysis with a big const array in a class (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3862">#3862</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12159">#12159</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> </ul> <h1>Internals 🔍</h1> <ul> <li>Fix typo false-positive (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3856">#3856</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Reduce method calls in ExpressionTypeHolder (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3859">#3859</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Faster <code>TrinaryLogic::and()</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3860">#3860</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Faster <code>MutatingScope::mergeWith()</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3861">#3861</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Added regression test (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3863">#3863</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> </ul> <h2>2.1.7</h2> <h1>Improvements 🔧</h1> <ul> <li>Introduce <code>IgnoreErrorExtension</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3783">#3783</a>), thanks <a href="https://github.com/ruudk"><code>@​ruudk</code></a>! <ul> <li>Learn more: <a href="https://phpstan.org/developing-extensions/ignore-error-extensions">https://phpstan.org/developing-extensions/ignore-error-extensions</a></li> </ul> </li> <li>Understand that <code>new Foo()</code> cannot be a subclass (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3853">#3853</a>)</li> <li>Object type narrowed after <code>$a::class</code> and <code>get_class($a)</code> cannot be a subclass (<a href="https://github.com/phpstan/phpstan-src/commit/772f2979425574897b525de95dd8a535e1882f39">https://github.com/phpstan/phpstan-src/commit/772f2979425574897b525de95dd8a535e1882f39</a>)</li> <li>Teamcity - show rule identifier when verbose output is set (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3804">#3804</a>), thanks <a href="https://github.com/kamil-zacek"><code>@​kamil-zacek</code></a>!</li> <li>Class constants cannot be directly accessed on a trait (<a href="https://github.com/phpstan/phpstan-src/commit/d56d0842ca297ad6cc4ac3cf3918433ed8a80394">https://github.com/phpstan/phpstan-src/commit/d56d0842ca297ad6cc4ac3cf3918433ed8a80394</a>)</li> <li>Hooked properties cannot be both final and private (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3830">#3830</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12336">#12336</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Hooked properties cannot be both abstract and private (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3839">#3839</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12336">#12336</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Implement FinalPrivateConstantRule (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3838">#3838</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Readonly properties cannot be <code>unset()</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3827">#3827</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12421">#12421</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Hooked properties cannot be <code>unset()</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3842">#3842</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12336">#12336</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li> <li>Handle BcMath\Number overloaded operators (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3787">#3787</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12099">#12099</a>, thanks <a href="https://github.com/schlndh"><code>@​schlndh</code></a>!</li> <li>TypeNodeResolver - check for existing <code>Integer</code> class before resolving to <code>int</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3848">#3848</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/12660">#12660</a>, thanks <a href="https://github.com/stepo2"><code>@​stepo2</code></a>!</li> </ul> <h1>Bugfixes 🐛</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/phpstan/phpstan/commit/f9adff3b87c03b12cc7e46a30a524648e497758f"><code>f9adff3</code></a> PHPStan 2.1.8</li> <li><a href="https://github.com/phpstan/phpstan/commit/43403e4d798779f1c38652a707a6249bd99095a9"><code>43403e4</code></a> Update errors identifiers</li> <li><a href="https://github.com/phpstan/phpstan/commit/781aefa2657e7d561ec9a51d6e1a8c64f1252636"><code>781aefa</code></a> Updated PHPStan to commit 781aefaf6b2bbaca5a02e017984852fc1b9b99f0</li> <li><a href="https://github.com/phpstan/phpstan/commit/e05aaeddf846c2f431101660c1ba3bde1490c80d"><code>e05aaed</code></a> Updated PHPStan to commit e05aaed53e1cdaaacd4f052195ae7f9996ee058d</li> <li><a href="https://github.com/phpstan/phpstan/commit/b1a96ebc7ba332955143704e0a3991b643ed126e"><code>b1a96eb</code></a> Update errors identifiers</li> <li><a href="https://github.com/phpstan/phpstan/commit/75ac060ae3cdfd4a8dbced9f1af45fefb294e486"><code>75ac060</code></a> Updated PHPStan to commit 75ac0608c6b7283d83ea16e5c503d3328c34fb4a</li> <li><a href="https://github.com/phpstan/phpstan/commit/f29c855d7fe2fb43f498bc424d07d473dc85338e"><code>f29c855</code></a> Updated PHPStan to commit f29c855ec94015bfd77caa97b9cee6e9d38ca5a0</li> <li><a href="https://github.com/phpstan/phpstan/commit/692d510ae0a4d7f5717f6b7490b2d6e952a028b5"><code>692d510</code></a> Updated PHPStan to commit 692d5103e089f902ab930022ebbc6ee31c850002</li> <li><a href="https://github.com/phpstan/phpstan/commit/dde8da5b35d4171d07eabbd648af9563c7a50db1"><code>dde8da5</code></a> Updated PHPStan to commit dde8da5c697f0d5e8fe4f8e356342afe513fa9fa</li> <li><a href="https://github.com/phpstan/phpstan/commit/0048b3516a9b450df33500a9bf6fd176c1c64512"><code>0048b35</code></a> Update errors identifiers</li> <li>Additional commits viewable in <a href="https://github.com/phpstan/phpstan/compare/2.1.6...2.1.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=2.1.6&new-version=2.1.8)](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>
2 parents c8e21cc + bc8ca90 commit ba2e028

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)