chore(deps): update all non-major dependencies #109
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.10.0
->1.10.1
3.7.1
->3.7.2
Release Notes
phpstan/phpstan
v1.10.1
Compare Source
Bugfixes 🐛
treatPhpDocTypesAsCertain: false
(#2248), #8932, thanks @VincentLanglet!in_array
and enums (phpstan/phpstan-src@7d6f0f6)v1.10.0
Compare Source
Read the article about this release: PHPStan 1.10 Comes With a Lie Detector
Major new features 🚀
elseif
branch and last match expression arm are not reported by default (#2105), #8042, #8485, #7721, #4242, #8240, thanks @staabm!reportAlwaysTrueInLastCondition
totrue
to have them reported againelseif
branch and last match expression arm.instanceof *Type
in favour of new methods onType
interface, (phpstan/phpstan-src@436e6d3), learn more: Why Is instanceof *Type Wrong and Getting Deprecated?phpstan-deprecation-rules
installedBleeding edge 🔪
@var
tag type against native type (phpstan/phpstan-src@a69e3bc)reportWrongPhpDocTypeInVarTag
totrue
to have all types validated, not just native onesRuleLevelHelper::accepts()
behaviour (phpstan/phpstan-src@941fc81)@param-out
(phpstan/phpstan-src@7ceb19d), https://github.com/phpstan/phpstan/issues/8880#issuecomment-1426971473If 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
: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 🔧
MutatingScope::getNativeType()
(#1943), #4689, #7578, #6260treatPhpDocTypesAsCertain
in NumberComparisonOperatorsConstantConditionRule (phpstan/phpstan-src@649eb70), #6776, #7075InClassMethodNode
- addgetClassReflection()
(phpstan/phpstan-src@c4ee0b8)Type::getTemplateType()
and deprecateGenericTypeVariableResolver
(phpstan/phpstan-src@b73a8aa, phpstan/phpstan-src@01b4d4e)Bugfixes 🐛
Function signature fixes 🤖
PDO::sqliteCreateFunction
(#2208), #8802, thanks @VincentLanglet!db2_autocommit()
(#2239), thanks @phansys!Internals 🔍
TypeUtils::getDirectClassNames()
andinstanceof TypeWithClassName
, useType::getObjectClassNames()
instead (#1924), thanks @herndlm!isSuperTypeOf()
instead ofaccepts()
in the right places (phpstan/phpstan-src@ddb9dc5)IncompatibleDefaultParameterTypeRule
(phpstan/phpstan-src@a79ad03)Type::acceptsWithReason()
(phpstan/phpstan-src@b763bd9), #3281testEditorUrlWithRelativePath()
test on PhpStorm console (#2229), thanks @staabm!Type::isEnum()
(phpstan/phpstan-src@93113cb)Type::getObjectClassReflections()
(phpstan/phpstan-src@4c7046e)v1.9.18
Compare Source
Improvements 🔧
Bugfixes 🐛
Internals 🔍
ConstantArrayType::hasOffsetValueType()
(#2238), thanks @herndlm!v1.9.17
Compare Source
Bugfixes 🐛
list{}
parsing (https://github.com/phpstan/phpdoc-parser/pull/177), thanks @zonuexe!ThisType
(phpstan/phpstan-src@d3e3292), #8857v1.9.16
Compare Source
v1.9.15
Compare Source
Improvements 🔧
ignoreErrors
entries for same message and path are summed together (phpstan/phpstan-src@fa70062)Bugfixes 🐛
filter_var()
with float input and FILTER_VALIDATE_INT (#2206), #8797, thanks @herndlm!method_exists()
onclass-string&literal-string
(#2193), #8752, thanks @staabm!filter_var()
range edge cases (#2207), #8776, thanks @herndlm!$this instanceof X will always be false
in traits (#2045), #3632, thanks @staabm!Function signature fixes 🤖
forward_static_call_array
for named arguments on PHP 8 (phpstan/phpstan-src@fb5c111), https://github.com/phpstan/phpstan/discussions/8761Internals 🔍
FilterFunctionReturnTypeHelper
(#2190), thanks @herndlm!FilterFunctionReturnTypeHelper
(#2198), thanks @herndlm!$otherTypes
inFilterFunctionReturnTypeHelper
(#2205), thanks @herndlm!v1.9.14
Compare Source
Bugfixes 🐛
filter_var()
narrowing with unknown options (#2146), #8516, thanks @herndlm!ctype_digit()
with cast parameter (#2189), #8736, thanks @staabm!Function signature fixes 🤖
Redis::connect()
signature to upstream changes (#2187, #2188), #8733, thanks @greg0ire!Internals 🔍
v1.9.13
Compare Source
Bugfixes 🐛
#[AllowDynamicProperties]
might still have dynamic properties (phpstan/phpstan-src@051b06e), #8727, #8474v1.9.12
Compare Source
Improvements 🔧
pow()
(#1904), #5614, thanks @staabm!nikic/php-parser
(phpstan/phpstan-src@e2956f0)array_key_exists
type-specifying extension (#1941), #2970, thanks @VincentLanglet!Internals 🔍
v1.9.11
Compare Source
Bugfixes 🐛
@phpstan-
prefixed tags (#2177), #8697, thanks @zonuexe!v1.9.10
Compare Source
v1.9.9
Compare Source
Improvements 🔧
Type::getEnumCases()
to use instead ofinstanceof EnumCaseObjectType
(phpstan/phpstan-src@a0242e0)Bugfixes 🐛
elseif
can be exhaustive and noelse
branch is needed (phpstan/phpstan-src@94e6e46), #7547__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 🔍
TrinaryLogic::lazyAnd()
andlazyOr()
if current instance allows it (#2173), thanks @herndlm!MissingTypehintCheck
(#2174), thanks @herndlm!v1.9.8
Compare Source
Improvements 🔧
Bugfixes 🐛
array_shift
et al. have side effects (phpstan/phpstan-src@6276ce1), #8084get_class()
in traits always evaluate to true (#2044), #3633, thanks @staabm!v1.9.7
Compare Source
Bleeding edge 🔪
skipCheckGenericClasses
(phpstan/phpstan-src@28c2c79)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
: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 (phpstan/phpstan-src@480626e)Bugfixes 🐛
Function signature fixes 🤖
min()
andmax()
do not returnfalse
on PHP 8 (#2161), thanks @staabm!Internals 🔍
v1.9.6
Compare Source
Improvements 🔧
Bugfixes 🐛
v1.9.5
Compare Source
Improvements 🔧
MutatingScope::shouldInvalidateExpression()
(#2139), thanks @staabm!ReturnStatementsNode::hasNativeReturnTypehint()
(#2141), thanks @janedbal!lowercase-string
andnon-empty-lowercase-string
are known (phpstan/phpstan-src@884ceb0)Bugfixes 🐛
pathinfo($s, PATHINFO_ALL)
return type (#2014), thanks @staabm!MixedType::hasOffsetValueType()
for subtracted types (#2135), #6705, thanks @herndlm!parent::__set_state()
method is only object (#2138), thanks @blankse!Internals 🔍
FilterVarDynamicReturnTypeExtension
(#2120), thanks @herndlm!Type::isScalar()
(#2149), thanks @herndlm!GenericsIntegrationTest
(#2147), thanks @herndlm!v1.9.4
Compare Source
Improvements 🔧
checkArgumentTypes=true
(#2106), thanks @staabm!TypeCombinator::intersect()
(#2112), thanks @staabm!InitializerExprTypeResolver
(#2114), thanks @staabm!TypeCombinator::removeFalsey()
(#2003), thanks @axlon!usePathConstantsAsConstantString
(#2050), thanks @MartinMystikJonas!Bugfixes 🐛
unset
(#2107), #7805, thanks @rajyan!array_search()
with constant array type haystack (#1806), #3789, thanks @takaram!parse_str()
might return nested arrays by-ref (#1994), #8356, thanks @staabm!for
loop (phpstan/phpstan-src@a8975b1), #8520Internals 🔍
getConstantStrings()
on Type (#1979), thanks @staabm!v1.9.3
Compare Source
Bleeding edge 🔪
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
: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 🔧
DateTimeZone::__construct
throw type extension (#2034)deprecationRulesInstalled
configuration (#2062), thanks @villfa!treatPhpDocTypesAsCertain
(#2065), thanks @VincentLanglet!Scope::getType()
. Cheap checks first. (#2071), thanks @staabm!Bugfixes 🐛
@param-out
on methods (#2028), #8421, thanks @staabm!mixed
on annotation assignment (#2017), thanks @herndlm!$nativeExpressionTypes
in MutatingScope (#2021), thanks @herndlm!.php
(phpstan/phpstan-src@bff85e2), #8480Function signature fixes 🤖
Internals 🔍
NodeScopeResolverTest
cases (#1992), thanks @herndlm!UnionTypeHelper
(#1988), thanks @herndlm!$expressionTypes
and$nativeExpressionTypes
in Scope creation methods (#2022), thanks @herndlm!getLevelValue()
(phpstan/phpstan-src@4f7e20b)TypeTraverser
inArrayChunkFunctionReturnTypeExtension
(#2082), thanks @herndlm!TypeTraverser
inArraySliceFunctionReturnTypeExtension
(#2085), thanks @herndlm!TypeTraverser
inArrayReverseFunctionReturnTypeExtension
(#2084), thanks @herndlm!TypeTraverser
inStrSplitFunctionReturnTypeExtension
(#2087), thanks @herndlm!v1.9.2
Compare Source
Bugfixes 🐛
NeverType
(#1968), #8277, thanks @herndlm!Function signature fixes 🤖
json_encode()
always produce anon-empty-string
, when successful (#1980), thanks @Slamdunk!sodium_crypto_generichash*
always produce anon-empty-string
(#1981), thanks @Slamdunk!sodium_crypto_sign*
always producenon-empty-string
(#1985), thanks @Slamdunk!Internals 🔍
Type::isVoid()
(#1982), thanks @herndlm!v1.9.1
Compare Source
Improvements 🔧
AccessoryArrayListType
is part of BC promise (#1967), thanks @enumag!object
tostring
result in an error (#1948), thanks @rvanvelzen!checkBenevolentUnionTypes
config (#1940), thanks @VincentLanglet!Bugfixes 🐛
mt_rand
return type (#1956), #8272, thanks @enumag!strtr
returnsnon-empty-string
(#1963), thanks @staabm!v1.9.0
Compare Source
Check out the article about this release!
Major new features 🚀
@phpstan-assert
,@phpstan-assert-if-true
,@phpstan-assert-if-false
(#1317), #7110, #8186, thanks @rvanvelzen!@phpstan-self-out
/@phpstan-this-out
support (#1799), thanks @rvanvelzen!@param-out
support (#1804), #7231, #6871, #6186, #4372, #5785, thanks @staabm!ClassReflection::getAllowedSubTypes()
(#1477), thanks @jiripudil!checkBenevolentUnionTypes
to strictly check BenevolentUnionType (#1930), #8223, thanks @VincentLanglet!Bleeding edge 🔪
list
type (#1751), #3311, #8185, #6243, thanks @rvanvelzen!*If you want to see the shape of things to come and adopt bleeding edge features ea
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.