Bump phpstan/phpstan from 1.4.6 to 1.5.7
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.5.7.
Release notes
Sourced from phpstan/phpstan's releases.
1.5.7
Bugfixes
🐛
- Fix
array_merge
with numeric keys (#1218), thanks@herndlm
!- Fix
ConstantArrayTypeBuilder
optional keys viasetOffsetValueType
(#1225), thanks@herndlm
!- Fix
array_push
with an empty constant array (#1210), #6974, thanks@herndlm
!- Fix
array_push
/array_unshift
withConstantArrayType
arguments (#1232), #5783, thanks@herndlm
!- Fix variadic parameters for generics (https://github.com/phpstan/phpstan-src/commit/f091c5629a48620972c657993032522def8a840d), #7068
- PHPStan Pro download API - pass current PHP version (https://github.com/phpstan/phpstan-src/commit/9044bfc33d254858ce44969848230477cb8f3ca7)
- PHPStan Pro - fix for potential issues on temp files (https://github.com/phpstan/phpstan-src/commit/2a145bad4e3d171e3a917e0f1f3e757bd5a6c523)
- Improve variadic parameter support in
array_merge
(#1233), thanks@herndlm
!1.5.6
This release enables to write forward-compatible custom rules with PHPStan 1.6.0+Bleeding Edge. Detailed instructions are here: https://phpstan.org/blog/preprocessing-ast-for-custom-rules
- Allow registering of custom rich parser node visitors (https://github.com/phpstan/phpstan-src/commit/b0dafcc4921bb6e3b0e5db5065b4989c3b350bab)
1.5.5
Improvements
🔧
- Remove unnecessary
ConstantArrayType::getKeyType()
(#1173), thanks@herndlm
!- Improve
ConstantArrayType
union performance (#1176), thanks@herndlm
!- Do not evaluate constructors as having side effects by default, Handle side effects of constructors in
new
(#1205), thanks@VasekPurchart
!Bleeding edge
🔪 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
phpstan.neon
:includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon
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. Learn more
Bugfixes
🐛
- Fix
curl_getinfo($ch, CURLINFO_CONTENT_TYPE)
(#1170), #6929, thanks@oschwald
!- Fix return types for
bcdiv()
,bcmod()
,bcpowmod()
andbcsqrt()
in PHP 8.0 and higher (#1152), #5134, thanks@W0rma
!- Add support for
int
andbool
args forstrlen()
(#1162), thanks@fluffycondor
!- Add support for
float
andnull
forstrlen()
, improve support for booleans (#1199), thanks@fluffycondor
!- Feature/undefined expression allowed (#1174), #6107, #5971, #5337, #6899, thanks
@rajyan
!- Fix/coalesce simulate ternary (#1193), thanks
@rajyan
!- Support variadic parameter in
array_replace
(#1209), #7020, thanks@herndlm
!
... (truncated)
Commits
-
7fb7e2e
PHPStan 1.5.7 -
fcb6539
Updated PHPStan to commit 8862d57ccb159e50c6b54aa4c038fd61369fb3d0 -
1dc9ee7
Updated PHPStan to commit 9044bfc33d254858ce44969848230477cb8f3ca7 -
e73a013
Updated PHPStan to commit f091c5629a48620972c657993032522def8a840d -
9924817
Updated PHPStan to commit 39e8286c248f441641ce81bf2cccb8363759c5fc -
438161f
Updated PHPStan to commit 1863c7976811015ed55d088f9f35a6032be8c7e6 -
f59d863
Updated PHPStan to commit 06a5c2602769e8a177c75de2daeba1fcfdddb15f -
95114dd
Updated PHPStan to commit 8084ab3bbac6f4508e92c3027ef58337e4c8a13f -
799dd8c
PHPStan 1.5.6 -
93879f5
Updated PHPStan to commit b0dafcc4921bb6e3b0e5db5065b4989c3b350bab - Additional commits viewable in compare view
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 commands and options
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 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)