chore(deps): update all non-major dependencies (patch)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.4.6 -> 1.4.8
|
symfony/console (source) | require | patch |
5.4.3 -> 5.4.5
|
symfony/dotenv (source) | require | patch |
5.4.3 -> 5.4.5
|
symfony/framework-bundle (source) | require | patch |
5.4.4 -> 5.4.5
|
symfony/http-client (source) | require-dev | patch |
5.4.3 -> 5.4.5
|
symfony/stopwatch (source) | require-dev | patch |
5.4.3 -> 5.4.5
|
symfony/web-profiler-bundle (source) | require-dev | patch |
5.4.3 -> 5.4.5
|
Release Notes
phpstan/phpstan
v1.4.8
🔧
Improvements - Validate
ignoreErrors
regexes during DIC compilation (save time in each run) (https://github.com/phpstan/phpstan-src/commit/692158c194eff722167f5316d31369a188a88a72), #6693 - Validate
parametersSchema
only during DIC compilation (https://github.com/phpstan/phpstan-src/commit/50f25e95ad2f99d9fb73e512ac9b54599653305b) - Retain left and right types in
==
and===
expression (#1046), thanks @herndlm! - Add support for integer ranges in
strtotime()
with constant strings (#1045), thanks @Seldaek!
🐛
Bugfixes - Fix
is_subclass_of
with same class (#1044), #6305, thanks @herndlm! - Fix Incorrectly nested style tag found for narrow terminals (https://github.com/phpstan/phpstan-src/commit/d921d067702acb1cc0451753dcdf3be142b29aed), #6724, #6727
- Empty array infers key and value type as never (https://github.com/phpstan/phpstan-src/commit/c2b9e713daa09db18111d28ba5c8cd79beeaeec5), #3400, #6353, #5757, #5065
-
ArrayType::traverse()
- create emptyConstantArrayType
in case ofnever
(https://github.com/phpstan/phpstan-src/commit/8c1dfc1afb3f381c8e50befe38e8abc581c67db2)
v1.4.7
This release fixes 43 issues!
🔧
Improvements - Run the parallel worker even for a low number of files (#686), #6606
- Autodiscover
phpstan.dist.neon
as a config file (#1006), #6561, thanks @b1rdex! - Make editor links clickable for terminals supporting hrefs (#1013, https://github.com/phpstan/phpstan-src/commit/bbf14bf635e91aad4be81ad6eacc8b18fb3b31ed), thanks @Seldaek!
- Table format error output - improve table wrapping (https://github.com/phpstan/phpstan-src/commit/bc481b74fb54f494d616e5f7bb04053b7fffc28f)
- Implemented ConstantStringType inference for
str_repeat
(#1030), #6679, thanks @staabm! - Deprecate
TypeUtils::generalizeType()
(https://github.com/phpstan/phpstan-src/commit/267457712854e8ed1de9c6b99e918e2d9d1219d3) - Date format return type extensions (https://github.com/phpstan/phpstan-src/commit/b49df58105e5300d4a2d7b0ff44a5a6f5806f240), #6550
- Infer explicit mixed when instantiating generic class with unknown template types (bleeding edge) (https://github.com/phpstan/phpstan-src/commit/089d4c6fb6eb709c44123548d33990113d174b86), #6398
🐛
Bugfixes - Fix incorrect array
sizeof()
when usingunset()
(#971), #6488, thanks @staabm! - Split
TemplateType::isSubTypeOf()
andTemplateType::isAcceptedBy()
(#1001), #6589, thanks @arnaud-lb! - Use a BenovolentUnionType for properties in SimpleXMLElement (#76), #2784, #6020, thanks @orklah!
- Binary operations on
non-empty-string
andstring
should error (#1011), #6624, thanks @staabm! - No longer verify types when
TypeSpecifyingExtension
uses$overwrite=true
(#1011), #6620, thanks @staabm! - Normalize specified types before intersection (#1016), #6329, thanks @herndlm!
- Improve intersect and union of SubtractableTypes (#1028), #6672, thanks @herndlm!
- Ignore
@template
above a property (https://github.com/phpstan/phpstan-src/commit/53563e9429f9559120aa8e043d9283c6b4c2d0a9) - Add missing
SpecifiedTypes
forcount()
andstrlen()
in===
expressions (#1021), thanks @herndlm! - Detect closure parameter types when passing closure in a union (#1019), #5675, #6629, thanks @axlon!
- Fix another BooleanOr issue (https://github.com/phpstan/phpstan-src/commit/cc6655f9311a738bc2dec6bad2c6e6b6b8173c81), #6696, #6112, #5749
- Fix anonymous class reflection error (https://github.com/phpstan/phpstan-src/commit/0e5d58604e4cfdc5f9c2742736a05c1434de8821), #6681
- OptimizedDirectorySourceLocator - fix bug with uppercase Enum keyword (https://github.com/phpstan/phpstan-src/commit/7110a088ffb28e368b4ba23f73c23b936e4ff05c)
- Template tag without bound is explicit mixed (https://github.com/phpstan/phpstan-src/commit/0808a89469a0d28bebd0b8d7b14af1639e441215)
- Fix isSmallerThan etc. in BenevolentUnionType (https://github.com/phpstan/phpstan-src/commit/dd5633f1835d58f67edb95858185b7791a13220c), #5969, #5295
- Do not generalize
class-string
during template type inference (#1038), #6505, #6699, thanks @arnaud-lb! - Support for
class-string
$class
parameter inis_subclass_of()
(#1039), #6698, #5369, thanks @arnaud-lb! - Fix generalization of
EnumCaseObjectType
(https://github.com/phpstan/phpstan-src/commit/9e428966d8f985db3199a234406c6799abd18617), #6695, #6433 - Duplicate and adapt solution from
is_subclass_of()
foris_a()
(#1040), #6704, thanks @herndlm! - ImplodeFunctionReturnTypeExtension - fix handling optional keys in ConstantArrayType (https://github.com/phpstan/phpstan-src/commit/7f643c5866c3aab51a93e971ab0a7cf471111edf), #6715
- Improve
ArrayType::castToArrayKeyType()
for booleans (#1033), thanks @jlherren! - Fix
ArrayColumnFunctionReturnTypeExtension
producing array key types (#1033), #6682, thanks @jlherren! - Fix
in_array()
for arrays with union value type (https://github.com/phpstan/phpstan-src/commit/4321374cadc2d0a2a738fa322888e15d61116d56), #6705, #5668, #5759, #3314, #5496, #4666, #3892, #5354, #2870
🤖
Function signature fixes - Add FilterIterator stub (https://github.com/phpstan/phpstan-src/commit/c5f4c3b1693b8e0b3bcab5705d4f301999c523b3)
- Add CallbackFilterIterator stub (https://github.com/phpstan/phpstan-src/commit/868720e093f4246748846f7629dc57391d7daaff)
- Add RecursiveCallbackFilterIterator stub (https://github.com/phpstan/phpstan-src/commit/86a63ff1f07352fffe84b2ad0468d5d14a0fc2d3)
- Correct the case for various class names. (#1007), thanks @johnbillion!
- Update the signature for
set_error_handler()
. (#1008), #6619, thanks @johnbillion! -
PDOStatement::fetchAll
no longer returns false on PHP8 (#1014), thanks @xPaw! -
mb_*
fatal errors on php8 with invalid encoding (#969), thanks @staabm! - Allow 1st argument
$read
ofstream_select
to be nullable (#1031), thanks @niconoe-! - Fix
PDOException::getCode()
return type (#1018), #6651, thanks @VincentLanglet! - Countable stub with
0|positive-int
(bleeding edge) (#1027), thanks @staabm! - Fix
substr()
return type on PHP < 8 - use benevolent union type (#1036), thanks @Seldaek! - Fixed error return signatures for
\SplFileInfo
(#1034), #6680, thanks @siganushka! - Fix
setFetchMode
signature withfetch_class
(#1043), thanks @Seldaek! -
preg_filter
return type extension (#1024), #6664, thanks @staabm! - more precise
preg_match_all
return type on PHP 8 (#1023), thanks @staabm!
symfony/dotenv
v5.4.5
Changelog (https://github.com/symfony/dotenv/compare/v5.4.4...v5.4.5)
- bug #45430 Fix reading config for symfony/runtime when running dump command (nicolas-grekas)
symfony/framework-bundle
v5.4.5
Changelog (https://github.com/symfony/framework-bundle/compare/v5.4.4...v5.4.5)
- bug #45479 Reset services between requests performed by KernelBrowser (nicolas-grekas)
- bug #45414 KernelTestCase resets internal state on tearDown (core23)
- bug #45399 Fix sorting bug in sorting of tagged services by priority (Ahummeling)
- bug #45281 Fix connecting to Redis via a socket file (alebedev80)
- bug #44868 Fix using PHP 8.1 enum as parameters (ogizanagi)
- bug #45299 Fix AsEventListener not working on decorators (LANGERGabrielle)
- bug #45289 Fix log channel of TagAwareAdapter (fancyweb)
symfony/http-client
v5.4.5
Changelog (https://github.com/symfony/http-client/compare/v5.4.4...v5.4.5)
symfony/Stopwatch
v5.4.5
Changelog (https://github.com/symfony/stopwatch/compare/v5.4.4...v5.4.5)
- no significant changes
symfony/web-profiler-bundle
v5.4.5
Changelog (https://github.com/symfony/web-profiler-bundle/compare/v5.4.4...v5.4.5)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.