chore(deps): update all non-major dependencies (patch)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
0.12.87 -> 0.12.88
|
symfony/browser-kit (source) | require-dev | patch |
5.2.7 -> 5.2.9
|
symfony/framework-bundle (source) | require | patch |
5.2.7 -> 5.2.9
|
symfony/http-client (source) | require-dev | patch |
5.2.8 -> 5.2.9
|
symfony/phpunit-bridge (source) | require-dev | patch |
5.2.8 -> 5.2.9
|
vimeo/psalm | require-dev | patch |
4.7.2 -> 4.7.3
|
Release Notes
phpstan/phpstan
v0.12.88
🔧
Improvements - ExceptionTypeResolver - support listing checked exception types (phpstan/phpstan-src@
349b3b3
), #4996 - Configuration parameter
editorUrl
to add clickable file URLs to output (#515), thanks @ThomasLandauer!
🐛
Bugfixes - Use 1 CPU only when
proc_open
function is disabled (#514), thanks @mvorisek! - Allow combining full and shortcut versions of
excludePaths
in the same config hierarchy (phpstan/phpstan-src@e7ac788
), #4561 - String starting with
\
is valid class name (phpstan/phpstan-src@428baf5
), #5002 - Fix
is_array()
false positive (phpstan/phpstan-src@187921e
), #4999 - Fix
TemplateUnionType
as part of intersection (phpstan/phpstan-src@4a45db5
), #5000 - Fix PHP warning for
*
ignore path whenopen_basedir
is set (#519), thanks @mvorisek!
🤖
Function signature fixes - functionMap: Be strict about array_flip input type (#518), thanks @mind-bending-forks!
- Fix
number_format()
with named arguments (#524), thanks @matyx! -
DateInterval
extension (#520), thanks @VincentLanglet!
symfony/browser-kit
v5.2.9
Changelog (https://github.com/symfony/browser-kit/compare/v5.2.8...v5.2.9)
- bug #41240 Fixed deprecation warnings about passing null as parameter (derrabus)
symfony/framework-bundle
v5.2.9
Changelog (https://github.com/symfony/framework-bundle/compare/v5.2.8...v5.2.9)
symfony/http-client
v5.2.9
Changelog (https://github.com/symfony/http-client/compare/v5.2.8...v5.2.9)
- bug #41224 fix adding query string to relative URLs with scoped clients (nicolas-grekas)
symfony/phpunit-bridge
v5.2.9
Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.2.8...v5.2.9)
- bug #41240 Fixed deprecation warnings about passing null as parameter (derrabus)
vimeo/psalm
v4.7.3
Improved unused property detection
Psalm emits UnusedProperty
and PossiblyUnusedProperty
issues when properties are declared but never referenced. Previously Psalm would count a property assignment as a reference to a property, but this has now been fixed so a property is treated as unused unless it is explicitly read from (#5810). As before, UnusedProperty
is emitted for private properties, while PossiblyUnusedProperty
is emitted for public and protected properties.
ParamNameMismatch
strictness
More When I originally implemented ParamNameMismatch
I ignored methods with only one param, thinking that people would not call methods with a single param using named arguments, but in retrospect this was a little too liberal. @VincentLanglet has restricted this appropriately (#5732)
Other bugfixes
- Improved negation of complex conditionals containing assignments (#5685)
- combining
scalar
andempty-scalar
should result inscalar
(#5696) - Inherit class-level suppressions when checking methods (#5687, #3357) - thanks @weirdan
- infer
never
types in more situations (#5777) — thanks @weirdan - prevent notice for some invalid docblocks (#5709) - thanks @weirdan
- prefer
@psalm-template
over@phpstan-template
(#5713) - thanks @weirdan - add JSON schema link for SARIF output (#5718) - thanks @weirdan
-
unpack
can returnfalse
— thanks @robchett - improved
array_splice
inference (#5738) — thanks @orklah - combining
never
andempty
should result innever
(#5756) - prevent OOM when using
array_merge
inside a loop (#4910) - prevent crash when templates cannot be resolved (#5073)
- all
opcache_*
functions are impure (#5761) - prevent OOM on very large conditionals (#5327)
- improved inference after a nullsafe method call has been made (#5771) - thanks @orklah
- prevent crash with
class-string-map
usage (#5434) - improved inference of
array_fill
(#5770) — thanks @olsavmic - fixed bug extending a
mixed
param (#5763) — thanks @orklah - added link to GitHub Actions report format (#5759) — thanks @sjparkinson
- call methods with proper params (#5768)
- preserve type after redundant cast to int (#5773) — thanks @orklah
- improved return type of
htmlspecialchars
andstrlen
(#5785, #5793) — thanks @still-dreaming-1 and @orklah - Psalm Refactor prevent trying to move synthetically-produced parts of the AST (#5780) — thanks @pawel-slowik
- narrow possible types when two variables are compared (#5774) — thanks @orklah
- Catch
nullref
inside__invoke
arguments (#5809) - allow
''|
at the start of a union type in docblocks (#5814) — thanks @orklah - add stubs for
mongodb
(#5813) — thanks @franmomu - improve generated assertions for
>= 0
(#5815) — thanks @orklah - prevent incorrect templated array types (#5799)
- transform bad array offsets where necessary (#5817) — thanks @orklah
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.