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
Improvements 🔧
- Remove unnecessary
ConstantArrayType::getKeyType()(#1173), thanks @herndlm! - Improve
ConstantArrayTypeunion 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
intandboolargs forstrlen()(#1162), thanks @fluffycondor! - Add support for
floatandnullforstrlen(), 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! -
Collatorcreation function/method can return null (#1182), thanks @finwe! - Fix return signature of
SplObjectStoragemethods (#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.