This repository has been archived by the owner on May 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Update dependency phpstan/phpstan to v1.10.62 #798
Merged
Merged
Conversation
This file contains 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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #798 +/- ##
=======================================
Coverage 7.46% 7.46%
Complexity 59 59
=======================================
Files 19 19
Lines 241 241
=======================================
Hits 18 18
Misses 223 223
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.46
Update dependency phpstan/phpstan to v1.10.47
Dec 1, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
December 1, 2023 15:41
c173e36
to
58430c2
Compare
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
December 8, 2023 17:17
58430c2
to
6f37887
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.47
Update dependency phpstan/phpstan to v1.10.48
Dec 8, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
December 12, 2023 11:04
6f37887
to
bcf0c9c
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.48
Update dependency phpstan/phpstan to v1.10.49
Dec 12, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
December 13, 2023 12:11
bcf0c9c
to
e7e8d8f
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.49
Update dependency phpstan/phpstan to v1.10.50
Dec 13, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 4, 2024 22:12
e7e8d8f
to
a4e31b0
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.50
Update dependency phpstan/phpstan to v1.10.51
Jan 4, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 5, 2024 10:07
a4e31b0
to
0990c2e
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.51
Update dependency phpstan/phpstan to v1.10.52
Jan 5, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 5, 2024 14:35
0990c2e
to
e1059e3
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.52
Update dependency phpstan/phpstan to v1.10.53
Jan 5, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 5, 2024 20:13
e1059e3
to
eb50b64
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.53
Update dependency phpstan/phpstan to v1.10.54
Jan 5, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 8, 2024 13:26
eb50b64
to
e57d8f1
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.54
Update dependency phpstan/phpstan to v1.10.55
Jan 8, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 15, 2024 11:14
e57d8f1
to
983632f
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.55
Update dependency phpstan/phpstan to v1.10.56
Jan 15, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
January 24, 2024 14:05
983632f
to
5a37849
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.56
Update dependency phpstan/phpstan to v1.10.57
Jan 24, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
February 12, 2024 22:54
5a37849
to
422c7dd
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.57
Update dependency phpstan/phpstan to v1.10.58
Feb 12, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
February 20, 2024 18:07
422c7dd
to
55d6f36
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.58
Update dependency phpstan/phpstan to v1.10.59
Feb 20, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 7, 2024 14:53
55d6f36
to
15b9751
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.59
Update dependency phpstan/phpstan to v1.10.60
Mar 7, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 10, 2024 01:36
15b9751
to
f12f7ba
Compare
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
9 times, most recently
from
March 13, 2024 11:17
647555b
to
3f38d2f
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.60
Update dependency phpstan/phpstan to v1.10.61
Mar 13, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 13, 2024 16:01
3f38d2f
to
4ca99b6
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.61
Update dependency phpstan/phpstan to v1.10.62
Mar 13, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 14, 2024 13:12
4ca99b6
to
69a8b44
Compare
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 14, 2024 13:13
69a8b44
to
ebe7f55
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #798 +/- ##
=======================================
Coverage 7.26% 7.26%
Complexity 59 59
=======================================
Files 19 19
Lines 234 234
=======================================
Hits 17 17
Misses 217 217
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.35
->1.10.62
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.62
Compare Source
v1.10.61
Compare Source
v1.10.60
Compare Source
Learn more about this release in an article on phpstan.org!
Major new features 🚀
@method
tags:@method T doFoo<T>(T $p)
, #6371callable<T>(T): T
, #8964Bleeding edge 🔪
reportAnyTypeWideningInVarTag
(#2840), thanks @janedbal!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 🔧
Bugfixes 🐛
$a?->b::c()
and$a?->b::$c
(#2933), thanks @schlndh!fn() => __FUNCTION__
and__METHOD__
(#2934), thanks @schlndh!T of mixed&Foo
andT of mixed|Foo
(#2940), thanks @schlndh!isSuperTypeOf
of callable/Closure when parameter count differ (#2949), #10594, thanks @takaram!Function signature fixes 🤖
ReflectionFunctionAbstract::getExtension
return type (phpstan/phpstan-src@2ece1f8)date_sun_info()
function (#2947), thanks @zonuexe!mysqli get_warnings
(#2929), thanks @janedbal!Internals 🔍
Type::isNull()
inNullsafe(MethodCall|PropertyFetch)Rule
(#2942), thanks @takaram!v1.10.59
Compare Source
Bleeding edge 🔪
array_values
rule (report when alist
type is always passed in) (#2917), thanks @kamil-zacek!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 🔧
treatPhpDocTypesAsCertain
(phpstan/phpstan-src@f5b198c)settype()
(#2920), thanks @ChrisBrenton!Bugfixes 🐛
Internals 🔍
FunctionReflection::isPure()
andExtendedMethodReflection::isPure()
(phpstan/phpstan-src@03d01ea)v1.10.58
Compare Source
Improvements 🔧
unset
(phpstan/phpstan-src@aeadbe2), #10506, #6773Bugfixes 🐛
@phpstan-require-extends
(#2890), #10475, thanks @RobertMe!sort()
,rsort()
andusort()
convert an array to list (#2891), #6467, #10423, #3312, thanks @takaram!T<X>
whereT
bound consist of intersection type (phpstan/phpstan-src@778b569), #10509[1 => 'method', 0 => $obj]
as callable (#2896), #10502, thanks @staabm!@phpstan-assert
PHPDoc inheritance with generics (#2909), #10037, #9123, thanks @RobertMe!Internals 🔍
isSuperTypeOf()
calls (#2895), thanks @staabm!ClassPropertiesNode->getUninitializedProperties()
(#2899), thanks @staabm!v1.10.57
Compare Source
Bleeding edge 🔪
mixed
type based on config (#2885), thanks @schlndh!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 🔧
ClassReflection::getConstant()
return type (phpstan/phpstan-src@8d4ea60)ClassConstantReflection
with BC promise (phpstan/phpstan-src@8f82b79)Bugfixes 🐛
array_filter
callback return type (phpstan/phpstan-src@59ae706)@template
type in method call (phpstan/phpstan-src@11268e5), #10473Function signature fixes 🤖
curl_multi_init()
cannot return false (#2882), thanks @staabm!error_log()
is impure (#2884), thanks @staabm!v1.10.56
Compare Source
Major new feature 🚀
@phpstan-require-extends
,@phpstan-require-implements
, #10302, #9899, #8550, thanks @staabm!@property
PHPDoc above interfaces work on PHP 8.2+Improvements 🔧
Bugfixes 🐛
match
arm condition before analysing the body (phpstan/phpstan-src@2b74aa8), #10418Function signature fixes 🤖
Yaf_Response_Http::__clone
(#2863), thanks @PrinsFrank!transliterator::listIDs
return type (#2865), thanks @PrinsFrank!strtok()
always returns anon-empty-string
when it does not return false (#2869), thanks @staabm!Internals 🔍
Type::getConstantArrays()
(#2864), thanks @staabm!Scope::getFunctionType()
(#2872), thanks @staabm!v1.10.55
Compare Source
Improvements 🔧
@phpstan-ignore-next-line
works for first line below the PHPDoc even in bleeding edge (phpstan/phpstan-src@8b6260c), #10383, https://github.com/phpstan/phpstan/discussions/10374open-resource
type (phpstan/phpstan-src@bbd9a68), #10399Bugfixes 🐛
Internals 🔍
@phpstan-require-extends
and@phpstan-require-implements
(#2856), thanks @staabm!Scope::getFunctionCallStack()
(phpstan/phpstan-src@9be1376), https://github.com/phpstan/phpstan-deprecation-rules/issues/106v1.10.54
Compare Source
Bleeding edge 🔪
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 🔧
Bugfixes 🐛
v1.10.53
Compare Source
Improvements 🔧
str_increment
/str_decrement
return type extension (#2776), thanks @zonuexe!Bugfixes 🐛
array_udiff()
comparator return type is too strict (#2822), #9697, thanks @staabm!Internals 🔍
v1.10.52
Compare Source
Improvements 🔧
Bugfixes 🐛
v1.10.51
Compare Source
Bleeding edge 🔪
RecursiveIteratorIterator::__construct()
parameter types (#2835), thanks @staabm!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 🔧
Bugfixes 🐛
ReflectionEnum::getBackingType()
afterReflectionEnum::isBacked()
(#2830), #10167, thanks @staabm!??
type inference (phpstan/phpstan-src@d801919), #10327Internals 🔍
ondrejmirtes/simple-downgrader
str_starts_with()
andstr_contains()
instead ofstrpos()
(#2841), thanks @zonuexe!ParametersAcceptorSelector::combine()
(#2851), thanks @staabm!v1.10.50
Compare Source
Improvements 🔧
nikic/php-parser
to 4.18.0 (phpstan/phpstan-src@24f92cc)Bugfixes 🐛
VoidType
- acceptnull
(phpstan/phpstan-src@40c8fb2), #10291Internals 🔍
InvalidPromotedPropertiesRule
- useFunctionLike
as node type (#2823), thanks @paulbalandan!v1.10.49
Compare Source
Bleeding edge 🔪
GenericObjectType
(#2818, #2821)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 🔧
void
return tonull
after call (#2778), #6720, thanks @herndlm!Bugfixes 🐛
count(list)
regression (#2813), thanks @staabm!Function signature fixes 🤖
SimpleXMLElement
method return types benevolent (when they returnstatic|null
) (phpstan/phpstan-src@fb76c9f)v1.10.48
Compare Source
Bleeding edge 🔪
xor
because that's probably not what the user intended to do (phpstan/phpstan-src@a1fffb3), #10267and
andor
(phpstan/phpstan-src@1d8fff6)&&
and||
(phpstan/phpstan-src@cf2c8bb)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 🔧
ReflectionEnum::getName()
afterReflectionEnum::isBacked()
(#2806), #10192, thanks @franmomu!Bugfixes 🐛
count()
results in type loss (#2811), #10264, thanks @staabm!Function signature fixes 🤖
SimpleXMLElement::addChild
(#2808), #10269, thanks @DaveLiddament!v1.10.47
Compare Source
Improvements 🔧
ExpressionTypeResolverExtension
(#2789), thanks @janedbal!ExpressionTypeResolverExtension
in API ReferenceBugfixes 🐛
array_filter
- handle error types (#2794), #10189, thanks @mglaman!if ($var ?? null)
(phpstan/phpstan-src@c2ba341), #10224Function signature fixes 🤖
Redis::hMset
(#2793), thanks @Vaalyn!v1.10.46
Compare Source
Improvements 🔧
isset()
and ternary operator handling (#2710), #3632, #8190, #8366, #8659, #9580, #10064, #10088, thanks @staabm!Bugfixes 🐛
Internals 🔍
isSuperTypeOf()
(#2788), thanks @staabm!v1.10.45
Compare Source
Improvements 🔧
enum_exists()
arg to UnitEnum (#2764), #10169, thanks @staabm!Bugfixes 🐛
isSuperTypeOf()
(#2772, #2787), #9778, #9723, #6407, thanks @staabm!in_array
- simulate Identical/Equal handling from TypeSpecifier for literal arrays (phpstan/phpstan-src@0177e33), #10201Function signature fixes 🤖
Redis::restore
(#2765), thanks @Vaalyn!str_increment
andstr_decrement
into functionMap (#2777), thanks @zonuexe!ext-mongodb
1.17 (#2768), thanks @alcaeus!Internals 🔍
in_array()
instead of redundant property (#2770), thanks @zonuexe!MethodVisibitiliyInInterfaceRule
(#2781), thanks @staabm!return null
(#2782), thanks @zonuexe!v1.10.44
Compare Source
Improvements 🔧
list<array{id: int}>
tomixed[]
(#2760), thanks @janedbal!Bugfixes 🐛
Carbon
PHPStan extension (#2762), thanks @CalebDW!SoapClient
old-style constructor (phpstan/phpstan-src@7765768), #10165Function signature fixes 🤖
setcookie
/setrawcookie
(#2752), #10171, thanks @schlndh!v1.10.43
Compare Source
Improvements 🔧
phpstan/phpdoc-parser
ReflectionEnum
generic (phpstan/phpstan-src@9ce8faf)Bugfixes 🐛
??=
with scope before the expression (phpstan/phpstan-src@846f44e), #10151, #10131stdClass
does not have__get
method (phpstan/phpstan-src@baf359e), #10149universalObjectCratesClasses
allow dynamic properties (phpstan/phpstan-src@2ec416e)Internals 🔍
v1.10.42
Compare Source
This release closes 25 issues! 🎉
Major new features 🚀
#[\Override]
attribute (phpstan/phpstan-src@e9a5639) (RFC)checkMissingOverrideMethodAttribute
(https://phpstan.org/config-reference#checkmissingoverridemethodattribute) (phpstan/phpstan-src@ac4d3de)Bleeding edge 🔪
@final
method in OverridingMethodRule, #9135If 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 🔧
dynamicConstantNames
(phpstan/phpstan-src@cb9571b)--debug
(phpstan/phpstan-src@c534f8c)Bugfixes 🐛
non-empty-string
instr_shuffle()
(#2717), thanks @staabm!ReturnTypeWillChange
or not (phpstan/phpstan-src@eb0c7a1), #9615Function signature fixes 🤖
mailparse_msg_get_part()
(#2722), thanks @jlherren!iptcparse
return type (#2727), thanks @ManuelHu!Internals 🔍
#[\Override]
attribute in error messages (#10136), thanks @TimWolla!v1.10.41
Compare Source
Bugfixes 🐛
===
andmatch
condition (phpstan/phpstan-src@01deed6), #10084Function signature fixes 🤖
Internals 🔍
MutatingScope::debug()
- add info about conditional expressions (phpstan/phpstan-src@80782fb)v1.10.40
Compare Source
Improvements 🔧
self
because they're not usable (phpstan/phpstan-src@c6fad64), #10049Bugfixes 🐛
!==
with union of constants (#2700), #10002, thanks @schlndh!declare(ticks=...)
(phpstan/phpstan-src@eb39381), #10059Function signature fixes 🤖
\
from DateTimeZone in functionMap (#2693), thanks @simPod!Redis::pconnect
to have 7 parameters (#2695), thanks @Vaalyn!Internals 🔍
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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.