Skip to content

Commit

Permalink
Merge #654
Browse files Browse the repository at this point in the history
654: Update phpstan/phpstan requirement from 1.11.3 to 1.11.5 r=norkunas a=dependabot[bot]

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.11.5</h2>
<h1>Bleeding edge 🔪</h1>
<ul>
<li>Check array functions which require stringish values (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3132">#3132</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11141">#11141</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/5848">#5848</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/3694">#3694</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/11111">#11111</a>, thanks <a href="https://github.com/schlndh"><code>`@​schlndh</code></a>!</li>`
</ul>
<p><em>If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's <code>phpstan.neon</code>:</em></p>
<pre><code>includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon
</code></pre>
<p><em>Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. <a href="https://phpstan.org/blog/what-is-bleeding-edge">Learn more</a></em></p>
<h1>Improvements 🔧</h1>
<ul>
<li>When internal errors occur, do not show other reported errors (<a href="https://github.com/phpstan/phpstan-src/commit/aa921137be5b510408bc8df9b8b6fe632ed09db5">https://github.com/phpstan/phpstan-src/commit/aa921137be5b510408bc8df9b8b6fe632ed09db5</a>)
<ul>
<li>It's important to first solve internal errors before seeing other reported errors</li>
<li>Inspired by <a href="https://github.com/phpstan/phpstan/discussions/11107">https://github.com/phpstan/phpstan/discussions/11107</a> (ReviewDog was eating up important errors)</li>
</ul>
</li>
<li>Show internal errors nicely in PHPStan Pro</li>
</ul>
<h1>Bugfixes 🐛</h1>
<ul>
<li>Fix bug in <code>get_debug_type()</code> DynamicFunctionReturnTypeExtension (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3128">#3128</a>), thanks <a href="https://github.com/patrickkusebauch"><code>`@​patrickkusebauch</code></a>!</li>`
<li>Include path when counting errors ignored by identifier (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3154">#3154</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11177">#11177</a>, thanks <a href="https://github.com/pilif"><code>`@​pilif</code></a>!</li>`
<li>Implement bit shift operation on integers and unions (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3145">#3145</a>), thanks <a href="https://github.com/thg2k"><code>`@​thg2k</code></a>!</li>`
<li>Fix division type result with even integer range (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3152">#3152</a>), thanks <a href="https://github.com/thg2k"><code>`@​thg2k</code></a>!</li>`
<li>Solve identical comparison bug in call-site variance (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3153">#3153</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11161">#11161</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/10697">#10697</a>, thanks <a href="https://github.com/VincentLanglet"><code>`@​VincentLanglet</code></a>!</li>`
</ul>
<h1>Function signature fixes 🤖</h1>
<ul>
<li><code>gnupg_init()</code> <code>options</code> parameter is optional (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3129">#3129</a>), thanks <a href="https://github.com/yphoenix"><code>`@​yphoenix</code></a>!</li>`
<li>Update outdated <code>RedisCluster::__construct</code> signature (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3130">#3130</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11158">#11158</a>, thanks <a href="https://github.com/wolfgangzwiauer"><code>`@​wolfgangzwiauer</code></a>!</li>`
<li>Improve image related functions signature (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3127">#3127</a>), thanks <a href="https://github.com/thg2k"><code>`@​thg2k</code></a>!</li>`
<li>Update/fix ext-amqp signatures (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3139">#3139</a>), thanks <a href="https://github.com/ben-challis"><code>`@​ben-challis</code></a>!</li>`
<li>fix <code>AMQPQueue::unbind()</code> routingKey type (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3143">#3143</a>), thanks <a href="https://github.com/ben-challis"><code>`@​ben-challis</code></a>!</li>`
<li>Add parameter definitions to <code>AMQPQueue::consume()</code> callback (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3144">#3144</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/9445">#9445</a>, thanks <a href="https://github.com/ben-challis"><code>`@​ben-challis</code></a>!</li>`
<li>Add int ranges to AMQP typings (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3146">#3146</a>), thanks <a href="https://github.com/ben-challis"><code>`@​ben-challis</code></a>!</li>`
<li>Various fixes to the return signature of <code>IntlDateFormatter</code> methods (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3149">#3149</a>), thanks <a href="https://github.com/chosten"><code>`@​chosten</code></a>!</li>`
<li>Fix <code>Exception::getTrace()</code> return type (<a href="https://github.com/phpstan/phpstan-src/commit/492cd89932d873147cdf7acf49c88d432cbce69f">https://github.com/phpstan/phpstan-src/commit/492cd89932d873147cdf7acf49c88d432cbce69f</a>)</li>
<li>fix posix_getpwuid (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3157">#3157</a>), thanks <a href="https://github.com/pistej"><code>`@​pistej</code></a>!</li>`
</ul>
<h1>Internals 🔍</h1>
<ul>
<li>Regression test (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3136">#3136</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/490f0ae1c92b082f154681d7849aee776a7c1443"><code>490f0ae</code></a> PHPStan 1.11.5</li>
<li><a href="https://github.com/phpstan/phpstan/commit/25469557fe848495973452e7a96f20cf4f2a755d"><code>2546955</code></a> Update errors identifiers</li>
<li><a href="https://github.com/phpstan/phpstan/commit/01e582809d3c6d38c03c8b21cb36d5fb705e466c"><code>01e5828</code></a> Updated PHPStan to commit 01e5828ef4dd581732c087c3524073c469173069</li>
<li><a href="https://github.com/phpstan/phpstan/commit/7d9800cf3e7d0888584a5df1bfe002742714974a"><code>7d9800c</code></a> Updated PHPStan to commit 7d9800c2241344556731eb7f17fd6b8564dba43c</li>
<li><a href="https://github.com/phpstan/phpstan/commit/71534f1d79455997851675b59afd86c1d9bb7af6"><code>71534f1</code></a> Fix</li>
<li><a href="https://github.com/phpstan/phpstan/commit/98476c3d59a6836e1b5c0d79f08b487f138025d6"><code>98476c3</code></a> Update result-cache.md</li>
<li><a href="https://github.com/phpstan/phpstan/commit/1cb07bd4e0dbb87436f6fbab24bf5d34441630ee"><code>1cb07bd</code></a> Update errors identifiers</li>
<li><a href="https://github.com/phpstan/phpstan/commit/108277a6a6c6bd4ac49a9e668f8c02b59ef773ee"><code>108277a</code></a> Updated PHPStan to commit 108277a6348de38eaaeb6a5bdb89f83dd775fc9c</li>
<li><a href="https://github.com/phpstan/phpstan/commit/1711429929609fb551280582c7e8fd52991763b9"><code>1711429</code></a> Updated PHPStan to commit 1711429c1ba2b30ce63ae6f8eff763758accc4c1</li>
<li><a href="https://github.com/phpstan/phpstan/commit/c45cade3795cab21834e0b0c21526416f513e295"><code>c45cade</code></a> Bump braces from 3.0.2 to 3.0.3 in /website</li>
<li>Additional commits viewable in <a href="https://github.com/phpstan/phpstan/compare/1.11.3...1.11.5">compare view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Jul 1, 2024
2 parents d8aceff + a1577d2 commit dcea07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"friendsofphp/php-cs-fixer": "^3.0",
"guzzlehttp/guzzle": "^7.1",
"http-interop/http-factory-guzzle": "^1.0",
"phpstan/phpstan": "1.11.3",
"phpstan/phpstan": "1.11.5",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-strict-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.0",
Expand Down

0 comments on commit dcea07f

Please sign in to comment.