Bump phpstan/phpstan from 1.4.6 to 1.5.6
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.5.6.
Release notes
Sourced from phpstan/phpstan's releases.
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
!- ObjectType - fix imprecise cache key issue (https://github.com/phpstan/phpstan-src/commit/ee934468b707f46d0416bba7b89cc33d3a0d7cd7), #6944
- Fix int overflow internal error (https://github.com/phpstan/phpstan-src/commit/c5d0902d2b3fbf8f00913002f9ba72b6caa929a0), #6979
Function signature fixes
🤖
DOMText::splitText()
may return false (#1180), thanks@xPaw
!Collator
creation function/method can return null (#1182), thanks@finwe
!- Fix return signature of
SplObjectStorage
methods (#1185), thanks@Furgas
!- Fix return signature of
SimpleXMLElement::getDocNamespaces
(#1190), thanks@Furgas
!1.5.4
Bugfixes
🐛
... (truncated)
Commits
-
799dd8c
PHPStan 1.5.6 -
93879f5
Updated PHPStan to commit b0dafcc4921bb6e3b0e5db5065b4989c3b350bab -
221d1a3
Update test -
b60c8fb
Integration test for parent/previous/next node attributes -
d77a607
PHPStan 1.5.5 -
99d12be
Updated PHPStan to commit c5d0902d2b3fbf8f00913002f9ba72b6caa929a0 -
ec13a37
Updated PHPStan to commit 1c1fc7cafef2cc61e84e948bc00545a5c65c00a0 -
8a65c0a
Updated PHPStan to commit 083d5d134ec5e2f4fca1dae0662e2a3e08245e5b -
9f49c92
Updated PHPStan to commit 025fde04d54edd2aec9a194a47d0717b4ee54b3a -
b85133a
Updated PHPStan to commit 87bf9b678197d8c26d55b31c75766865c97c03a1 - 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)