-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update phpstan packages #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/phpstan-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
26eab3c to
83fd60f
Compare
83fd60f to
33d5731
Compare
33d5731 to
f5a8a2c
Compare
f5a8a2c to
2a9941c
Compare
2a9941c to
f81f6e0
Compare
f81f6e0 to
64067ab
Compare
4d9d827 to
cb2ed5c
Compare
0d42764 to
ca85500
Compare
ca85500 to
2a0d971
Compare
5ec4d79 to
9032b77
Compare
9032b77 to
982a9df
Compare
982a9df to
36fd68e
Compare
36fd68e to
54f1881
Compare
54f1881 to
331fc21
Compare
87d18d1 to
600825e
Compare
7d45b06 to
ffe52c6
Compare
ffe52c6 to
6dec3bf
Compare
6dec3bf to
cfc8484
Compare
cfc8484 to
60bab46
Compare
60bab46 to
9c24dc4
Compare
7dd19ee to
5802404
Compare
5802404 to
314a378
Compare
314a378 to
44d847e
Compare
44d847e to
3d18243
Compare
43cb8b0 to
6432d76
Compare
6432d76 to
b71d70a
Compare
8d9badd to
1f2a3cd
Compare
1f2a3cd to
80961f4
Compare
b83cddc to
9a178f1
Compare
9a178f1 to
bfdebda
Compare
bfdebda to
60e3d6a
Compare
60e3d6a to
7ebe052
Compare
7ebe052 to
4b2baeb
Compare
4b2baeb to
63c416c
Compare
63c416c to
1848759
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.59->1.12.281.3.16->1.4.2Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.12.28Compare Source
Improvements 🔧
Bugfixes 🐛
@propertyreferencing other class and then back in recursive manner (phpstan/phpstan-src@33c2cb1), #13057@varPHPDoc type inheritance for class constants (#4008), #10911, thanks @VincentLanglet!getenv(null)for PHP 8.0+ (#4007), #13065, thanks @VincentLanglet!$(#4006), #12095, thanks @VincentLanglet!0in key type is not a list (#4018), #9487, thanks @VincentLanglet!Function signature fixes 🤖
bzdecompress()(#4088), thanks @jlherren!mb_convert_encodingreturn type (#4010), thanks @VincentLanglet!Internals 🔍
v1.12.27Compare Source
Major new features 🚀
Improvements 🔧
Bugfixes 🐛
v1.12.26Compare Source
Improvements 🔧
Bugfixes 🐛
is_subclass_ofandis_a(#3788), #3979, #8464, thanks @VincentLanglet!numeric-stringtoarray-key(#3326), #4163, #4671, #8592, #11390, #12413, thanks @VincentLanglet!callable-stringmust benon-empty-string(#3983), #12979, thanks @aivchen!Function signature fixes 🤖
v1.12.25Compare Source
Consider comparison as strict when type is the same (#3942), #12884, thanks @VincentLanglet!
v1.12.24Compare Source
Bugfixes 🐛
DateTime::format('u')return type (#3919), thanks @mvorisek!Function signature fixes 🤖
v1.12.23Compare Source
Fix condition of fall-through case not used for exhaustive checks (#3900), #11064, #3488, #8719, #12722, thanks @rvanvelzen!
v1.12.22Compare Source
Improvements 🔧
implode()return type (#3774), thanks @staabm!Bugfixes 🐛
[]on array with constant-integer offset will add one to the offset (phpstan/phpstan-src@fe595cb), #9328, #9850, #10650v1.12.21Compare Source
Bugfixes 🐛
Function signature fixes 🤖
MongoCollection::findOne()return type (#3854), thanks @aivchen!v1.12.20Compare Source
Bugfixes 🐛
@varPHPDoc type fromType::toPhpDocNode()before reporting it as wrong (#3797), #12458, #11015, #10861, #11535, thanks @VincentLanglet!Internals 🔍
FileTypeMapper::getNameScope()(phpstan/phpstan-src@bca8902)v1.12.19Compare Source
Improvements 🔧
ClassReflection::hasMethod()method (#3825), thanks @canvural!Function signature fixes 🤖
MongoLog::setCallback()return type (#3829), thanks @aivchen!MongoCollection::save()return type (#3829), thanks @aivchen!v1.12.18Compare Source
Bugfixes 🐛
Function signature fixes 🤖
setproctitlefunction from the functionMap (phpstan/phpstan-src@f5627dc), #12573v1.12.17Compare Source
If you're using
larastan/larastanPHPStan extension, please update to version 2.9.14 alongside PHPStan 1.12.17 for improved compatibility with the new genericstatic<...>type. Thank you.Improvements 🔧
static<...>(#1289), #12485, #11398, #10417, #9807, #9449, #8623, #5512, thanks @canvural!Bugfixes 🐛
Internals 🔍
v1.12.16Compare Source
Bugfixes 🐛
implode()(#3772), #11854, thanks @staabm!hash()return type (#3665), thanks @VincentLanglet!OpenSslEncryptParameterOutTypeExtension(#3753), thanks @paulbalandan!newfrom parent constructor - reject types that would fail bound check of the child class (phpstan/phpstan-src@d06f792), #12386Function signature fixes 🤖
stream_context_get_params(phpstan/phpstan-src@ff1feee), #11796Internals 🔍
instanceof ConstantScalarType(#3773), thanks @staabm!v1.12.15Compare Source
Bugfixes 🐛
newwith generic type with constructor in parent class (phpstan/phpstan-src@a063119), #8219, #2735array_merge(#3770), #7857, #8632, #9559, thanks @herndlm!Internals 🔍
instanceof ConstantBooleanTypechecks (#3771), thanks @staabm!v1.12.14Compare Source
Fix
preg_match()group containing start/end meta characters (#3740), #12297, thanks @staabm!v1.12.13Compare Source
Improvements 🔧
get_defined_vars()return type contains known variables (#3624), #11948, #11740, thanks @MartinMystikJonas!UnionType->isSuperTypeOfWithReason()(#3692, #3713), thanks @staabm!IntersectionType->getEnumCases()(#3695), thanks @staabm!MixedType::toArrayKey()returnsBenevolentUnionType(#3696)ClassAsClassConstantRule(#3697), #10859, thanks @paulbalandan!FunctionCallParametersCheck(#3734), thanks @staabm!MutatingScope::getNodeKey()(#3736), thanks @staabm!Bugfixes 🐛
iterator_to_arrayreturn type with generators (#3652), thanks @paulbalandan!#comments in regex withxmodifier (#3735, #3739), #12242, thanks @staabm!Function signature fixes 🤖
DOMDocument::create*()return types (#3737), #12278, thanks @staabm!Internals 🔍
RuleandRuleTestCase(#3698), thanks @paulbalandan!v1.12.12Compare Source
Improvements 🔧
uppercase-stringPHPDoc type (#3613), thanks @pmjones!Bugfixes 🐛
sprintfdynamic return type (#3640), #12065, thanks @VincentLanglet!staticreturn type in php-8-stubs (phpstan/phpstan-src@162f774), #12077non-empty-list(#3682), #12131, thanks @herndlm!Function signature fixes 🤖
Closure::bindandbindToreturn benevolent union with null (phpstan/phpstan-src@b049d8d)sha256function definition (#3664), thanks @VincentLanglet!v1.12.11Compare Source
Improvements 🔧
fidry/cpu-core-counter(#3632), https://github.com/phpstan/phpstan/discussions/12026TypeCombinator::removeTruthy()method (#3633), thanks @canvural!$a != ''(#3304), thanks @thg2k!Bugfixes 🐛
self::in a class attribute argument (phpstan/phpstan-src@3447391), #12011, #10314nulltoarray_map(null, $a, $b)(#3562), thanks @schlndh!ArrayType<mixed, X>withcheckImplicitMixed(level 10 in 2.0) (#3636), #12051, thanks @VincentLanglet!Function signature fixes 🤖
extract()signature (#3512), thanks @VincentLanglet!get_defined_constants()(#3635), thanks @thg2k!fgetcsvacceptsnullfor$length(#3077), thanks @staabm!v1.12.10Compare Source
Bugfixes 🐛
forendless loop detection (#3622), #11992, thanks @herndlm!v1.12.9Compare Source
Improvements 🔧
@readonlyPHPDoc on the class as alternative to@immutable(#3523), #11775, thanks @herndlm!Bugfixes 🐛
forendless loops (#3573), #6807, #8463, #9374, thanks @herndlm!preg_matchgreater than0(#3612), #11293, thanks @staabm!voidreturn type in a union when the returned expr is originallyvoid(phpstan/phpstan-src@80c1df2), #11980@phpstan-ignorewith trait in the same file (phpstan/phpstan-src@381c137), #11981Internals 🔍
v1.12.8Compare Source
Improvements 🔧
Bugfixes 🐛
$thisin return type even in final classes (#3599), #11857, thanks @calebdw!E_DEPRECATEDfrom error_reporting (phpstan/phpstan-src@277e34b), #11937filterTypes()(#3535), #11663, thanks @VincentLanglet!Function signature fixes 🤖
Imagick::writeImage(s)Filesupportingformatparameter (#3588), thanks @kingjia90!Internals 🔍
instanceof ConstantBooleanTypein loop analysis (#3577), #11913, thanks @herndlm!@apito TypeExpr (#3601), thanks @ruudk!UnionType::filterTypes(#3607), thanks @VincentLanglet!v1.12.7Compare Source
Major new features 🚀
Improvements 🔧
-vvv) to very verbose (-vv) mode (#3345), thanks @janedbal!non-empty-arrayandnon-empty-listarray shape kind (phpstan/phpstan-src@107a7e3)Bugfixes 🐛
array_reverse()with optional keys (#3406), #11549, thanks @herndlm!Function signature fixes 🤖
get_defined_vars()(#3546), thanks @janedbal!getAttributesreturnslist(#3548), thanks @ManuelHu!Internals 🔍
PHPStan\dumpPhpDocType()(#3559), #11561, thanks @zonuexe!v1.12.6Compare Source
Bleeding edge 🔪
@phpstan-assertPHPDoc tags (phpstan/phpstan-src@ca0a7e9), #11780If 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 🔧
ClassConstFetch::$classwhen it's a Name node (phpstan/phpstan-src@712c33e)ClassConstFetch::$name(phpstan/phpstan-src@b38c852)Bugfixes 🐛
lowercase-stringIntegerRangeType::toString()(#3475), thanks @staabm!Function signature fixes 🤖
spl_autoload_functionson PHP8.0+ (#2810), thanks @ManuelHu!Internals 🔍
Scope::getMaybeDefinedVariables()(#3521), #11772, thanks @ruudk!Type::sliceArray()(#3514) (#3514), thanks @herndlm!v1.12.5Compare Source
Improvements 🔧
ParametersAcceptorSelector::selectSingle()(phpstan/phpstan-src@23c53a2)lowercase-string(#3438), thanks @VincentLanglet!toInteger()(#3434), thanks @staabm!MixedType::toString()with subtracted type (#3420), thanks @staabm!MixedType::toBoolean()with subtracted type (#3471), thanks @staabm!isset($arr[$k])should narrow$k(#3453), #11716, #8559, thanks @staabm!isset()narrows string-key in int-keyed-array to numeric-string (#3472), thanks @staabm!Bugfixes 🐛
sprintf()inference for constant values with format-width in pattern (#3474), thanks @staabm!filter_var()(#2656), thanks @mvorisek!Function signature fixes 🤖
iptcparsereturn type (#3483), thanks @ManuelHu!Internals 🔍
selectSingle()when analysing function body in rules (phpstan/phpstan-src@41916ba)selectSingle()in MutatingScope (phpstan/phpstan-src@865c618)ParametersAcceptorSelector::selectFromArgs()instead ofselectSingle()wherever possible (phpstan/phpstan-src@e283d3a)selectSingle()in ParametersAcceptorSelector (phpstan/phpstan-src@1322aaf)@internalgetOnlyVariant()method on FunctionReflection/ExtendedMethodReflection to use instead ofselectSingle()(phpstan/phpstan-src@714877b)Type::chunkArray()(#3408), thanks @herndlm!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 was generated by Mend Renovate. View the repository job log.