chore(deps): update dependency phpstan/phpstan to v1.5.6
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.5.4 -> 1.5.6
|
Release Notes
phpstan/phpstan
v1.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)
v1.5.5

- 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!

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

- 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

-
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!
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Merge request reports
Activity
added renovate label
enabled an automatic merge when the pipeline for 9e764b49 succeeds
By Reiter, Christoph on 2022-04-17T02:15:39 (imported from GitLab)
mentioned in issue #5
By Reiter, Christoph on 2022-04-17T02:15:40 (imported from GitLab)
mentioned in commit 74a322f9
By Reiter, Christoph on 2022-04-17T02:16:10 (imported from GitLab)