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.9
|
phpunit/phpunit (source) | require-dev | patch |
9.5.16 -> 9.5.18
|
symfony/framework-bundle (source) | require | patch |
5.4.4 -> 5.4.6
|
symfony/http-client (source) | require-dev | patch |
5.4.3 -> 5.4.5
|
symfony/security-core (source) | require | patch |
5.4.3 -> 5.4.5
|
Release Notes
phpstan/phpstan
v1.4.9
🔧
Improvements -
Identical
(===
and!==
) andEqual
(==
and!=
) with the same variables resolve toConstantBooleanType
(https://github.com/phpstan/phpstan-src/commit/98c4d84ec983fb36992119d4c393d7192a2a99b6) - Scalars of the same type on both of
Equal
(==
and!=
) are delegated toIdentical
(===
and!==
) (https://github.com/phpstan/phpstan-src/commit/316f269d6e81fcfa435f74cb1155076e349f053f)
🐛
Bugfixes - Fix trait detection recursion (#1050), #6740, thanks @herndlm!
- Do not add
null
to a template type for a default parameter valuenull
(https://github.com/phpstan/phpstan-src/commit/7a66cb6eda85703811c7dce472355e036d70c144), #6584 - Fix nullable closure parameter type (https://github.com/phpstan/phpstan-src/commit/c05ba984a08d1fa50e0edf63e99a9a893e78e821), #6701
- TemplateType - fix description for subtracted mixed bound (https://github.com/phpstan/phpstan-src/commit/6525d6805b1beece69ec97802bdf16dd8545cfdf)
- Fix dead catch when iterating objects (#1051), #5903, thanks @rajyan!
- Fix false positive dead catch on property assignment (#1047), #6256, thanks @rajyan!
- Fix template type subtraction and union (https://github.com/phpstan/phpstan-src/commit/51e2df38ee7fbda5416e1c5c1091dacf8618f3e1), #6591
- Simulate
offsetSet
to get throw points for ArrayAccess assignment (#1054), #4852, thanks @rajyan! - Make return type extension for
array_column()
aware of PHP version (#1053), thanks @jlherren! - Fix Unused private constant with an indirect access (#1059), #6758, thanks @rajyan!
- Fix
Equal
(==
and!=
) handling in TypeSpecifier (https://github.com/phpstan/phpstan-src/commit/10b295f3cde7d91cc2b2784fc012910be6a06fb8) - Fix more TypeSpecifier issues regarding
Identical
(===
and!==
) (#1058)
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/framework-bundle
v5.4.6
Changelog (https://github.com/symfony/framework-bundle/compare/v5.4.5...v5.4.6)
- bug #45637 do not pass DBAL connections to PDO adapters (xabbuh)
- bug #45595 Fix resetting container between tests (nicolas-grekas)
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/security-core
v5.4.5
Changelog (https://github.com/symfony/security-core/compare/v5.4.4...v5.4.5)
- bug #44259 AccountStatusException::$user should be nullable (Cantepie)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Reiter, Christoph