This repository was archived by the owner on Apr 21, 2023. It is now read-only.
chore(deps): update phpstan packages - #324
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/phpstan-packages
branch
8 times, most recently
from
April 5, 2023 00:13
8ecfd96 to
9011ad0
Compare
renovate
Bot
force-pushed
the
renovate/phpstan-packages
branch
from
April 12, 2023 13:53
9011ad0 to
6069c6e
Compare
mateonunez
approved these changes
Apr 12, 2023
renovate
Bot
force-pushed
the
renovate/phpstan-packages
branch
2 times, most recently
from
April 16, 2023 07:21
f64a85a to
cab7cfc
Compare
renovate
Bot
force-pushed
the
renovate/phpstan-packages
branch
from
April 16, 2023 11:09
cab7cfc to
ef059fc
Compare
renovate
Bot
force-pushed
the
renovate/phpstan-packages
branch
3 times, most recently
from
April 18, 2023 08:23
a847cbc to
d0f2be5
Compare
renovate
Bot
force-pushed
the
renovate/phpstan-packages
branch
from
April 19, 2023 18:41
d0f2be5 to
6ab71b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.9.4->1.10.131.1.3->1.3.11Release Notes
phpstan/phpstan
v1.10.13Compare Source
mixedinput (#2338), #9178, thanks @zonuexe!v1.10.12Compare Source
Major new features 🚀
Bleeding edge 🔪
Imagickparameter types (#2334), thanks @zonuexe!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 🔧
filter_*array handling, supportFILTER_REQUIRE_ARRAY(#2318), thanks @herndlm!@propertytypes (#2327, #2328, #2329), #9062, thanks @jtojnar!filter_input()(#2010), #6261, thanks @herndlm!filter_inputwith invalid first args (#2333), thanks @herndlm!@propertyand@methodto override above the same class (phpstan/phpstan-src@3467a21)FilterVarArrayDynamicReturnTypeExtension(#2257), thanks @zonuexe!Bugfixes 🐛
TypeSpecifierContext::truthy()(#2230), #3013, #7686, thanks @VincentLanglet!treatPhpDocTypesAsCertain(#2250), #8937, thanks @VincentLanglet!Function signature fixes 🤖
Internals 🔍
cweagans/composer-patches(#2307), thanks @herndlm!assert*functions in TypeInferenceTestCase (#2326), thanks @staabm!v1.10.11Compare 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 🔧
template-type(callingType::getTemplateType()method) (phpstan/phpstan-src@b6d0c87), https://github.com/phpstan/phpstan/discussions/9053enum-stringempty-scalarnon-empty-scalarnon-empty-literal-stringpure-callableclosed-resourcenon-empty-mixedcallable-arrayBugfixes 🐛
StaticType::isSuperTypeOf()for subtypes ofObjectType(phpstan/phpstan-src@b439fed), #9142TypehintHelper::decideTypeFromReflection()should accept correct ancestor's ClassReflection, not just class name (phpstan/phpstan-src@297a9fe)Function signature fixes 🤖
IntlPartsIterator(#2324), thanks @zonuexe!v1.10.10Compare Source
Improvements 🔧
--xdebugwhen Xdebug is enabled (phpstan/phpstan-src@1d4ede1)Bugfixes 🐛
treatPhpDocTypesAsCertainfor variables (phpstan/phpstan-src@5b7a115), #9126treatPhpDocTypesAsCertainin more places (phpstan/phpstan-src@49d2aa6)Function signature fixes 🤖
Imagick::profileImage()type (#2312), thanks @zonuexe!v1.10.9Compare Source
Improvements 🔧
treatPhpDocTypesAsCertain(phpstan/phpstan-src@40400ae)treatPhpDocTypesAsCertain(phpstan/phpstan-src@72472dd)treatPhpDocTypesAsCertain(phpstan/phpstan-src@d892c34)Function signature fixes 🤖
pg_pconnectfunction signature (#2300), thanks @dravnic!NumberFormatter::parseCurrency(#2309), thanks @rovansteen!v1.10.8Compare Source
Improvements 🔧
.phpbaseline file in analysed paths and warn about possible PHPStan slowdown (phpstan/phpstan-src@d6d9ef7)Bugfixes 🐛
@varafterclass_exists()(#2292), #9055, thanks @staabm!Ds\Map::get()@throwsinference (#2297), #9066, thanks @simPod!sprintf/printf(#2301), #9072, #2342, thanks @kukulich!Internals 🔍
v1.10.7Compare Source
Improvements 🔧
from()andtryFrom()(phpstan/phpstan-src@edcaaba)Function signature fixes 🤖
XMLReader::XMLreturn type (phpstan/phpstan-src@195cb7b)Internals 🔍
v1.10.6Compare Source
Bleeding edge 🔪
PHPStan\Type\Typeinterface via@var(phpstan/phpstan-src@713b98f), https://github.com/nunomaduro/larastan/issues/1567#issuecomment-1460445389If 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 🔧
Bugfixes 🐛
array_combine()on PHP 8+ (#2276), #9011, thanks @staabm!v1.10.5Compare Source
Improvements 🔧
Bugfixes 🐛
v1.10.4Compare Source
Improvements 🔧
Bugfixes 🐛
array_column(#2244), #8917, thanks @VincentLanglet!filter_var()handling of a couple of simple scalars and null (#2262), thanks @herndlm!value-offor multiple enums (phpstan/phpstan-src@3adc91d), #8983->valueon unions of enums (phpstan/phpstan-src@05b85ba), #9000Function signature fixes 🤖
Ds\Sequence::copy()(#1954), thanks @MidnightDesign!password_hash()return type (#2260), #5978, thanks @VincentLanglet!v1.10.3Compare Source
Improvements 🔧
@not-deprecatedannotation (#2255), https://github.com/phpstan/phpstan/discussions/7422, thanks @stof!Bugfixes 🐛
array_chunk()(phpstan/phpstan-src@e4a6d20), #8956v1.10.2Compare Source
Improvements 🔧
Function signature fixes 🤖
objectreturned bydb2_*()functions are always instances ofstdClass(#2249), thanks @phansys!v1.10.1Compare Source
Bugfixes 🐛
treatPhpDocTypesAsCertain: false(#2248), #8932, thanks @VincentLanglet!in_arrayand enums (phpstan/phpstan-src@7d6f0f6)v1.10.0Compare Source
Read the article about this release: PHPStan 1.10 Comes With a Lie Detector
Major new features 🚀
elseifbranch and last match expression arm are not reported by default (#2105), #8042, #8485, #7721, #4242, #8240, thanks @staabm!reportAlwaysTrueInLastConditiontotrueto have them reported againelseifbranch and last match expression arm.instanceof *Typein favour of new methods onTypeinterface, (phpstan/phpstan-src@436e6d3), learn more: Why Is instanceof *Type Wrong and Getting Deprecated?phpstan-deprecation-rulesinstalledBleeding edge 🔪
@vartag type against native type (phpstan/phpstan-src@a69e3bc)reportWrongPhpDocTypeInVarTagtotrueto 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, #6260treatPhpDocTypesAsCertainin 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.18Compare Source
Improvements 🔧
Bugfixes 🐛
Internals 🔍
ConstantArrayType::hasOffsetValueType()(#2238), thanks @herndlm!v1.9.17Compare Source
Bugfixes 🐛
list{}parsing (https://github.com/phpstan/phpdoc-parser/pull/177), thanks @zonuexe!ThisType(phpstan/phpstan-src@d3e3292), #8857v1.9.16Compare Source
v1.9.15Compare Source
Improvements 🔧
ignoreErrorsentries 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 falsein traits (#2045), #3632, thanks @staabm!Function signature fixes 🤖
forward_static_call_arrayfor named arguments on PHP 8 (phpstan/phpstan-src@fb5c111), https://github.com/phpstan/phpstan/discussions/8761Internals 🔍
FilterFunctionReturnTypeHelper(#2190), thanks @herndlm!FilterFunctionReturnTypeHelper(#2198), thanks @herndlm!$otherTypesinFilterFunctionReturnTypeHelper(#2205), thanks @herndlm!v1.9.14Compare 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.13Compare Source
Bugfixes 🐛
#[AllowDynamicProperties]might still have dynamic properties (phpstan/phpstan-src@051b06e), #8727, #8474v1.9.12Compare Source
Improvements 🔧
pow()(#1904), #5614, thanks @staabm!nikic/php-parser(phpstan/phpstan-src@e2956f0)array_key_existstype-specifying extension (#1941), #2970, thanks @VincentLanglet!Internals 🔍
v1.9.11Compare Source
Bugfixes 🐛
@phpstan-prefixed tags (#2177), #8697, thanks @zonuexe!v1.9.10Compare Source
v1.9.9Compare Source
Improvements 🔧
Type::getEnumCases()to use instead ofinstanceof EnumCaseObjectType(phpstan/phpstan-src@a0242e0)Bugfixes 🐛
elseifcan be exhaustive and noelsebranch is needed (phpstan/phpstan-src@94e6e46), #7547__CLASS__,__NAMESPACE__in traits (#2043), #3019, thanks @staabm!class_implementsdynamic 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.8Compare Source
Improvements 🔧
Bugfixes 🐛
array_shiftet al. have side effects (phpstan/phpstan-src@6276ce1), #8084get_class()in traits always evaluate to true (#2044), #3633, thanks @staabm!v1.9.7Compare 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::pickTypesoverriden inBenevolentUnionTypefor a more benevolent behaviour (phpstan/phpstan-src@480626e)Bugfixes 🐛
Function signature fixes 🤖
min()andmax()do not returnfalseon PHP 8 (#2161), thanks @staabm!Internals 🔍
v1.9.6Compare Source
Improvements 🔧
Bugfixes 🐛
v1.9.5Compare Source
Improvements 🔧
MutatingScope::shouldInvalidateExpression()(#2139), thanks @staabm!ReturnStatementsNode::hasNativeReturnTypehint()(#2141), thanks @janedbal!lowercase-stringandnon-empty-lowercase-stringare 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!phpstan/phpstan-phpunit
v1.3.11Compare Source
v1.3.10Compare Source
$mockClassesv1.3.9Compare Source
v1.3.8Compare Source
v1.3.7Compare Source
v1.3.6Compare Source
v1.3.5Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.