Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): Bump phpstan/phpstan from 1.10.67 to 1.11.2 (#19)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.67 to 1.11.2. <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.11.2</h2> <h1>Improvements 🔧</h1> <ul> <li>Stricter <code>@phpstan-ignore</code> identifiers parser (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3079">#3079</a>, <a href="https://redirect.github.com/phpstan/phpstan-src/pull/3090">#3090</a>, <a href="https://redirect.github.com/phpstan/phpstan-src/pull/3091">#3091</a>), thanks <a href="https://github.com/janedbal"><code>@janedbal</code></a>! <ul> <li>The parser now rejects some syntax that was possible but undocumented in 1.11.0 and 1.11.1</li> <li>The parser now allows to attach comment to each single identifier in a list: <code>@phpstan-ignore identifier (comment), identifier2 (comment2)</code></li> </ul> </li> <li>Resolving type of closure - get <code>$passedToType</code> from <code>inFunctionCallsStack</code> (<a href="https://github.com/phpstan/phpstan-src/commit/ca41b7d8c2d54407156d07dab5375a3a5ebbeb29">https://github.com/phpstan/phpstan-src/commit/ca41b7d8c2d54407156d07dab5375a3a5ebbeb29</a>, <a href="https://github.com/phpstan/phpstan-src/commit/da4fd7a4122615d9dbae55083bdfd290026fa08e">https://github.com/phpstan/phpstan-src/commit/da4fd7a4122615d9dbae55083bdfd290026fa08e</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/5508">#5508</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/10254">#10254</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/10732">#10732</a></li> <li>Do not lose generic type when the closure has native return type (<a href="https://github.com/phpstan/phpstan-src/commit/7e9cd45701562fb02f1aa9cab1f89b58a58f6526">https://github.com/phpstan/phpstan-src/commit/7e9cd45701562fb02f1aa9cab1f89b58a58f6526</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/9086">#9086</a></li> </ul> <h1>Function signature fixes 🤖</h1> <ul> <li>More concrete return types for some database functions (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3078">#3078</a>), thanks <a href="https://github.com/devnix"><code>@devnix</code></a>!</li> </ul> <h1>Internals 🔍</h1> <ul> <li>Fix Composer by referencing deleted tag of <code>nette/di</code> (<a href="https://github.com/phpstan/phpstan-src/commit/2ab647e12fe46d970fa630b78f9ca962354b3d16">https://github.com/phpstan/phpstan-src/commit/2ab647e12fe46d970fa630b78f9ca962354b3d16</a>)</li> <li>Specify <code>array_filter</code> callbacks (<a href="https://github.com/phpstan/phpstan-src/commit/754b7b8e170cd36ed7bc8633b90651eff16cc893">https://github.com/phpstan/phpstan-src/commit/754b7b8e170cd36ed7bc8633b90651eff16cc893</a>)</li> <li>Add <code>@api</code> annotation to <code>AcceptsResult::__construct</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3092">#3092</a>), thanks <a href="https://github.com/canvural"><code>@canvural</code></a>!</li> </ul> <h2>1.11.1</h2> <h1>Improvements 🔧</h1> <ul> <li>Support integer ranges in <code>sprintf()</code> constant result inference (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3075">#3075</a>), thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li> </ul> <h1>Bugfixes 🐛</h1> <ul> <li>Do not complain about <code>impure(Function|Method).pure</code> if it has <code>@phpstan-assert</code> tags (<a href="https://github.com/phpstan/phpstan-src/commit/9544f8a6b52dbd6068800bbfc5bdaf67fe04a8c2">https://github.com/phpstan/phpstan-src/commit/9544f8a6b52dbd6068800bbfc5bdaf67fe04a8c2</a>)</li> <li>Remove tip about deprecated config option (<a href="https://github.com/phpstan/phpstan-src/commit/d603c7b676e3b91f4b7ba81d46aee3e9a593f883">https://github.com/phpstan/phpstan-src/commit/d603c7b676e3b91f4b7ba81d46aee3e9a593f883</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11000">#11000</a></li> <li>Fix false positive with <code>reportPossiblyNonexistentConstantArrayOffset: true</code> (<a href="https://github.com/phpstan/phpstan-src/commit/5277630459518024b16272bf6b6fd216eb3d10ed">https://github.com/phpstan/phpstan-src/commit/5277630459518024b16272bf6b6fd216eb3d10ed</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/10997">#10997</a></li> <li>Fix parent keyword case sensitivity (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3064">#3064</a>), thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li> <li>InlineHTML is an impure point (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3072">#3072</a>), thanks <a href="https://github.com/staabm"><code>@staabm</code></a>!</li> <li>UnionTypeHelper - prevent infinite recursion (<a href="https://github.com/phpstan/phpstan-src/commit/bb3da26d562727c3122a344622059ded2239d6ab">https://github.com/phpstan/phpstan-src/commit/bb3da26d562727c3122a344622059ded2239d6ab</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11027">#11027</a></li> <li>Fix more potential for infinite recursion (<a href="https://github.com/phpstan/phpstan-src/commit/1d02c4f27684644e8361cf2a2bc5713adef9b95e">https://github.com/phpstan/phpstan-src/commit/1d02c4f27684644e8361cf2a2bc5713adef9b95e</a>)</li> <li>RangeFunctionReturnTypeExtension - fix internal ValueError (<a href="https://github.com/phpstan/phpstan-src/commit/fe3895ada98940d1a71c2eb115d61afda9fd7a2c">https://github.com/phpstan/phpstan-src/commit/fe3895ada98940d1a71c2eb115d61afda9fd7a2c</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11026">#11026</a></li> <li>Property unset is an impure point (<a href="https://github.com/phpstan/phpstan-src/commit/702ddcd7805ba08c0765bdf0930beaef0e6b4fc1">https://github.com/phpstan/phpstan-src/commit/702ddcd7805ba08c0765bdf0930beaef0e6b4fc1</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11001">#11001</a></li> <li>Fix property assign not being an impure point in arrow function (<a href="https://github.com/phpstan/phpstan-src/commit/35ff6895f48b74e8bc0dda7ec94c40e73c84099b">https://github.com/phpstan/phpstan-src/commit/35ff6895f48b74e8bc0dda7ec94c40e73c84099b</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11001">#11001</a></li> <li>Fix internal error when accessing enum case by class-string (<a href="https://github.com/phpstan/phpstan-src/commit/1116e03389f0f47297c2638b5b67c84f4d339478">https://github.com/phpstan/phpstan-src/commit/1116e03389f0f47297c2638b5b67c84f4d339478</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/10985">#10985</a></li> <li>Fix resolving <code>self</code> and <code>static</code> in <code>@phpstan-closure-this</code> from trait stub file (<a href="https://github.com/phpstan/phpstan-src/commit/93402494ee92dd2e7264f112105151586203e0ec">https://github.com/phpstan/phpstan-src/commit/93402494ee92dd2e7264f112105151586203e0ec</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11009">#11009</a></li> <li>CallToMethodStatementWithoutImpurePointsRule - fix for methods called on unions (<a href="https://github.com/phpstan/phpstan-src/commit/ee33f1e48b5ae9d6e99500814c186cd31e7a764f">https://github.com/phpstan/phpstan-src/commit/ee33f1e48b5ae9d6e99500814c186cd31e7a764f</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11011">#11011</a></li> </ul> <h1>Function signature fixes 🤖</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/phpstan/phpstan/commit/0d5d4294a70deb7547db655c47685d680e39cfec"><code>0d5d429</code></a> PHPStan 1.11.2</li> <li><a href="https://github.com/phpstan/phpstan/commit/c55d0e3287d8729b9de9cc50e7614dd88dbc18c7"><code>c55d0e3</code></a> Updated PHPStan to commit c55d0e35f2dd475534a3272272cd19b601687bc6</li> <li><a href="https://github.com/phpstan/phpstan/commit/da6e9ae3f3f21f4f85e2fe73c702492e224b581c"><code>da6e9ae</code></a> Updated PHPStan to commit da6e9ae49806b1ed3c029e88a546837a15a1dee5</li> <li><a href="https://github.com/phpstan/phpstan/commit/0055aacbf9b98e320f64c4c0fef35999421fe649"><code>0055aac</code></a> Updated PHPStan to commit 0055aac00c8d75d9cf91d4452519f236f22c8505</li> <li><a href="https://github.com/phpstan/phpstan/commit/5a73f0732e789af853f02f77a683b677cf26d1ee"><code>5a73f07</code></a> Updated PHPStan to commit 5a73f076468e3513156129da864d407c872a4b49</li> <li><a href="https://github.com/phpstan/phpstan/commit/d77ab488be819e727603f4f14f1f2329e8cef719"><code>d77ab48</code></a> Update baselines</li> <li><a href="https://github.com/phpstan/phpstan/commit/49f87ce7d6773a8e065cc2c13aa1893ad517a10a"><code>49f87ce</code></a> Updated PHPStan to commit 49f87ced5835fffce2f91b4768cdc1ab59a1e67e</li> <li><a href="https://github.com/phpstan/phpstan/commit/1e4df5c9ddcf0c86e3f64d3149788c13fef80002"><code>1e4df5c</code></a> Update errors identifiers</li> <li><a href="https://github.com/phpstan/phpstan/commit/5cebee3e8b795f17c8ebb1755ee36d9fd75901c2"><code>5cebee3</code></a> Updated PHPStan to commit 5cebee3ab99c89dc39dec4ac631a4df63a233c38</li> <li><a href="https://github.com/phpstan/phpstan/commit/c81aa856bec00105985fb0fc57361588472bab28"><code>c81aa85</code></a> Update BACKERS.md</li> <li>Additional commits viewable in <a href="https://github.com/phpstan/phpstan/compare/1.10.67...1.11.2">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=1.10.67&new-version=1.11.2)](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>
- Loading branch information