This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.5.4 -> 1.5.6
|
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
v1.5.5
ConstantArrayType::getKeyType()
(#1173), thanks @herndlm!ConstantArrayType
union performance (#1176), thanks @herndlm!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
curl_getinfo($ch, CURLINFO_CONTENT_TYPE)
(#1170), #6929, thanks @oschwald!bcdiv()
, bcmod()
, bcpowmod()
and bcsqrt()
in PHP 8.0 and higher (#1152), #5134, thanks @W0rma!int
and bool
args for strlen()
(#1162), thanks @fluffycondor!float
and null
for strlen()
, improve support for booleans (#1199), thanks @fluffycondor!array_replace
(#1209), #7020, thanks @herndlm!DOMText::splitText()
may return false (#1180), thanks @xPaw!Collator
creation function/method can return null (#1182), thanks @finwe!SplObjectStorage
methods (#1185), thanks @Furgas!SimpleXMLElement::getDocNamespaces
(#1190), thanks @Furgas!This MR has been generated by Renovate Bot.