Update all non-major dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
friendsofphp/php-cs-fixer | require-dev | patch |
^2.16 -> ^2.17
|
phpstan/phpstan | require-dev | patch |
0.12.64 -> 0.12.66
|
symfony/polyfill-php80 (source) | require | patch |
^1.20 -> ^1.22
|
vimeo/psalm | require-dev | patch |
^4.0 -> ^4.4
|
Release Notes
phpstan/phpstan
v0.12.66
🔧
Improvements - Support
@pure
and@phpstan-pure
annotations (#412), thanks @b1rdex! - Support
@impure
and@phpstan-impure
(#412) - It closes these issues: #3746, #3844, #4301, #2105, #929, #1826
🔪
Bleeding edge - Detect stub file added multiple times (phpstan/phpstan-src@
4a82eec
) - BooleanAndConstantConditionRule - check LogicalAnd (phpstan/phpstan-src@
40a76e8
) - BooleanOrConstantConditionRule - check LogicalOr (phpstan/phpstan-src@
ae9a558
)
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon
:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included.
🐛
Bugfixes - Fix return type of arrow function (phpstan/phpstan-src@
e9b783a
), #4339 - Apply conditional expressions for non-empty arrays inside foreach (phpstan/phpstan-src@
35db779
), #4343
🤖
Function signature fixes - Updated return values for
zip_open()
(#419), #4341, thanks @spud! - Updated PHP 8 stubs (phpstan/phpstan-src@
d586b93
) - Improved
setcookie()
andsetrawcookie()
signatures (phpstan/phpstan-src@ccb1d4d
), #4348 -
array_combine()
dynamicExtension (#418), thanks @VincentLanglet! -
array_rand()
return type extension (#417), thanks @VincentLanglet! - Update
ctype_*
function signature (#421), thanks @BackEndTea!
v0.12.65
🔧
Improvements - New option
excludePaths
that replacesexcludes_analyse
and allows for more granular settings - different exclusions for analysed paths and discovering symbols in 3rd party code (phpstan/phpstan-src@bf35a10
) - #3749, #1796. Read more about it in this comment. - Clear cache directory - delete old containers (phpstan/phpstan-src@
db0a5f6
), #4328
🐛
Bugfixes - Generics - do not generalize array shape (phpstan/phpstan-src@
94e3443
) - Arrow functions - allow more precise return type even when native return type is present (phpstan/phpstan-src@
3d0ac6f
), #4275 -
array_filter
w/ arrow functions return type extension (#402), thanks @b1rdex! - Make IntegerRangeType represent open intervals properly (#409), #577, thanks @jlherren!
- Improve specified type in comparisons (#390), thanks @jlherren!
- Register missing SplObjectStorage stub (phpstan/phpstan-src@
143741c
) - Solve issues with arrow functions containing void expression (phpstan/phpstan-src@
7ac6383
), #4292, #3348 - Fix
isset()
bug (phpstan/phpstan-src@3d6461c
), #4290 - Fix infinite recursion with
count()
calls in TypeSpecifier (phpstan/phpstan-src@69e68a7
), #4300
🤖
Function signature fixes - Fix function signatures for
preg_replace_callback*
for PHP 7.4+ (#411), thanks @jabrandes! - Sync array_unique parameter names with PHP 8 (phpstan/phpstan-src@
9e7bdf7
)
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Reiter, Christoph