chore(deps): update dependency phpstan/phpstan to v1.4.5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.4.3 -> 1.4.5
|
Release Notes
phpstan/phpstan
v1.4.5
🔧
Improvements - AnalyseApplication: Do not re-analyse stubs on every run (#730), #5826, thanks @dktapps!
- Add shorthand for
--generate-baseline
(-b
) (#980), thanks @Seldaek! - Support narrowing down
array_filter()
return type via string callable (#938), #6417, thanks @herndlm! - Loop optimization (#757), thanks @ging-dev!
🐛
Bugfixes - Fixed level 9 issues (https://github.com/phpstan/phpstan-src/commit/9f12f0fb4877b28cdad42644d927f579c42db22d), #6423, #6464, #6236, #6418, #6118, #6081, #6053, #6055, #5860, #6230
- Cast PHPDoc array key type with array key casting rules (https://github.com/phpstan/phpstan-src/commit/5d17b847d9f60a0fba21d76d813a612c042fdb1c), #6117
- Support closure bind with class-string (#706), #4949, thanks @mvorisek!
- Fix
NeverType::toBoolean()
(https://github.com/phpstan/phpstan-src/commit/fe3a3419d5d8d2b276456971afc3e1804ab1c759), #6258 - Fix
DatePeriod
constructor extension in subclasses (https://github.com/phpstan/phpstan-src/commit/0c82b3a2675f636db920a0a3e077a45a87200766), #6500 - Forget remembered specific type when entering arrow function with same-named parameter (https://github.com/phpstan/phpstan-src/commit/af38f03b41d002bd01afa989921acd9f1114fc0e), #6473
- Fix segfault (https://github.com/phpstan/phpstan-src/commit/d101764ff94a5838930a11fdac7ca9156ded7dc4), #6501
🤖
Function signature fixes - More precise
array_chunk
signature (#709), thanks @staabm! - Narrow the type for the
preg_replace_callback()
callable. (#758), thanks @johnbillion! - Update return types for hash functions (#822), thanks @jlherren!
- Fix type for
array_splice()
argument$replacement
(#901), #6288, thanks @spawnia! -
stream_bucket_new
returns an object (#968), thanks @mind-bending-forks! - More precise signatures for
mb_*
functions (#717), thanks @staabm! - Fix
array_column()
withnull
as$column_key
(#970), thanks @jlherren!
v1.4.4
🔧
Improvements - Return type extension for
array_column()
(#948), thanks @jlherren! - Generic stub for
DatePeriod
+ constructor dynamic return type extension (#958), #5953, thanks @Alban-io! - Resolve remaining predefined constants (#693), thanks @herndlm!
🐛
Bugfixes - Support all
array_filter()
flags for narrowing down types (#941), thanks @herndlm! - Fix error The supplied range exceeds the maximum array size (#934), #6375, thanks @voku!
- Nullable union template type bound is actually supported (https://github.com/phpstan/phpstan-src/commit/1d8b2eb269b1de8c449b372580852c2a6307c323), #4656, #5305, #3384
- Fix reporting nonexistent offset in
isset()
(https://github.com/phpstan/phpstan-src/commit/f05e8eb8fe3d979afa9e627371f4df92ab28fadf), #4926 - Fix interaction between template type and intersection type (#955), #6210, thanks @arnaud-lb!
- Fix tests on 32-bit (#957), thanks @herndlm!
- Fix resolving type of
isset()
,empty()
and null coalesce operator (??
) (https://github.com/phpstan/phpstan-src/commit/3b17acc5de4ac507d678f9ca9b2cd15937921ffb), #4592, #4903, #2420, #2718, #3126, #4586, #4887
🤖
Function signature fixes - Narrow down the return type of the
Throwable::getTrace()
method (#914), thanks @ste93cry! - Fix DOMDocument::saveXML signature (#956), thanks @kissifrot!
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.