chore(deps): update dependency phpstan/phpstan to ~1.10.0#87
Merged
Conversation
048746d to
4589200
Compare
tcarrio
approved these changes
Mar 11, 2023
tcarrio
pushed a commit
that referenced
this pull request
May 16, 2023
🤖 I have created a release *beep* *boop* --- ## [2.0.1](2.0.0...2.0.1) (2023-05-16) ### Miscellaneous Chores * **deps:** update dependency php to v8.2.3 ([#73](#73)) ([27d1bbc](27d1bbc)) * **deps:** update dependency phpstan/phpstan to ~1.10.0 ([#87](#87)) ([f59da40](f59da40)) * **deps:** update dependency vimeo/psalm to ~5.8.0 ([#72](#72)) ([800119f](800119f)) * remove deprecated --no-suggest composer flag ([#89](#89)) ([2adecfb](2adecfb)) * update psr/log ([#74](#74)) ([f8a67c7](f8a67c7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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 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.9.0->~1.10.0Release Notes
phpstan/phpstan
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)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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.