-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore(deps): update phpstan packages #215
base: master
Are you sure you want to change the base?
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #215 +/- ##
=========================================
Coverage 98.43% 98.43%
Complexity 74 74
=========================================
Files 15 15
Lines 255 255
=========================================
Hits 251 251
Misses 4 4 ☔ View full report in Codecov by Sentry. |
Pull request was closed
66309d7
to
23f2bf6
Compare
23f2bf6
to
868e8f8
Compare
868e8f8
to
cbd1698
Compare
64a579c
to
fdaae55
Compare
60e9606
to
2defb91
Compare
4481913
to
b4e689c
Compare
21b025c
to
702d48d
Compare
702d48d
to
d7793f8
Compare
8af5a9b
to
e5a1549
Compare
e5a1549
to
fed2a48
Compare
fed2a48
to
676f409
Compare
|
This PR contains the following updates:
2.9.7
->2.9.12
1.4.1
->1.4.3
1.11.6
->1.12.12
1.2.0
->1.2.1
1.4.0
->1.4.1
1.6.0
->1.6.1
Release Notes
larastan/larastan (larastan/larastan)
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.12
Compare Source
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!Function signature fixes 🤖
spl_autoload_functions
on PHP8.0+ (#2810), thanks @ManuelHu!Internals 🔍
Scope::getMaybeDefinedVariables()
(#3521), #11772, thanks @ruudk!Type::sliceArray()
(#3514) (#3514), thanks @herndlm!v1.12.5
Compare 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 🤖
iptcparse
return 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)@internal
getOnlyVariant()
method on FunctionReflection/ExtendedMethodReflection to use instead ofselectSingle()
(phpstan/phpstan-src@714877b)Type::chunkArray()
(#3408), thanks @herndlm!v1.12.4
Compare Source
Improvements 🔧
argument.named
are ignorable now (phpstan/phpstan-src@193b4f5)composerAutoloaderProjectPaths
on Windows (#3451), thanks @staabm!treatPhpDocTypesAsCertain
tip (#3452), #11689, thanks @ruudk!Bugfixes 🐛
array_map()
return value (#3425), #10715, #11056, #10685, thanks @rvanvelzen!range()
on PHP 7.x (#3424), thanks @staabm!range()
with float step should return an array of floats (#3447), #11692, thanks @staabm!*strlen()
with positive-int (#3407), #11558, thanks @staabm!Function signature fixes 🤖
Internals 🔍
paratest
(#3440), thanks @schlndh!Output::isDecorated
andOutput::isVeryVerbose
(#3436), thanks @ruudk!v1.12.3
Compare Source
Improvements 🔧
Bugfixes 🐛
ArrayFilterFunctionReturnTypeReturnTypeExtension
and support first-class callable (#3329), #11337, thanks @takaram!list<T>
toarray{T}
(#3412), #11642, thanks @staabm!Function signature fixes 🤖
curl_init()
false returns (#3409), #11640, thanks @tscni!Internals 🔍
COMPOSER_ROOT_VERSION
hack should no longer be necessary (#3414)v1.12.2
Compare Source
Improvements 🔧
Bugfixes 🐛
@mixin
class reflection extensions after all other class reflection extensions (phpstan/phpstan-src@c889baa), #11624, #11342, #10159, https://github.com/larastan/larastan/issues/2032count()
withpositive-int
(#3389), thanks @staabm!Type::reverseArray()
(#3344), thanks @herndlm!Function signature fixes 🤖
version_compare()
operator arg can be null (#3399), #4457, thanks @staabm!Internals 🔍
v1.12.1
Compare Source
Bleeding edge 🔪
@method
@template
tags above traits (phpstan/phpstan-src@aadbf62)@mixin
PHPDoc tag above traits (phpstan/phpstan-src@0d0de94)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 🔧
(bool) $expr
like$expr != false
(#3380), #8881, #7685, #6006, #10528, thanks @staabm!(string) $expr
like$expr != false
(#3387), thanks @staabm!(int) $expr
like$expr != false
(#3384), thanks @staabm!(float) $expr
like$expr != false
([#3391](https://redirect.github.com/phpstan/phpstan-src/pull/33Configuration
📅 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.