-
-
Notifications
You must be signed in to change notification settings - Fork 3
deps(deps): update phpstan packages #362
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: develop
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 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #362 +/- ##
==========================================
Coverage 54.46% 54.46%
Complexity 43 43
==========================================
Files 22 22
Lines 112 112
==========================================
Hits 61 61
Misses 51 51 ☔ View full report in Codecov by Sentry. |
b635250
to
0d356d5
Compare
Pull request was closed
0d356d5
to
f71a20c
Compare
Pull request was closed
f71a20c
to
193fe63
Compare
193fe63
to
6877aa9
Compare
6877aa9
to
baaa407
Compare
baaa407
to
a0dfe5a
Compare
a0dfe5a
to
205a077
Compare
205a077
to
fb7e125
Compare
fb7e125
to
e0674d3
Compare
b60a37d
to
77d614c
Compare
77d614c
to
2b3aaf2
Compare
506a3df
to
16e17db
Compare
13f0497
to
83751e8
Compare
83751e8
to
49a627d
Compare
3b92c12
to
908deb3
Compare
908deb3
to
ffe78bf
Compare
ffe78bf
to
09f437e
Compare
|
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
2.9.7
->2.11.2
1.4.1
->1.4.3
1.11.4
->1.12.31
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.2
Compare Source
What's Changed
New Contributors
Full Changelog: larastan/larastan@v3.4.1...v3.4.2
v2.11.1
Compare Source
Fixes
post
andquery
can returnarray
b94eb6d
(#2270) by @rikvdhFull Changelog: larastan/larastan@v2.11.0...v2.11.1
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 #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 #2099f476d8f
df27912
Internal
orchestra/testbench-core
instead oforchestra/testbench
by @crynobone in #2105New Contributors
Full Changelog: larastan/larastan@v2.9.10...v2.9.11
v2.9.10
: 2.9.10Compare Source
What's Changed
Added
CollectedBy
attributef43e0c4
Fixed
unique
collection method return typef97d92e
Enumerable: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 #1995ParametersAcceptorSelector::selectSingle
by @staabm in #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.31
Compare Source
Custom Composer source for cloning
phpstan/phpstan
. Learn more: https://github.com/phpstan/phpstan-phar-composer-sourceThis hotfix release fixes PHPStan version number in CLI output.
v1.12.30
Compare Source
v1.12.29
Compare Source
Fix PHPStan Pro flickering (phpstan/phpstan-src@
90b1048
), #13381v1.12.28
Compare Source
Improvements 🔧
7644bd0
)Bugfixes 🐛
@property
referencing other class and then back in recursive manner (phpstan/phpstan-src@33c2cb1
), #13057@var
PHPDoc type inheritance for class constants (#4008), #10911, thanks @VincentLanglet!getenv(null)
for PHP 8.0+ (#4007), #13065, thanks @VincentLanglet!43c44ee
)400ba6d
), #13218$
(#4006), #12095, thanks @VincentLanglet!0
in key type is not a list (#4018), #9487, thanks @VincentLanglet!Function signature fixes 🤖
bzdecompress()
(#4088), thanks @jlherren!mb_convert_encoding
return type (#4010), thanks @VincentLanglet!Internals 🔍
v1.12.27
Compare Source
Major new features 🚀
74b909a
)Improvements 🔧
bd6fc4e
)275d3b5
, phpstan/phpstan-src@572e0e8
)80b40f2
)Bugfixes 🐛
0536d11
), #11788408692e
), #12381, #73397e3639b
), #12465e5db864
)v1.12.26
Compare Source
Improvements 🔧
Bugfixes 🐛
is_subclass_of
andis_a
(#3788), #3979, #8464, thanks @VincentLanglet!numeric-string
toarray-key
(#3326), #4163, #4671, #8592, #11390, #12413, thanks @VincentLanglet!callable-string
must benon-empty-string
(#3983), #12979, thanks @aivchen!Function signature fixes 🤖
v1.12.25
Compare Source
Consider comparison as strict when type is the same (#3942), #12884, thanks @VincentLanglet!
v1.12.24
Compare Source
Bugfixes 🐛
8a6f7e9
), #12803DateTime::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, #10650791e708
), #126714111d0f
)v1.12.21
Compare Source
Bugfixes 🐛
5920c98
), #126910e10531
), #12691, #6828, #11942, #11861, #6828, #91678734057
), #12658, #8030Function 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 🐛
2f74584
)b57bcad
), #10240, #10488, #1207349c631a
), #10914, #9657eded2c3
), #12501Internals 🔍
ebcb5da
, phpstan/phpstan-src@10388a9
)v1.12.16
Compare Source
Bugfixes 🐛
8b27943
), #12379implode()
(#3772), #11854, thanks @staabm!d38ed50
), #12182hash()
return type (#3665), thanks @VincentLanglet!OpenSslEncryptParameterOutTypeExtension
(#3753), thanks @paulbalandan!24cdeac
), #12443new
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)621e168
)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!f61d324
), #12076static
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://redirect.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, #10314f158d5b
), #12015null
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!379b9a2
)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!5f0b1cc
), #11980void
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
](https://redirect.github.com/phpstan/phpstan-src/commit/381c1370e7ce3b1c2d8de6c5b30Configuration
📅 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.