chore(deps): update dependency phpstan/phpstan to v0.12.96
Compare changes
+ 6
− 6
@@ -6067,16 +6067,16 @@
@@ -6107,7 +6107,7 @@
@@ -6127,7 +6127,7 @@
Gitlab 18.0 has been released. Since there are breaking changes the update will be postponed to July 2025. For a list of breaking changes see https://about.gitlab.com/blog/2025/04/18/a-guide-to-the-breaking-changes-in-gitlab-18-0/. Please prepare yourself and your projects for this update.
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
0.12.94 -> 0.12.96
|
v0.12.96
PHP_WINDOWS_*
constants to dynamicConstantNames
(https://github.com/phpstan/phpstan-src/commit/9762d371ebb2663ada1e6947d2edc685330011ee)v0.12.95
@var
above class constants (https://github.com/phpstan/phpstan-src/commit/b932769213234a3ee78c39c7505ded5fade3568c), #4361, #3530
TypeCombinator::CONSTANT_SCALAR_UNION_THRESHOLD
(https://github.com/phpstan/phpstan-src/commit/c56d866e63d6cd9eb80eecc9c7f1c989b2110cd3), #5447, #5454, #4925, #4793, #5062, #3366, #3555
TypeCombinator::union()
- new optimization for constant scalar types (https://github.com/phpstan/phpstan-src/commit/da9e0613b8c21f0263680715da6986c921a75840)PhpPropertyReflection::hasPhpDoc()
(https://github.com/phpstan/phpstan-src/commit/d78d60a286fc094593586f596c05f5ff997fe2d7)static::
(https://github.com/phpstan/phpstan-src/commit/bad2607a032787d822a1a8f91d5176455eac8693)static::
(https://github.com/phpstan/phpstan-src/commit/d8e89538ac84236cb3c40ea85b524e4f7cc30852)static::
(https://github.com/phpstan/phpstan-src/commit/270326a1ed22398a98b15880e12a3b8015a83c4a)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
DateTime|DateTimeInterface
union accepts DateTimeInterface
(#586), thanks @VincentLanglet!parallel.processTimeout
10x bigger (https://github.com/phpstan/phpstan-src/commit/abb4378d635d1b8caaa2b5bd50e0304eec396f5f), #5341
ZEND_
dynamic constants (#613), thanks @dktapps!PDOStatement
implements IteratorAggregate
on PHP 8 (https://github.com/phpstan/phpstan-src/commit/dec054d330550d4706870b3cdbbd5c51e2880876), #5436
non-empty-string
(https://github.com/phpstan/phpstan-src/commit/6a33de94e447fdfdb8a67ac374e971dc2673fc5a), #5372
non-empty-string
array key type (https://github.com/phpstan/phpstan-src/commit/7172e5fc42154dbc73e78068bf12dbe3e27f9af5), #5372
TemplateTypeMap::isEmpty()
(https://github.com/phpstan/phpstan-src/commit/f7250dbe9b23415f02961edc5f34e3f084e2b659)chr()
(#599), thanks @AIlkiv!imagejpeg
GD function (#619), thanks @mauriciofauth!openssl_seal()
$iv
parameter (#624), thanks @jlherren!pg_field_name
prototype (#626), thanks @thierry-f-78!Phar
/PharData::extractTo
type information (#628), thanks @Seldaek!abs()
return-type (#629), thanks @staabm!str_split()
length parameter is always positive (#631), thanks @staabm!non-empty-array
from mb_str_split
/str_split
(#632), thanks @staabm!non-empty-string
in more string fuctions (#606), #5350, thanks @staabm!rand()
dynamic return type extension (#606), thanks @staabm!WeakMap
(#623), thanks @dktapps!#[ReturnTypeWillChange]
stub (#618), thanks @zonuexe!non-empty-array
in array_map()
(#601), thanks @Lctrs!mb_substitute_character
(#607), thanks @TRowbotham!strlen
: cover more scalar types (#630), thanks @staabm!min()
/max()
for two arguments (#627), #5072, thanks @staabm!array_fill()
: handle negative cases, support integer ranges and non-empty-array
(#603), thanks @staabm!This MR has been generated by Renovate Bot.