chore(deps): update all non-major dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
myclabs/php-enum | require | minor |
1.7.7 -> 1.8.0
|
phpstan/phpstan | require-dev | patch |
0.12.76 -> 0.12.78
|
vimeo/psalm | require-dev | minor |
4.5.2 -> 4.6.1
|
Release Notes
myclabs/php-enum
v1.8.0
Added:
- new
Enum::from()
method as an alternative to the constructor that is more strictly typed, and provides a forward compatible solution with PHP 8.1 enums - new
Enum::assertValidValue()
to assert that a value is correct
Psalm annotations have been improved as well.
Thanks @drealecs, @Ocramius, @michaelpetri, @gharlan, @simPod
phpstan/phpstan
v0.12.78
🔧
Improvements - Remember assigned offset value on general arrays (phpstan/phpstan-src@
0f64ca7
), #2112 - Result cache optimization (phpstan/phpstan-src@
67b2d1c
) - Result cache - invalidate when scanned file changed (phpstan/phpstan-src@
7d279fc
), #3952 - Result cache - hash autoload file and bootstrap files (phpstan/phpstan-src@
3457e58
), #3416 - Parameter of closure passed into
array_map
/array_filter
can resolve to a subtype of native type (phpstan/phpstan-src@bf320b0
)
🐛
Bugfixes - Invalidate
count($array)
afterarray_shift()
(phpstan/phpstan-src@6b2afbc
), #4558 - Fix
@template
name clash from different scopes (phpstan/phpstan-src@527269a
), #4557, #3121 - Symbol discovery - fixed looking for functions returning references (phpstan/phpstan-src@
ec26a00
), #3829 - First argument of
method_exists()
might remain a string (phpstan/phpstan-src@91894ff
), #4573 - Added many regression tests for already fixed issues (#2837, #3096, #3891, #3544, #2675, #1897, #1801, #1711, #4432, #2268, #2298, #1903, #2927, #2434, #2220, #1871, #1707, #1664, #1661, #1656, #1613, #2682, #2689, #2714, #2846, #3309, #3357, #3534, #3608, #3669, #3920, #3261, #4289, #2568, #4209, #3034, #3117, #1971, #2869, #3024, #3134)
🤖
Function signature fixes - Fix accepted types for fputcsv fields parameter (#451), thanks @DaveLiddament!
v0.12.77
🔧
Improvements - Check
continue
/break
outside of loop and switch (level 0) (phpstan/phpstan-src@df5c98d
), #3588, #794
🐛
Bugfixes - Fix result cache for ever-changing Git commit in
vendor/composer/installed.php
(phpstan/phpstan-src@6367eb6
), #4542 - Avoid false-positive "Offset does not exist" on
isset()
(#452), thanks @VincentLanglet! - Fix function signatures with multiple variants on PHP 8 (#453), #4538, #4530
- CallStaticMethodsRule - fix case with non-object class-string (phpstan/phpstan-src@
ec2ef2a
), #4550 - Fixed inferring from nested generic
class-string<T>
(phpstan/phpstan-src@a7a46b1
), #4552, #4249
🤖
Function signature fixes - Fixed return type of
simplexml_import_dom
(phpstan/phpstan-src@270d507
), #4536 -
Redis::auth()
method also accepts array (#449), thanks @mvorisek! -
proc_get_status()
- array shape for PHP 8 (phpstan/phpstan-src@f9c5714
)
vimeo/psalm
v4.6.1
This used some extra arguments in preg_replace_callback
that were only added in PHP 7.4. Also @orklah improved bit-shift operation return types (#5233)
v4.6.0
This release improves language server behaviour for autocompletion, and fixes some caching bugs triggered by invalid PHP.
Also @VincentLanglet renamed some stubs to avoid conflicting with PHPStorm (#5213)
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.