chore(deps): update dependency phpstan/phpstan to v0.12.93
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
0.12.92 -> 0.12.93
|
Release Notes
phpstan/phpstan
v0.12.93
🔧
Improvements - Improvements and bugfixes related to
non-empty-string
:- Fix
implode()
fornon-empty-string
return type (https://github.com/phpstan/phpstan-src/commit/520ae229d592cd425e2ef1ea5eaa2816fe08f89c), #5291 - Fixed encapsed string and concat operator in regard to
non-empty-string
(https://github.com/phpstan/phpstan-src/commit/1283db7ae426142af99b41a480c964fb8a2c8c83), #5301 - Fix inferring
non-empty-string
inarray_map
closure (https://github.com/phpstan/phpstan-src/commit/b864a95b4616dd62a2df48908a103179946a4589), #5293 - Dynamic return type extension for functions that return
non-empty-string
when given one (https://github.com/phpstan/phpstan-src/commit/4a9e0695fcc57610804685722f136b5830b96c2d) -
str_pad()
function return type extension (https://github.com/phpstan/phpstan-src/commit/84503ce886e4e760de2211b1996c53c6aa63ba69), #5307 -
str_repeat()
function return type extension (https://github.com/phpstan/phpstan-src/commit/57d765f6729eee91a67e5f8b14d8601d10cde23e), #5307 - Cover non-empty-string in
htmlentities()
(#574) (#574), thanks @staabm! - Cover non-empty-string in
substr
(#577), thanks @staabm!
- Fix
-
DateTimeImmutable
removed fromDateTimeInterface
results inDateTime
(https://github.com/phpstan/phpstan-src/commit/5eb96f55b75ae71acaa721ab831ac4a8c9647769), #5259 - Cover
non-empty-array
inarray_combine
(#578), thanks @staabm! - Cover
non-empty-array
inarray_merge
(#581), thanks @staabm! - Cover
FileHelper
methods with BC promise (https://github.com/phpstan/phpstan-src/commit/4f9488eb2e710f68a15632ee4115a4314f51a6f0), #5306
🐛
Bugfixes -
array_walk
also understandsobject
(#573), thanks @niconoe-! - Fix infinite recursion (https://github.com/phpstan/phpstan-src/commit/8fd9667c73710d586e90b5f5296575a3f6c9623a), #5231
- Final Exception methods can never throw an exception (https://github.com/phpstan/phpstan-src/commit/f5e88ae06ed144eacd3c042d77b0d4654e6bd84c), #5299
- Invalidating expressions without regexes (https://github.com/phpstan/phpstan-src/commit/4220e431da3e51c7a537b0ae26a825b0f3804fa1), #5129, #4970
- Filter by falsey condition after the while loop (https://github.com/phpstan/phpstan-src/commit/3166ba31a8768979a40e55f1bbfea9ba4449a3d8), #5328, #5322
🤖
Function signature fixes -
next()
dynamic return type extension also valid forprev()
(https://github.com/phpstan/phpstan-src/commit/2fd7bfec455c20295ad1a3eee78fc399bb9fcfec - More array functions also accept
object
(https://github.com/phpstan/phpstan-src/commit/a056d3491645a0f7198b0396e9553cc0b9564972) - Fix return type of
Memcached::deleteMulti
(#582), thanks @paulbalandan!
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.