chore(deps): update dependency phpstan/phpstan to v1.8.1 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.8.0 -> 1.8.1
|
Release Notes
phpstan/phpstan
v1.8.1
🔧
Improvements - ReadWritePropertiesExtensions are part of ClassPropertiesNode (https://github.com/phpstan/phpstan-src/commit/49c27d8849b1d153a67f28e612e490a71b4fd477), https://github.com/phpstan/phpstan-src/pull/1480#issuecomment-1169960148
- Add ClosureTypeFactory (#1484), https://github.com/phpstan/phpstan/discussions/7546, thanks @canvural!
- Handle native function
@throws
tag in stub file (#1487), #7552, thanks @VincentLanglet! - Add
#[AllowDynamicProperties]
PHP 8.2 attribute stub (#1478), thanks @andypost! - Add rule that disallows final private methods on PHP 8.0+ (#1490), thanks @herndlm!
- Inherit
@immutable
phpdoc (#1489), #7506, thanks @herndlm! - Mark
ClassReflection::evictPrivateSymbols()
as internal (https://github.com/phpstan/phpstan-src/commit/9138ab2a1b63d9ee31764cc812cca404f265ecb7)
🐛
Bugfixes - Fix type specification of various string functions with constant strings in a falsey context (#1488), #7555, thanks @herndlm!
- Fix
ConstantArrayType
creation forpreg_split
withMREG_SPLIT_OFFSET_CAPTURE
(#1486), #7554, thanks @herndlm! - Reindex constant arrays via
shuffle
(#1438), #6138, thanks @herndlm! - Fix union and intersection between StaticType and ThisType (https://github.com/phpstan/phpstan-src/commit/e20e9345f57a7cd760967f459aa1eedfe2eabff8), #6291, #7211, #7550
- Enhance
FILTER_VALIDATE_INT
option infilter_var
(#1499), #7608, thanks @takeokunn! - Fix handling of
str_split
/mb_str_split
string arg compound types (#1496), #7580, thanks @herndlm! - Fix Identical type specification of constant types (#1493), #7257, #6781, #6647, #5896, #5474, #6000, thanks @herndlm!
- Better
StaticType::traverse()
(https://github.com/phpstan/phpstan-src/commit/0e257067ff92fbcb37b034cccdbea864a233c198) -
GenericClassStringType::isSuperTypeOf()
- do not convert maybe into no (https://github.com/phpstan/phpstan-src/commit/6fba5429b9784801a89cdc6cfa3d6f8cfd1d82e8), #6697 - Fix subtractable
StaticType
(https://github.com/phpstan/phpstan-src/commit/0906336d29e807baba1a9eeca7b1545240c4ce5c), #6443
🤖
Function signature fixes
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Reiter, Christoph