Commit ab60e44
authored
dependabot:(deps-dev): bump phpstan/phpstan from 2.1.0 to 2.1.1 (#3)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.0
to 2.1.1.
<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.1</h2>
<h1>Improvements 🔧</h1>
<ul>
<li>Introduce <code>getNextStatements</code> in UnreachableStatementNode
(<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3745">#3745</a>),
thanks <a
href="https://github.com/samsonasik"><code>@samsonasik</code></a>!</li>
<li>Improve loose comparison on string types (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3756">#3756</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Enforce safe constructor overrides with
<code>@phpstan-consistent-constructor</code> (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3687">#3687</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/12137">#12137</a>,
thanks <a
href="https://github.com/herndlm"><code>@herndlm</code></a>!</li>
<li>Improve loose comparison on constant types (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3755">#3755</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>Improve loose comparison on IntegerRange containing zero (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3764">#3764</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>NodeScopeResolver: 10x faster constant array processing (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3769">#3769</a>),
thanks <a
href="https://github.com/staabm"><code>@staabm</code></a>!</li>
<li>UninitializedPropertyRule should be always reported when
<code>checkUninitializedProperties</code> is enabled (<a
href="https://github.com/phpstan/phpstan-src/commit/ca86412b4c53af26c21ddb3dd01f3fe200f17b48">https://github.com/phpstan/phpstan-src/commit/ca86412b4c53af26c21ddb3dd01f3fe200f17b48</a>)</li>
</ul>
<h1>Bugfixes 🐛</h1>
<ul>
<li>This release includes fixes from <a
href="https://github.com/phpstan/phpstan/releases/tag/1.12.15">PHPStan
1.12.15</a></li>
<li>GetNonVirtualPropertyHookReadRule - do not report if get hook is not
present at all (<a
href="https://github.com/phpstan/phpstan-src/commit/b614f70e0154010f74e36dc9264962facac8122e">https://github.com/phpstan/phpstan-src/commit/b614f70e0154010f74e36dc9264962facac8122e</a>)</li>
<li>Support named arguments after unpacking on PHP 8.1+ (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3742">#3742</a>),
<a
href="https://redirect.github.com/phpstan/phpstan/issues/11418">#11418</a>,
<a
href="https://redirect.github.com/phpstan/phpstan/issues/8046">#8046</a>,
thanks <a
href="https://github.com/herndlm"><code>@herndlm</code></a>!</li>
</ul>
<h1>Internals 🔍</h1>
<ul>
<li>Update PHP-Parser and BetterReflection (<a
href="https://redirect.github.com/phpstan/phpstan-src/pull/3767">#3767</a>)
<ul>
<li>Simplify code thanks to PHP-Parser update</li>
<li>Simplify code thanks to BetterReflection update</li>
<li>PropertyHookReturnStatementsNode is invoked for short body
hooks</li>
<li>ShortGetPropertyHookReturnTypeRule is no longer needed</li>
<li>PropertyHookNameVisitor is no longer needed, PHP-parser comes with
<code>propertyName</code> attribute</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/phpstan/phpstan/commit/cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7"><code>cd6e973</code></a>
PHPStan 2.1.1</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/9926b8e8caaf63b462dd036555f917df8abf51cd"><code>9926b8e</code></a>
Verify playground.neon before deploying playground-runner</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/4a093159492dd7b0c0cb510720e57e82cc5bb2d1"><code>4a09315</code></a>
Update config-reference.md</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/14a93e43bc3b694aebc7c2d9262e455f3d26ef00"><code>14a93e4</code></a>
Playground - promote
<code>reportPossiblyNonexistentGeneralArrayOffset</code> and
`repor...</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/9789b2c9b36865d34ebeb778f86fa972642f722c"><code>9789b2c</code></a>
Update errors identifiers</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/2f712470400b5295b7be88f261bbd2e537fef772"><code>2f71247</code></a>
Updated PHPStan to commit 2f712479fe1aa86f618a49fe4f36a3531230484b</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/32b2f3485a677423b9464a9ea155bda18faaad15"><code>32b2f34</code></a>
Playground - promote <code>checkUninitializedProperties</code></li>
<li><a
href="https://github.com/phpstan/phpstan/commit/ca86412dd26b63933bc84bb9835e34e8b476e661"><code>ca86412</code></a>
Updated PHPStan to commit ca86412b4c53af26c21ddb3dd01f3fe200f17b48</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/7c8da1c3bcacbc71d25fc05fa9cd4a4be78e3219"><code>7c8da1c</code></a>
Update errors identifiers</li>
<li><a
href="https://github.com/phpstan/phpstan/commit/59ccf55fc7c59e4715b502ba07843b6c4df79596"><code>59ccf55</code></a>
Updated PHPStan to commit 59ccf550b002043e044f620d23432dbcbd3d6bfc</li>
<li>Additional commits viewable in <a
href="https://github.com/phpstan/phpstan/compare/2.1.0...2.1.1">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>2 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments