chore(deps): update dependency vimeo/psalm to v4.9.2
Compare changes
+ 14
− 14
@@ -6728,21 +6728,21 @@
@@ -6772,7 +6772,7 @@
@@ -6788,7 +6788,7 @@
@@ -8202,16 +8202,16 @@
@@ -8230,7 +8230,7 @@
@@ -8301,9 +8301,9 @@
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vimeo/psalm | require-dev | minor |
4.8.1 -> 4.9.2
|
v4.9.2
Fixes an issue introduced in 4.9.0: #6212
Also improves Psalm's knowledge when some stub files are loaded (#5126, #5626)
v4.9.1
TIntRange
changesThe types for int range bounds were sub-optimal. This release fixes this. Formally this is a BC break, for plugins. However, given the short time that passed since TIntRange
introduction we believe it should be OK to release it as a patch release.
v4.9.0
inferPropertyTypesFromConstructor
(thanks @weirdan)didChangeWatchedFiles
notification (thanks @tm1000)xml:base
attribute (useful for modular configs) (thanks @turnabout)FunctionReturnTypeProviderEvent
and MethodReturnTypeProviderEvent
now provide access to the statement via getStmt()
method (thanks @VincentLanglet)interface-string<FooInterface>
(currently as an alias to class-string<FooInterface>
) (thanks @muglug)PSALM_SHEPHERD
and PSALM_SHEPHERD_HOST
) (thanks @ngmy)readonly
flag on properties (thanks @muglug)trigger_error()
behavior (thanks @orklah)DateTimeInterface
are DateTime
and DateTimeImmutable
(thanks @Jack97)int<min, 25>
, int<2, 8>
etc) (thanks @orklah)RdKafka\ProducerTopic::producev()
(thanks @danog)throw
are no longer considered unused (thanks @weirdan)psalm-language-server
crash when invoked with --version
argument (thanks @tm1000)self
and static
in callable arrays passed to array_reduce()
(thanks @elnoro)mbstring
functions signatures (they changed in PHP 8) (thanks @mpesari)array_map()
(thanks @weirdan)__FUNCTION__
constant used in methods (thanks @orklah)DateTime::format()
and DateTimeImmutable::format()
return values on PHP 8 (thanks @j4nr6n)psalm.xml
in --config psalm.xml
as a file to check (thanks @simPod)str_word_count()
signature (thanks @elnoro)ReflectionProperty::hasType()
and ReflectionProperty::getType()
stubs (thanks @franmomu)ClassLikeStorage
(thanks @caugner)preg_replace_callback()
(thanks @paxal)join()
signature is synced to implode()
(thanks @weirdan)InvalidArgument
instead of PossiblyFalseArgument
when the argument is certainly false
(thanks @orklah)UnusedVariable
issues on values used in bitwise OR and NOT (thanks @elnoro)non-empty-string
returned from str_pad()
and str_repeat()
(thanks @weirdan)strtoupper()
(thanks @staabm)radius_send_request()
(thanks @fkooman)get_defined_constants()
(thanks @orklah)$this->prop
(thanks @weirdan)RedundantIdentityWithTrue
for !== false
as it did for === true
before (thanks @greg0ire)XmlWriter
methods (thanks @aboks)UnusedVariable
issues on global vars (thanks @orklah)bindtextdomain()
is no longer considered pure (thanks @orklah)@property
(thanks @weirdan)UnusedVariable
when value is used as operand of unary plus and minus (thanks @weirdan)fputcsv()
, SplFileObject::fputcsv()
and SplTempFileObject::fputcsv()
(thanks @weirdan)numeric
types are now flagged in strictBinaryOperands
mode (thanks @orklah)array_slice()
return type when used on generic parameters (thanks @Jack97)numeric
and int|float
(thanks @orklah)shell_exec()
(thanks @VincentLanglet)print()
, exit(string)
and die(string)
pure (thanks @Jack97)array_replace()
and array_replace_recursive()
(thanks @orklah)exec()
(thanks @weirdan)ArgumentTypeCoercion
for class-strings passed as attribute constructor parameters (thanks @orklah)get_headers()
and get_meta_tags()
(thanks @Jack97)@antonioeatgoat and @orklah fixed some typos (#6033, #6185, #6205)
This MR has been generated by Renovate Bot.