Update all non-major dependencies (patch) - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
dbp/relay-core-bundle | require | patch |
0.1.69 -> 0.1.70
|
phpstan/phpstan | require-dev | patch |
1.9.2 -> 1.9.11
|
phpstan/phpstan-phpunit | require-dev | patch |
1.3.0 -> 1.3.3
|
phpstan/phpstan-symfony | require-dev | patch |
1.2.16 -> 1.2.20
|
phpunit/phpunit (source) | require-dev | patch |
9.5.27 -> 9.5.28
|
symfony/event-dispatcher (source) | require | patch |
5.4.9 -> 5.4.17
|
symfony/framework-bundle (source) | require | patch |
5.4.16 -> 5.4.17
|
symfony/http-client (source) | require-dev | patch |
5.4.16 -> 5.4.17
|
symfony/mailer (source) | require | patch |
5.4.16 -> 5.4.17
|
symfony/phpunit-bridge (source) | require-dev | patch |
5.4.16 -> 5.4.17
|
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
phpstan/phpstan
v1.9.11
🐛
Bugfixes - It is not FileExcluder job to exclude stub files (https://github.com/phpstan/phpstan-src/commit/7bdfdd4c40dc64128c9abf8119a5bd3c563963b7)
- Bugfix for PHPStan 1.9.10
- Add missing
@phpstan-
prefixed tags (#2177), #8697, thanks @zonuexe!
v1.9.10
- Only analysis FileExcluder excludes stub files (https://github.com/phpstan/phpstan-src/commit/8ef5163f906fb7e263a0e4dab7d32ed796853572)
- This will allow us to use ReflectionProvider in StubFilesExtension
- Thanks to this change, this issue will be fixed: https://github.com/phpstan/phpstan-doctrine/issues/413
v1.9.9
🔧
Improvements - New method
Type::getEnumCases()
to use instead ofinstanceof EnumCaseObjectType
(https://github.com/phpstan/phpstan-src/commit/a0242e0f7234b4e78a59ddc6ea79342cd1e03c0f)
🐛
Bugfixes - Last
elseif
can be exhaustive and noelse
branch is needed (https://github.com/phpstan/phpstan-src/commit/94e6e466f44a0dbbcb6182b32628d97a80109305), #7547 - Fix resolving of
__CLASS__
,__NAMESPACE__
in traits (#2043), #3019, thanks @staabm! -
class_implements
dynamic return type extension (#2023), #4335, thanks @VincentLanglet!
🤖
Function signature fixes -
ReflectionClass::newInstanceArgs()
type fix for named arguments (#2176), #8679, thanks @s3b4stian!
🔍
Internals - Exit early in
TrinaryLogic::lazyAnd()
andlazyOr()
if current instance allows it (#2173), thanks @herndlm! - Remove unused iterable check in
MissingTypehintCheck
(#2174), thanks @herndlm!
v1.9.8
🔧
Improvements - Improve constant string support in DateTime return type extensions (#2152), thanks @herndlm!
- Improve expression type resolving of superglobals (#2012), thanks @herndlm!
- Improve integer range multiplication and division (#1961), thanks @VincentLanglet!
🐛
Bugfixes - ObjectType static cache should be reset after container creation (https://github.com/phpstan/phpstan-src/commit/b13ce59ac33952c086b0effa986691a8fcd6166e), https://github.com/phpstan/phpstan/discussions/8502
- Supports functions whose side effects are flipped by parameters (#2037), #8440, thanks @zonuexe!
-
array_shift
et al. have side effects (https://github.com/phpstan/phpstan-src/commit/6276ce1c3e86e18d43989310dbd277e8ea9845f6), #8084 - Fix comparison with
get_class()
in traits always evaluate to true (#2044), #3633, thanks @staabm!
v1.9.7
🔪
Bleeding edge - Empty
skipCheckGenericClasses
(https://github.com/phpstan/phpstan-src/commit/28c2c79b16cac6ba6b01f1b4d211541dd49d8a77)
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
🔧
Improvements -
UnionType::pickTypes
overriden inBenevolentUnionType
for a more benevolent behaviour (https://github.com/phpstan/phpstan-src/commit/480626ecb52d2e98cc28cee8a18dfb86112b7f8f)
🐛
Bugfixes - Fixed incorrect while loop logic (https://github.com/phpstan/phpstan-src/commit/091fcafb07ac0b3eb261285c049d9c0f214a535c), #8643
- Fixed scenario with zero analysed files (https://github.com/phpstan/phpstan-src/commit/6debffdb5892f7fb311a60634ec9cda79b6e3154)
🤖
Function signature fixes -
min()
andmax()
do not returnfalse
on PHP 8 (#2161), thanks @staabm! - Fix a few MongoDB definitions (#2140), thanks @UCIS!
🔍
Internals
v1.9.6
🔧
Improvements - Show combined memory usage in parallel mode (#2027), #4683, thanks @janedbal!
🐛
Bugfixes - One-part encapsed string is correctly converted to string (https://github.com/phpstan/phpstan-src/commit/dc77608ee9ab22e352cd3df60ce2bc2d8d135abc), #8635
- Conditional expressions - do not take conclusions about identical variable in assignment (https://github.com/phpstan/phpstan-src/commit/cde53d19e9b4edf81f4c469b7f2a2c3634004d86), #8625, #8621
v1.9.5
🔧
Improvements - Improve constant string union handling for concat and encapsed string (#2057), thanks @schlndh!
- PhpVersion: supportsDisjunctiveNormalForm (#2130), thanks @janedbal!
- Constant scalar types might accept general type from the same family (#2131) - this moves some errors from earlier levels to level 7
- Implement OversizedArrayBuilder to improve huge constant array performance (#2116), #8215, thanks @staabm!
- Improve performance again by dumbing down nested arrays (#2077)
- Result cache should not be invalidated by changes to editorUrl, editorUrlTitle and errorFormat parameters (#2136), thanks @bendavies!
- Faster
MutatingScope::shouldInvalidateExpression()
(#2139), thanks @staabm! - Add
ReturnStatementsNode::hasNativeReturnTypehint()
(#2141), thanks @janedbal! - TypeNodeResolver -
lowercase-string
andnon-empty-lowercase-string
are known (https://github.com/phpstan/phpstan-src/commit/884ceb015c68e8c40a066732b4bc873bed568d38)
🐛
Bugfixes - OversizedArrayType contains at least 1 element (#2126), thanks @staabm!
- Fix
pathinfo($s, PATHINFO_ALL)
return type (#2014), thanks @staabm! - Bump fidry/cpu-core-counter version (#2133), thanks @czukowski!
- Fix
MixedType::hasOffsetValueType()
for subtracted types (#2135), #6705, thanks @herndlm! - Fix dumbed down arrays (#2137), #8004
- Return type of
parent::__set_state()
method is only object (#2138), thanks @blankse! - Fix fatal error when autoloader opens directories (#2154), thanks @staabm!
- Fix returntype for DateInterval::createFromDateString (#2038), thanks @verfriemelt-dot-org!
- Fix hasSideEffects for AnnotationMethodReflection (#2155), thanks @VincentLanglet!
- Fix constant-string handling in union-types (#2134), #8568, #8562, thanks @staabm!
- IntersectionType - check if it's an oversized array and return benevolent union in getOffsetValueType (https://github.com/phpstan/phpstan-src/commit/80b5cdd3ecf173f0aaa7354d28537167905aec7c)
🔍
Internals - Use isArray, isConstantArray instead of instanceof in TypeCombinartor::union (#2118), thanks @rajyan!
- Fix typo (#2127), thanks @rajyan!
- AnalyserIntegrationTest - run with bleedingEdge (https://github.com/phpstan/phpstan-src/commit/db2de6f17469e9bc0d078e09c895d64a39fe14ca)
- Refactor options handling in
FilterVarDynamicReturnTypeExtension
(#2120), thanks @herndlm! - Add
Type::isScalar()
(#2149), thanks @herndlm! - Removed unused fileName in FetchedNode (#2150), thanks @staabm!
- Removed unused NodeList class (#2151), thanks @staabm!
- Add namespace to bug-8573.php / fix
GenericsIntegrationTest
(#2147), thanks @herndlm!
v1.9.4
🔧
Improvements - Various performance optimizations from @staabm (#2098, #2099, #2100, #2101, #2103, #2104)
- Resolve parameter types only when
checkArgumentTypes=true
(#2106), thanks @staabm! - Keep NeverType isExplicit flag in
TypeCombinator::intersect()
(#2112), thanks @staabm! - Keep NeverType isExplicit flag in
InitializerExprTypeResolver
(#2114), thanks @staabm! - Add
TypeCombinator::removeFalsey()
(#2003), thanks @axlon! - Option
usePathConstantsAsConstantString
(#2050), thanks @MartinMystikJonas!
🐛
Bugfixes - Fix native type on
unset
(#2107), #7805, thanks @rajyan! - Fix return type of
array_search()
with constant array type haystack (#1806), #3789, thanks @takaram! -
parse_str()
might return nested arrays by-ref (#1994), #8356, thanks @staabm! - Fix regression in
for
loop (https://github.com/phpstan/phpstan-src/commit/a8975b1800d6c5cb88a6af02e132b4e44e093fc3), #8520 - Fix readonly properties bugs and infinite recursion (https://github.com/phpstan/phpstan-src/commit/a7fed03bbf1bef545c8afcbf6c906ac93b34c876), #8543
- Fix internal error for dynamic properties defined on interface on PHP 8.2 (https://github.com/phpstan/phpstan-src/commit/4025209062e31619077197006ce44b5d60a9f2c1), #8537
🔍
Internals - Implement
getConstantStrings()
on Type (#1979), thanks @staabm! - Fix node PHPDoc type hints (#2053), thanks @herndlm!
- Refactor FilterVarDynamicReturnTypeExtension to pass around Types instead of Args and the Scope (#2109), thanks @herndlm!
v1.9.3
🔪
Bleeding edge - Fix invariance composition (#2054), thanks @jiripudil!
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
🔧
Improvements - TypeInferenceTestCase - do not allow files with no asserts (#1992), #8346, #8094, thanks @herndlm!
-
DateTimeZone::__construct
throw type extension (#2034) - TableErrorFormatter: allow editor url title configuration (#2035), #7796, thanks @janedbal!
- Various generics variance fixes (#2051, #2064), #3960, thanks @jiripudil!
- Add
deprecationRulesInstalled
configuration (#2062), thanks @villfa!- To be used in phpstan-deprecation-rules and phpstan-phpunit extensions soon!
- ArrayFilterRule should care about
treatPhpDocTypesAsCertain
(#2065), thanks @VincentLanglet! - Discover phpunit-bridge automatically (https://github.com/phpstan/phpstan-src/commit/c760b1f7a45c512cd34c91d8e078046dfdc453ba)
- Performance optimizations:
- Cache descriptions in ObjectType and UnionType (https://github.com/phpstan/phpstan-src/commit/da8413c493cbb9d800228f996836207e9598920c), #8499, #8497
- Remove unnecessary file IO (#2069, #2094), thanks @staabm!
- Reduce calls to
Scope::getType()
. Cheap checks first. (#2071), thanks @staabm! - Cache resolved phpdoc in ClassReflection (#2072), thanks @staabm!
- Don't re-calculate node-key over and over again (#2073), thanks @staabm!
- Improve the CPU core count detection (#2047), thanks @theofidry!
- Optimize path related utils on windows (#2068), thanks @staabm!
- Don't re-calculate node-key over and over again - part 2 (#2074), #8503, thanks @staabm!
- Faster ConstantStringType->toArrayKey() (#2081), thanks @staabm!
- Faster ConstantFloatType->isSuperTypeOf(ConstantFloatType) (#2080), thanks @staabm!
- TypeSpecifier micro-optimization (https://github.com/phpstan/phpstan-src/commit/30e6d19496adb16b6bfd9be1cd1bf767f6ce8713)
- Faster TrinaryLogic->lazyExtremeIdentity() (#2083), thanks @staabm!
- Faster ConstantArrayType->isSuperTypeOf() (#2086), thanks @staabm!
- Loops analysed in linear time instead of exponential time (#2088, #2091), #8503, #6265
- Remove unnecessary method call to already known value (#2092), thanks @staabm!
🐛
Bugfixes - Improve conditionalExpressionTypes (#1950), #3677, #5623, #5401, #7292, #8212, thanks @rajyan!
- Fix conditional variable types in global scope (#1995), thanks @rajyan!
- Do not invalidate related expressions in ensureNonNullability (#2004), #8361, thanks @rajyan!
- Improve create conditional expressions to handle all expressions (#2007), thanks @rajyan!
- Improve conditional type resolving performance (#2030), #8397, #5805, thanks @rajyan!
- Fix false positive of access to static private property of parent class (#1989), #8333, thanks @staabm!
- Fix intersecting array shapes with different optional keys (#2002), #8373, thanks @rvanvelzen!
- Support PHPDoc asserts on variadic parameters (#2009), #8389, thanks @rvanvelzen!
- Fix
@param-out
on methods (#2028), #8421, thanks @staabm! - Do not set native type to
mixed
on annotation assignment (#2017), thanks @herndlm! - Consistently pass
$nativeExpressionTypes
in MutatingScope (#2021), thanks @herndlm! - Fix infinite loop when fully qualified callback is supplied (#2005), #8376, thanks @cs278!
- Non-static method DOMDocument::loadHTML() can be called statically (#2042), #2759, thanks @staabm!
- Fix FuzzyRelativePathHelper for directories ending in
.php
(https://github.com/phpstan/phpstan-src/commit/bff85e27cd486b7ea5c065575a71de66b83b1cf2), #8480
🤖
Function signature fixes - ImagickPixel::getColor() normalized param accepts int instead of bool (#2020), thanks @blankse!
- Declare more PDOStatement method types (#2096), thanks @staabm!
🔍
Internals - Fix non-working type assertions in
NodeScopeResolverTest
cases (#1992), thanks @herndlm! - Use ExpressionTypeHolders for conditional expression type (#1998), thanks @rajyan!
- Simplify array collections in
UnionTypeHelper
(#1988), thanks @herndlm! - Avoid specifying scalar types and delete string casts (#1999), thanks @rajyan!
- Add filename and line of the error of assertVariableCertainty (#2008), thanks @rajyan!
- README: how to composer install (#2025), thanks @janedbal!
- Group
$expressionTypes
and$nativeExpressionTypes
in Scope creation methods (#2022), thanks @herndlm! - Use ExpressionTypeHolder when comparing conditionals (#2048), thanks @rajyan!
- UnionType - carry information that it's normalized (https://github.com/phpstan/phpstan-src/commit/96e4443d94501012042cf6bd9f8d6b34af7fcfb6)
- VerbosityLevel offers
getLevelValue()
(https://github.com/phpstan/phpstan-src/commit/4f7e20b6ffae103ac3de52e5da1ef77dbc0ba485) - Get rid of
TypeTraverser
inArrayChunkFunctionReturnTypeExtension
(#2082), thanks @herndlm! - Get rid of
TypeTraverser
inArraySliceFunctionReturnTypeExtension
(#2085), thanks @herndlm! - Get rid of
TypeTraverser
inArrayReverseFunctionReturnTypeExtension
(#2084), thanks @herndlm! - Get rid of
TypeTraverser
inStrSplitFunctionReturnTypeExtension
(#2087), thanks @herndlm!
phpstan/phpstan-phpunit
v1.3.3
- 54a24bd - Add support for data provider attributes
- 7f7b59b - Update release-toot.yml
- 64f4c56 - Create release-toot.yml
v1.3.2
- cd9c693 - DataProviderDeclarationRule - report non-static dataProvider only with PHPUnit 10+
v1.3.1
phpstan/phpstan-symfony
v1.2.20
- d89a521 - Revert wrong typehint for getSession
-
fca0834 - Utilize
null
-default return to simplify extensions
v1.2.19
- dac2474 - Add generics for PasswordUpgraderInterface
- 72cf8cf - Update release-toot.yml
- 4a920ef - Create release-toot.yml
v1.2.18
-
3178f15 - Revert "Remove nullable type after calling
HeaderBag::has
"
v1.2.17
symfony/event-dispatcher
v5.4.17
Changelog (https://github.com/symfony/event-dispatcher/compare/v5.4.16...v5.4.17)
- bug #48615 Fix getting the name of closures on PHP 8.1.11+ (nicolas-grekas)
symfony/framework-bundle
v5.4.17
Changelog (https://github.com/symfony/framework-bundle/compare/v5.4.16...v5.4.17)
symfony/http-client
v5.4.17
Changelog (https://github.com/symfony/http-client/compare/v5.4.16...v5.4.17)
- bug #47836 TraceableHttpClient: increase decorator's priority (adpeyre)
symfony/mailer
v5.4.17
Changelog (https://github.com/symfony/mailer/compare/v5.4.16...v5.4.17)
- bug #48126 Include all transports' debug messages in RoundRobin transport exception (mixdf)
symfony/phpunit-bridge
v5.4.17
Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.4.16...v5.4.17)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.