-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update phpstan packages #203
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
base: master
Are you sure you want to change the base?
Conversation
7100793
to
b3fa415
Compare
b3fa415
to
58d87fe
Compare
8f6164b
to
bc44f9b
Compare
bc44f9b
to
b0c109b
Compare
f8ef4c8
to
adce20b
Compare
4b2b78e
to
478b26a
Compare
4d93391
to
7b1792a
Compare
806147d
to
ee693bf
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
Pull request was closed
ee693bf
to
e573d48
Compare
63fabf6
to
54b9ded
Compare
54b9ded
to
8eacacf
Compare
8eacacf
to
afa52f2
Compare
a3663eb
to
11b3e29
Compare
11b3e29
to
7468b8e
Compare
1246c3c
to
de63d92
Compare
2d2e684
to
f0e4637
Compare
f0e4637
to
d7e9fa2
Compare
58a33f5
to
42d75fc
Compare
42d75fc
to
43d29b6
Compare
43d29b6
to
9085cdd
Compare
761ced7
to
10cd7c1
Compare
b4cd1c9
to
ad04911
Compare
c655669
to
b30b110
Compare
b30b110
to
8b80ae3
Compare
|
This PR contains the following updates:
2.9.7
->2.11.0
1.4.1
->1.4.3
1.11.4
->1.12.25
1.2.0
->1.2.1
1.4.0
->1.4.2
1.6.0
->1.6.2
Release Notes
larastan/larastan (larastan/larastan)
v2.11.0
Compare Source
2.11.0
This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽
New Features 🚀
LangGetReturnTypeExtension
extensionApp
facadeenvironment
methodInteractsWithInput
stubFormRequestSafeDynamicMethodReturnTypeExtension
Cookie::get
methodgeneralizeEnvReturnType
config option and extensioncheckConfigTypes
config parameter andConfigFunctionDynamicFunctionReturnTypeExtension
andConfigGetDynamicMethodReturnTypeExtension
and ignore callable constant strings Read more about it here.Fixes 🐛
value
helper and check for callable instead of closureconfig
andenv
function default arg can beClosure
Full Changelog: larastan/larastan@v2.10.0...v2.11.0
v2.10.0
Compare Source
What's Changed
phpmyadmin/sql-parser
byiamcal/sql-parser
.Full Changelog: larastan/larastan@v2.9.14...v2.10.0
v2.9.14
Compare Source
Improvements
Latest PHPStan version compatibility
Full Changelog: larastan/larastan@v2.9.13...v2.9.14
v2.9.13
: 2.9.13Compare Source
What's Changed
Full Changelog: larastan/larastan@v2.9.12...v2.9.13
v2.9.12
Compare Source
What's Changed
Added
Collection::reject
by @spawnia in https://github.com/larastan/larastan/pull/2107Fixed
Full Changelog: larastan/larastan@v2.9.11...v2.9.12
v2.9.11
: 2.9.11Compare Source
What's Changed
Fixed
Builder<*>
by @calebdw in https://github.com/larastan/larastan/pull/2099f476d8f
df27912
Internal
orchestra/testbench-core
instead oforchestra/testbench
by @crynobone in https://github.com/larastan/larastan/pull/2105New Contributors
Full Changelog: larastan/larastan@v2.9.10...v2.9.11
v2.9.10
: 2.9.10Compare Source
What's Changed
Added
CollectedBy
attribute larastan/larastan@f43e0c4Fixed
unique
collection method return type larastan/larastan@f97d92eEnumerable:make
method return typeNew Contributors
Full Changelog: larastan/larastan@v2.9.9...v2.9.10
v2.9.9
Compare Source
What's Changed
env
when specifying default value by @bram-pkg in https://github.com/larastan/larastan/pull/1995ParametersAcceptorSelector::selectSingle
by @staabm in https://github.com/larastan/larastan/pull/2054New Contributors
Full Changelog: larastan/larastan@v2.9.8...v2.9.9
v2.9.8
Compare Source
What's Changed
Added
Fixed
New Contributors
Full Changelog: larastan/larastan@v2.9.7...v2.9.8
phpstan/extension-installer (phpstan/extension-installer)
v1.4.3
Compare Source
v1.4.2
Compare Source
phpstan/phpstan (phpstan/phpstan)
v1.12.25
Compare Source
v1.12.24
Compare Source
Bugfixes 🐛
DateTime::format('u')
return type (#3919), thanks @mvorisek!Function signature fixes 🤖
v1.12.23
Compare Source
Fix condition of fall-through case not used for exhaustive checks (#3900), #11064, #3488, #8719, #12722, thanks @rvanvelzen!
v1.12.22
Compare 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.21
Compare Source
Bugfixes 🐛
Function signature fixes 🤖
MongoCollection::findOne()
return type (#3854), thanks @aivchen!v1.12.20
Compare Source
Bugfixes 🐛
@var
PHPDoc type fromType::toPhpDocNode()
before reporting it as wrong (#3797), #12458, #11015, #10861, #11535, thanks @VincentLanglet!Internals 🔍
FileTypeMapper::getNameScope()
(phpstan/phpstan-src@bca8902)v1.12.19
Compare 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.18
Compare Source
Bugfixes 🐛
Function signature fixes 🤖
setproctitle
function from the functionMap (phpstan/phpstan-src@f5627dc), #12573v1.12.17
Compare Source
If you're using
larastan/larastan
PHPStan 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.16
Compare Source
Bugfixes 🐛
implode()
(#3772), #11854, thanks @staabm!hash()
return type (#3665), thanks @VincentLanglet!OpenSslEncryptParameterOutTypeExtension
(#3753), thanks @paulbalandan!new
from 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.15
Compare Source
Bugfixes 🐛
new
with generic type with constructor in parent class (phpstan/phpstan-src@a063119), #8219, #2735array_merge
(#3770), #7857, #8632, #9559, thanks @herndlm!Internals 🔍
instanceof ConstantBooleanType
checks (#3771), thanks @staabm!v1.12.14
Compare Source
Fix
preg_match()
group containing start/end meta characters (#3740), #12297, thanks @staabm!v1.12.13
Compare 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_array
return type with generators (#3652), thanks @paulbalandan!#
comments in regex withx
modifier (#3735, #3739), #12242, thanks @staabm!Function signature fixes 🤖
DOMDocument::create*()
return types (#3737), #12278, thanks @staabm!Internals 🔍
Rule
andRuleTestCase
(#3698), thanks @paulbalandan!v1.12.12
Compare Source
Improvements 🔧
uppercase-string
PHPDoc type (#3613), thanks @pmjones!Bugfixes 🐛
sprintf
dynamic return type (#3640), #12065, thanks @VincentLanglet!static
return type in php-8-stubs (phpstan/phpstan-src@162f774), #12077non-empty-list
(#3682), #12131, thanks @herndlm!Function signature fixes 🤖
Closure::bind
andbindTo
return benevolent union with null (phpstan/phpstan-src@b049d8d)sha256
function definition (#3664), thanks @VincentLanglet!v1.12.11
Compare 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, #10314null
toarray_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!fgetcsv
acceptsnull
for$length
(#3077), thanks @staabm!v1.12.10
Compare Source
Bugfixes 🐛
for
endless loop detection (#3622), #11992, thanks @herndlm!v1.12.9
Compare Source
Improvements 🔧
@readonly
PHPDoc on the class as alternative to@immutable
(#3523), #11775, thanks @herndlm!Bugfixes 🐛
for
endless loops (#3573), #6807, #8463, #9374, thanks @herndlm!preg_match
greater than0
(#3612), #11293, thanks @staabm!void
return type in a union when the returned expr is originallyvoid
(phpstan/phpstan-src@80c1df2), #11980@phpstan-ignore
with trait in the same file (phpstan/phpstan-src@381c137), #11981Internals 🔍
v1.12.8
Compare Source
Improvements 🔧
Bugfixes 🐛
$this
in return type even in final classes (#3599), #11857, thanks @calebdw!E_DEPRECATED
from error_reporting (phpstan/phpstan-src@277e34b), #11937filterTypes()
(#3535), #11663, thanks @VincentLanglet!Function signature fixes 🤖
Imagick::writeImage(s)File
supportingformat
parameter (#3588), thanks @kingjia90!Internals 🔍
instanceof ConstantBooleanType
in loop analysis (#3577), #11913, thanks @herndlm!@api
to TypeExpr (#3601), thanks @ruudk!UnionType::filterTypes
(#3607), thanks @VincentLanglet!v1.12.7
Compare Source
Major new features 🚀
Improvements 🔧
-vvv
) to very verbose (-vv
) mode (#3345), thanks @janedbal!non-empty-array
andnon-empty-list
array 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!getAttributes
returnslist
(#3548), thanks @ManuelHu!Internals 🔍
PHPStan\dumpPhpDocType()
(#3559), #11561, thanks @zonuexe!v1.12.6
Compare Source
Bleeding edge 🔪
@phpstan-assert
PHPDoc 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::$class
when it's a Name node (phpstan/phpstan-src@712c33e)ClassConstFetch::$name
(phpstan/phpstan-src@b38c852)Bugfixes 🐛
lowercase-string
IntegerRangeType::toString()
(#3475), thanks @staabm!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.