Update dependency phpstan/phpstan to v0.12.52
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
0.12.50 -> 0.12.52
|
Release Notes
phpstan/phpstan
v0.12.52
🔧
Improvements - Detect more unused function calls (generate
functionMetadata.php
from PhpStorm stubs'#[Pure]
attribute) (phpstan/phpstan-src@2817690
)
🐛
Bugfixes - Scope - any variable after
extract()
call might exist (phpstan/phpstan-src@d3e7b9c
), #3990 - Fix false positive with
isset()
andempty()
(phpstan/phpstan-src@05942ca
), #3991 - Fixed
assert()
bug (phpstan/phpstan-src@ca044c4
), #3994 -
array_shift()
should invalidate rememberedcount()
call (phpstan/phpstan-src@26d29ec
), #3993 - Do not complain about non-covariant return type in
count()
method in implementations of Countable interface (MethodSignatureRule - read PHPDoc types instead of combined types) (phpstan/phpstan-src@fb8d3ef
), #3997 - Fix literal array with empty item outside of left-side assign (phpstan/phpstan-src@
a97477b
), #4000
v0.12.51
🔧
Improvements - Implement
positive-int
andnegative-int
types (phpstan/phpstan-src@2fc6a5f
), #3790 - Certain functions are known to only ever return 0 or positive integer (phpstan/phpstan-src@
6784a1c
, phpstan/phpstan-src@a78a2e7
) - Implement property name as an expression in AccessPropertiesRule and AccessStaticPropertiesRule (#348)
- Update PhpStorm stubs (phpstan/phpstan-src@
4a886db
), #3975 - PhpStorm stubs - parse them with PHP 8 parser (phpstan/phpstan-src@
59c0423
, phpstan/phpstan-src@0f8a61a
) - Old-style constructors are no longer supported on PHP 8 (phpstan/phpstan-src@
aa502ff
)
🐛
Bugfixes - Fixed casting CurlMultiHandle to
(int)
(phpstan/phpstan-src@7219419
) - Update PHP 8 stubs - fix
assert_options()
(phpstan/phpstan-src@2164616
), #3944 - Fix resolving type of
isset($arr['key'])
(#346), thanks @jlherren! - Fix
isset()
with multiple arguments (#345), thanks @jlherren! - Create only the default
tmpDir
directory (phpstan/phpstan-src@5be8b80
) - PropertyDescriptor - correctly resolve from reflection whether a property is static or not (phpstan/phpstan-src@
fadb439
) - Fix scale parameter check in bc math return type extension (#353), #3978, thanks @jaroslavlibal!
- Fixed variable certainty of a nonexistent variable after
isset()
(phpstan/phpstan-src@3b21093
), #3985 -
isset()
- fix false positive (phpstan/phpstan-src@fcb78d9
), #2816 - Fix truncating invalid UTF-8 strings (#354), thanks @jfreixa!
- Fix
array_slice
with non-empty-array (phpstan/phpstan-src@273b3ce
)
🤖
Function signature fixes -
explode()
returns a non-empty array in certain scenarios (phpstan/phpstan-src@0069107
), #3596, #3961 -
setlocale()
can take as argument string|null (#351), thanks @peter-gribanov!
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by WhiteSource Renovate. View repository job log here.
Edited by Mend Renovate