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.96 -> 0.12.99
|
symfony/expression-language (source) | require | patch |
5.3.4 -> 5.3.7
|
symfony/framework-bundle (source) | require | patch |
5.3.4 -> 5.3.7
|
symfony/http-client (source) | require-dev | patch |
5.3.4 -> 5.3.7
|
symfony/mime (source) | require | patch |
5.3.4 -> 5.3.7
|
symfony/phpunit-bridge (source) | require-dev | patch |
5.3.4 -> 5.3.7
|
symfony/security-bundle (source) | require | patch |
5.3.4 -> 5.3.7
|
symfony/security-core (source) | require | patch |
5.3.6 -> 5.3.7
|
symfony/security-guard (source) | require | patch |
5.3.4 -> 5.3.7
|
symfony/validator (source) | require | patch |
5.3.6 -> 5.3.7
|
Release Notes
phpstan/phpstan
v0.12.99
🔧
Improvements -
CompoundTypeHelper
is deprecated (https://github.com/phpstan/phpstan-src/commit/fff85f3c08a38110bca6a13d341778bbd79a2108) - Update
phpstorm-stubs
(https://github.com/phpstan/phpstan-src/commit/6fa12857c88dccfcf58492fc20aaa1f8aaa60535) - Add support for multiple wildcards in const type annotations (#658), #5534,thanks @Seldaek!
🔪
Bleeding edge -
empty()
rule (https://github.com/phpstan/phpstan-src/commit/601460ccecfd72888d96e9c53d21cc3a8b66c719) -
MissingReturnRule
- make the error non-ignorable for native typehints (https://github.com/phpstan/phpstan-src/commit/9ecefd56d8b1d5cf0100c50d6e620285d5312291) - Check callable parameter types for
array_map()
andarray_filter()
calls, #5609, #5356, #1954 - Teach
IssetRule
everything whatVariableCertaintyInIssetRule
does (https://github.com/phpstan/phpstan-src/commit/9689fbd0ed9f8438afc8679c90df61ee48a638fe), #970 - Teach
CatchWithUnthrownExceptionRule
everything whatDeadCatchRule
does (https://github.com/phpstan/phpstan-src/commit/165504cf9c4ae6e2dcfc2c3570a631441a411615) - Check that function with
@throws void
does not have an explicit throw point (https://github.com/phpstan/phpstan-src/commit/8b3382aceac801b9801fccda253033d8e8e5f655)
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. Learn more
🐛
Bugfixes - Fix false-positive when merging unions with plus operator (#657), #5584, thanks @staabm!
-
checkExplicitMixed
- replace mixed type recursively (https://github.com/phpstan/phpstan-src/commit/b4f81dbd777f071d78ccfc453c12e82b6f950f11), #5218 - Fixed
checkExplicitMixed
withTemplateMixedType
(https://github.com/phpstan/phpstan-src/commit/6ba9ef29cb5ccd5b540815e899c95e6a1602ccad), #3566 -
BaselineNeonErrorFormatter
: Sort errors by normalized relative path (#536), #5085, thanks @dktapps! - Enter assignment of property fetch's var when in null coalesce operator (https://github.com/phpstan/phpstan-src/commit/7ddfa174a60a15e584c7e6f4fec82237ccd70da8), #3283
- Pass-by-ref argument type passed to callable should be mixed after calling the callable (https://github.com/phpstan/phpstan-src/commit/109bf999b8791f512f2fe82b026ccd67d1f152a2), #5615, #5428, #2191
-
StubSourceLocatorFactory
- always use PHP 8 parser for PhpStorm stubs (https://github.com/phpstan/phpstan-src/commit/731ce1dd8d65537a61dddac417d5f5169f4bfce6) - support unary-minus on
IntegerRangeType
(#669), thanks @staabm! -
array_map
- understand call with multiple arrays (https://github.com/phpstan/phpstan-src/commit/3e0ecec8fc2482e412f67f6a62bdb6542be0fe5d), #5039 -
range()
ofnumeric-string
s can produce array of float|int (https://github.com/phpstan/phpstan-src/commit/3b6f0bf739c77e1fb8fb5116ae89cd70a2ac96c2)
🤖
Function signature fixes - Fix parameter definition for
Grpc\ChannelCredentials::createSsl
(#665), thanks @howyi! - Make
SimpleXMLElement
stub more specific (#666), thanks @devbanana!
v0.12.98
Allow dynamic list of stub files thanks to StubFilesExtension (https://github.com/phpstan/phpstan-src/commit/2ba9332d29c1acdde0f85a2781308d2e8972f00e), https://github.com/phpstan/phpstan-symfony/issues/195
v0.12.97
🔧
Improvements - Support for
literal-string
PHPDoc type inspired byis_literal()
RFC (https://wiki.php.net/rfc/is_literal), #5507 - Support
bool
as template type bound (https://github.com/phpstan/phpstan-src/commit/9d191f9abb00b3c293a26934ba1b92bb413569b4) - Support
float
as template type bound (https://github.com/phpstan/phpstan-src/commit/4e7d6c155c52e11f81bcabf75f84e14a2e0e1727), #5331 - Make
ReflectionAttribute
generic (#640, #643), thanks @vhenzl! - Implemented math on IntegerRangeType and ConstantIntegerType (#637), #4843, thanks @staabm!
- Support
non-empty-array
type in[] != $arr
conditions (#649), thanks @staabm! - Optimization - do not sort huge unions (https://github.com/phpstan/phpstan-src/commit/5a44c297adb6ded659c3206e9e9525f60a37d55b), #5500
- Optimize calculating scalar values from huge unions (https://github.com/phpstan/phpstan-src/commit/a6ca5f7a7ef60f20ca9c2f5ec5410d28224e2db8), #5527
- Update PHP 8 stubs (https://github.com/phpstan/phpstan-src/commit/a82605fbb80c5b09614ad6b82d872f2833eecce8)
🐛
Bugfixes - Reflection: fixed context of invoking a trait method (https://github.com/phpstan/phpstan-src/commit/89ceb6a9790d534b1d101b76317e487f0ee5d0c8), #5497
- Union normalization - do not take template types apart (https://github.com/phpstan/phpstan-src/commit/3b17c0e1d5a712f75f85ab604cb84741bdf38c72)
-
self::CONSTANT
can be precise even with PHPDoc type (https://github.com/phpstan/phpstan-src/commit/5010ef459465fa27a3b0fe3593bdd445b6dae8f3), #5517 - Fix CallableType's string type assumptions (https://github.com/phpstan/phpstan-src/commit/9a9f19380499a4836aa89d46a29477aed17b5da5)
- OptimizedDirectorySourceLocator - fixed crash when parsing
Text.php
ofnl_BE
from Faker (https://github.com/phpstan/phpstan-src/commit/a09a98d251002a061c96e7a49132693d46a0dee9), #5525 - Fix
?parent
in return type (https://github.com/phpstan/phpstan-src/commit/30c9b01fd12bf2a1f655b369629c3a38acff978e), #5529 - Fixed missing return rule for native mixed type (https://github.com/phpstan/phpstan-src/commit/03d8312e3ea62bb2c6a3ed89a88a6d86101a5594)
- Make mixin method static if there's
__callStatic()
in the class (https://github.com/phpstan/phpstan-src/commit/114a38f87a7ce2e7a53d55454a61cdfd832ea69f), #5536 - added
sizeof()
as alias ofcount()
for Smaller/SmallerOrEqual (#647, #648), #4843, thanks @staabm! - Refactor PreInc and PreDec (https://github.com/phpstan/phpstan-src/commit/a6a23dcaf6254c182e39117cbeb9f8087c1ee22c), #1870
- Fix inferring
TemplateUnionType
((https://github.com/phpstan/phpstan-src/commit/1b5710a3aa87a3d475d565c8ded12de170ee6cb6), #5562
🤖
Function signature fixes - substr_count returns non-negative integer (https://github.com/phpstan/phpstan-src/commit/8db058a52c763408f30cd914d743d930ff3e7e8e), #5513
- mb_str_split() / str_split() always returns
non-empty-array
(#633), thanks @staabm! - Third parameter of
sodium_base642bin()
is optional. (#644), thanks @tehbeard! - Make
filter_var()
returnnon-empty-string
if input is non-empty (#642), thanks @devbanana! - use positive-int in
iterator_count()
/iterator_apply()
(#646), thanks @staabm! - use positive-int in
array_count_values()
(#645), thanks @staabm! -
filter_var()
should return non empty string only when it will not be sanitized (#650), thanks @devbanana! - Sync
parse_url
signature with PHP 8 (https://github.com/phpstan/phpstan-src/commit/f7c6464067e04d5fc3f11b6f624a29fee067b1be)
symfony/expression-language
v5.3.7
Changelog (https://github.com/symfony/expression-language/compare/v5.3.6...v5.3.7)
- bug #42585 Remove PHP 8.0 polyfill (nigelmann)
symfony/framework-bundle
v5.3.7
Changelog (https://github.com/symfony/framework-bundle/compare/v5.3.6...v5.3.7)
symfony/http-client
v5.3.7
Changelog (https://github.com/symfony/http-client/compare/v5.3.6...v5.3.7)
- bug #42769 Don't pass float to
usleep()
(derrabus)
symfony/mime
v5.3.7
Changelog (https://github.com/symfony/mime/compare/v5.3.6...v5.3.7)
- bug #42659 Ignoring X-Transport header while signing email with DKIM (metaer)
symfony/phpunit-bridge
v5.3.7
Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.3.6...v5.3.7)
- no significant changes
symfony/security-bundle
v5.3.7
Changelog (https://github.com/symfony/security-bundle/compare/v5.3.6...v5.3.7)
- bug #42596 Fix wrong cache directive when using the new PUBLIC_ACCESS attribute (wouterj)
symfony/security-core
v5.3.7
Changelog (https://github.com/symfony/security-core/compare/v5.3.6...v5.3.7)
- bug #42260 Fix return types for PHP 8.1 (derrabus)
symfony/security-guard
v5.3.7
Changelog (https://github.com/symfony/security-guard/compare/v5.3.6...v5.3.7)
- no significant changes
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.