Update dependency phpstan/phpstan to v1.8.8
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.8.6 -> 1.8.8
|
Release Notes
phpstan/phpstan
v1.8.8
🔧
Improvements - Cover
ExprPrinter
by BC promise (#1794), thanks @staabm! - Improve
isset
specification in falsy scope (#1781), thanks @herndlm!s - Update
phpstan/phpdoc-parser
to 1.9.0 (https://github.com/phpstan/phpstan-src/commit/fd94186ee2a8065c94edb4603dd954584e9e8f45)
🐛
Bugfixes - Do not drop original specified expression in TypeSpecifier (#1793), #8076, thanks @herndlm!
- Preserve accessory types in
MutatingScope::generalizeType
(#1732), #8015, thanks @herndlm! - Specify types on
get_parent_class()
(#1383), #5552, thanks @staabm! - Do not load
Composer\InstalledVersions
to parse PHPStan version (https://github.com/phpstan/phpstan-src/commit/acbb55baeeb2f02b0ea2e61b4321e4f5dd5f65b2), #8117
🤖
Function signature fixes - Fix
zadd
argument order (#1779), thanks @araab! - Fix
zscan
return types (#1780), thanks @araab! -
XMLWriter::startElementNS()
$namespace
arg is nullable (#1772), thanks @staabm!
v1.8.7
🔧
Improvements - Update Roave/BetterReflection to v6 (https://github.com/Roave/BetterReflection/releases/tag/6.0.0)
- PHP 8.2: Support for readonly classes, RFC (https://github.com/phpstan/phpstan-src/commit/c52eb5792c6e9b7c2d060cafa256b19997552a15)
- PHP 8.2: Support for DNF types, (RFC)
- Improve
TypeCombinator::reduceArrays()
performance with retained type completeness (#1741), thanks @rvanvelzen! - Improve unsetting constant offsets on array (#1760), thanks @rvanvelzen!
-
@readonly
property allows private mutation (#1610), #7778, thanks @zonuexe! - Readonly properties cannot be static (https://github.com/phpstan/phpstan-src/commit/3e383fc9620a46173651402049a8e8c4904591b6)
- Do not call CollectedDataNode rules if internal errors are present (https://github.com/phpstan/phpstan-src/commit/877835002a2daa758a82a8e0d5502881e7e25aa3)
- Universal object crate classes now respect
@property
annotations (#1786), thanks @mad-briller! - Add
tip
message to JSON error formatter (#1727), thanks @staabm!
🐛
Bugfixes - Fix supertype checks between int range and constant int union (#1742), #3383, #6356, #7594, thanks @rvanvelzen!
- Fix resolving docblocks in global namespace (using
namespace {}
) (#1758), thanks @rvanvelzen! - Fix
ignoreErrors
(#1769), thanks @MartinMystikJonas! -
ignoreErrors
: fixreportUnmatched
withoutpath
/paths
(#1773), thanks @MartinMystikJonas! - Fix potential assert failures - use
getRawArgs()
instead (https://github.com/phpstan/phpstan-src/commit/6cd3d5d61db965f2d4d59e2e860201b9afb1d8fc), #8078 - Fix ArrowFunctionArgVisitor (https://github.com/phpstan/phpstan-src/commit/3758d9d5d5a8c792149238de289ab0e05f11de0e), #8072
- Fix ClosureArgVisitor (https://github.com/phpstan/phpstan-src/commit/e753dfd4a4d7f67192cd83e7117f39ebdd6e3ceb)
- Fix circular parent class reference thanks to BetterReflection v6 (https://github.com/phpstan/phpstan-src/commit/8f6392f4521d1d4109e2a79598e820b7ce367a67), #7787
- Fix infinite loop of global constants referencing each other (https://github.com/phpstan/phpstan-src/commit/33771e5d8ee8b6dbae4f42ce3f8b424a81f68dc9), #8054
- Fix
CURLOPT_POSTFIELDS
param type (#1782), thanks @ahmedash95! - Remove
IssetCheck
/MutatingScope::issetCheck
deviations and remove too early exits (#1784), thanks @herndlm! - Fix issue around generics and MethodsClassReflectionExtension/PropertiesClassReflectionExtension (https://github.com/phpstan/phpstan-src/commit/c052aace4efa157d9594f13fb748965cbfc43be2), #8008
- Make array access on possible
false
tolerant withisset
(#1791), #8068, thanks @ahmedash95!
🤖
Function signature fixes
🔍
Internals - Compile PHAR on PHP 8.1 (#1481)
- phpstan-src: Require PHP 8.1, use readonly properties (#1767)
- phpstan-src: Use intersection type (https://github.com/phpstan/phpstan-src/commit/376449e2d4744ec8ee3810321b33a963e89e8280)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.