-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update dependency phpstan/phpstan to v1.11.3 #225
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/phpstan-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 1, 2023 20:42
5ee8b30
to
36123d9
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.7
Update dependency phpstan/phpstan to v1.10.15
Jun 1, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 5, 2023 11:57
36123d9
to
6768a99
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.15
Update dependency phpstan/phpstan to v1.10.16
Jun 5, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 7, 2023 19:53
6768a99
to
3133bee
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.16
Update dependency phpstan/phpstan to v1.10.17
Jun 7, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 7, 2023 22:11
3133bee
to
4d7b872
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.17
Update dependency phpstan/phpstan to v1.10.18
Jun 7, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 14, 2023 16:18
4d7b872
to
4b143f1
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.18
Update dependency phpstan/phpstan to v1.10.19
Jun 14, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 20, 2023 14:23
4b143f1
to
ed28ac3
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.19
Update dependency phpstan/phpstan to v1.10.20
Jun 20, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 21, 2023 22:04
ed28ac3
to
bd07324
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.20
Update dependency phpstan/phpstan to v1.10.21
Jun 21, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
June 30, 2023 21:06
bd07324
to
112612b
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.21
Update dependency phpstan/phpstan to v1.10.22
Jun 30, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
July 4, 2023 15:41
112612b
to
50b12a6
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.22
Update dependency phpstan/phpstan to v1.10.23
Jul 4, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
July 5, 2023 14:21
50b12a6
to
67f52b5
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.23
Update dependency phpstan/phpstan to v1.10.24
Jul 5, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
July 6, 2023 16:56
67f52b5
to
5b961e2
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.24
Update dependency phpstan/phpstan to v1.10.25
Jul 6, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
July 19, 2023 15:40
5b961e2
to
9374423
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.25
Update dependency phpstan/phpstan to v1.10.26
Jul 19, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
August 5, 2023 12:02
9374423
to
81a4b84
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.26
Update dependency phpstan/phpstan to v1.10.27
Aug 5, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
August 8, 2023 13:56
81a4b84
to
93b26ec
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.27
Update dependency phpstan/phpstan to v1.10.28
Aug 8, 2023
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
August 14, 2023 14:19
93b26ec
to
a318ca1
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.28
Update dependency phpstan/phpstan to v1.10.29
Aug 14, 2023
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 13:42
a33e397
to
5089b3b
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 23:02
5089b3b
to
37f5802
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 16:17
37f5802
to
5c3d2be
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:56
5c3d2be
to
c4ccbb8
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 13, 2024 13:50
c4ccbb8
to
20d8683
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.60
Update dependency phpstan/phpstan to v1.10.62
Mar 13, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 18, 2024 20:37
20d8683
to
5abddae
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.62
Update dependency phpstan/phpstan to v1.10.63
Mar 18, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 21, 2024 13:17
5abddae
to
4481181
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.63
Update dependency phpstan/phpstan to v1.10.64
Mar 21, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 23, 2024 10:42
4481181
to
9a36ec8
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.64
Update dependency phpstan/phpstan to v1.10.65
Mar 23, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
March 28, 2024 16:55
9a36ec8
to
1341b9f
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.65
Update dependency phpstan/phpstan to v1.10.66
Mar 28, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
April 16, 2024 10:53
1341b9f
to
9c5a628
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.66
Update dependency phpstan/phpstan to v1.10.67
Apr 16, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
May 13, 2024 06:33
9c5a628
to
b8618a7
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.10.67
Update dependency phpstan/phpstan to v1.11.0
May 13, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
May 15, 2024 11:57
b8618a7
to
d0da9de
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.11.0
Update dependency phpstan/phpstan to v1.11.1
May 15, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
May 24, 2024 14:42
d0da9de
to
aa900d6
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.11.1
Update dependency phpstan/phpstan to v1.11.2
May 24, 2024
renovate
bot
force-pushed
the
renovate/phpstan-packages
branch
from
May 31, 2024 15:13
aa900d6
to
2102f60
Compare
renovate
bot
changed the title
Update dependency phpstan/phpstan to v1.11.2
Update dependency phpstan/phpstan to v1.11.3
May 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.4.3
->1.11.3
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.11.3
Compare Source
Improvements 🔧
*ParameterClosureTypeExtension
(#3089), thanks @canvural!get_debug_type
function (#2910), #10558, #10585, thanks @patrickkusebauch!explode
return type precision (#3096), thanks @staabm!Bugfixes 🐛
array_map
argument take into account unpack (#2901), #10527, thanks @ryium!parse_url
(#2918), #4754, thanks @ChrisBrenton!$http_response_header
is alist<string>
(#2959), thanks @Seldaek!str_repeat()
(#2914), #10572, thanks @staabm!in_array
is not strict (#2539), #9662, #10228, thanks @staabm!substr()
type narrowing for possibly single char result (#3081), #11035, #9804, thanks @staabm!$this
cannot be reassigned when passed by reference (#3097), #10477, thanks @takaram!constant('')
(#3013), #10867, thanks @staabm!Function signature fixes 🤖
SplFileObject::fgets()
(#3103), thanks @DanielSiepmann!Locale
signatures (#2880), #7855, #8149, thanks @devnix!fread()
length parameter type and return type (#3105), thanks @thg2k!non-falsy-string
(#3108), thanks @schlndh!Internals 🔍
TemplateTagValueNode::$name
cannot be empty string (phpstan/phpdoc-parser@fcaefac), thanks @staabm!v1.11.2
Compare Source
Improvements 🔧
@phpstan-ignore
identifiers parser (#3079, #3090, #3091), thanks @janedbal!@phpstan-ignore identifier (comment), identifier2 (comment2)
$passedToType
frominFunctionCallsStack
(phpstan/phpstan-src@ca41b7d, phpstan/phpstan-src@da4fd7a), #5508, #10254, #10732Function signature fixes 🤖
Internals 🔍
nette/di
(phpstan/phpstan-src@2ab647e)array_filter
callbacks (phpstan/phpstan-src@754b7b8)@api
annotation toAcceptsResult::__construct
(#3092), thanks @canvural!v1.11.1
Compare Source
Improvements 🔧
sprintf()
constant result inference (#3075), thanks @staabm!Bugfixes 🐛
impure(Function|Method).pure
if it has@phpstan-assert
tags (phpstan/phpstan-src@9544f8a)reportPossiblyNonexistentConstantArrayOffset: true
(phpstan/phpstan-src@5277630), #10997self
andstatic
in@phpstan-closure-this
from trait stub file (phpstan/phpstan-src@9340249), #11009Function signature fixes 🤖
uri
instream_get_meta_data
calls is always present on PHP 8.3+ (phpstan/phpstan-src@885d46b), #11024, #10999v1.11.0
Compare Source
Read the article about PHPStan 1.11 on phpstan.org »
Major new features 🚀
@phpstan-ignore
comment (uses current or next line automatically)ignoreErrors
section of your configuration file (phpstan.neon)-v
@phpstan-ignore-line
and@phpstan-ignore-next-line
to the new@phpstan-ignore
comment style with error identifiers. The old comment style is dangerous because it ignores all errors, current and future, on that line.ignoreErrors
, from your baseline and also ignored locally in source code using comments--pro
CLI option@param-immediately-invoked-callable
,@param-later-invoked-callable
@phpstan-pure
@param-closure-this
to describe what$this
is bound to in a passed closurereportPossiblyNonexistentGeneralArrayOffset
reportPossiblyNonexistentConstantArrayOffset
Bleeding edge 🔪
@phpstan-pure
above functions and methodsnew
/function call/method call/static method call on a separate line without any side effects even without@phpstan-pure
PHPDoc tag on the declaration side@param-out
(phpstan/phpstan-src@56b2002)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 🔧
checkMissingIterableValueType: false
andcheckGenericClassInNonGenericObjectType: false
in favour of ignoring via identifiers (phpstan/phpstan-src@a649981)new
type (#3050), #9704, thanks @ruudk!RuleErrorBuilder::file()
- file path needs to exist (phpstan/phpstan-src@c453f29)$this
and used variables after invoking closure (#2980)@phan-
prefixes on recognized PHPDoc tags (#3000), thanks @anomiex!pure-callable
andpure-Closure
PHPDoc types (phpstan/phpstan-src@cdaff5f)highlight_string()
flips side-effects depending on $return (#3021), thanks @staabm!Bugfixes 🐛
AccessoryNonFalsyStringType::toInteger()
returnIntegerType
instead of non-zero (#3018), #10893, thanks @zonuexe!polluteScopeWithAlwaysIterableForeach
(#3029), #10922, thanks @VincentLanglet!count($x) > $n === true
negation (#3037), #10952, thanks @rvanvelzen!new
with wrong name case (phpstan/phpstan-src@59ac31a)preg_match_all
behaviour with no flags (phpstan/phpstan-src@a856ec7)file_get_contents
is an impure function (phpstan/phpstan-src@2b5b317)ClosureType::equals()
(phpstan/phpstan-src@29c35b5)exceptions.implicitThrows: false
(#3016), thanks @janedbal!ConstantArrayType::hasOffsetValueType()
for offset union type where all types are valid (phpstan/phpstan-src@26e949b)non-empty-list
always has offset 0 (phpstan/phpstan-src@f4d1d48)non-empty-string
/non-falsey-string
aftermb_strlen()
(#3038), thanks @staabm!Type::isOffsetAccessLegal()
to detect offset access that crashes even inisset()
(#3045), #8393, #10926, thanks @rajyan!match()
condition correctly (#3053), #10974, #9694, thanks @rvanvelzen!json_decode
with force array flag: subtract all objects, not just stdClass (#3052), thanks @rajyan!strlen($x) > $n === true
negation (#3040), thanks @staabm!Continue_
points should not be used forwhile (true)
(#3057), #10980, thanks @greew!Function signature fixes 🤖
stream_get_meta_data()
optional (#3024), #10887, thanks @hirokinoue!Closure::bind
$newScope
param (#2817), thanks @mvorisek!Imagick::identifyImage()
return type (#3017), thanks @SVillette!Internals 🔍
ClassReflection::getClassTypeDescription()
(phpstan/phpstan-src@dec9e43)RuleErrorBuilder::treatPhpDocTypesAsCertainTip()
for a bit more DRYness (#3035), thanks @axlon!v1.10.67
Compare Source
This is the last release, or one of the last releases, in 1.10.x series. The next one is going to be PHPStan 1.11, and it's going to be released at some point in May 2024.
Improvements 🔧
Bugfixes 🐛
date()
return types (#2888), #10468, #6613, thanks @zonuexe!get_defined_vars()
as using constructor arguments (#3012), #10865, thanks @rvanvelzen!Function signature fixes 🤖
gc_status()
signature for PHP8.3+ (#2996), thanks @staabm!mysqli_result::fetch_fields
(#3005), thanks @schlndh!Internals 🔍
v1.10.66
Compare Source
Improvements 🔧
Bugfixes 🐛
array_push
preserves list (phpstan/phpstan-src@5473b67)Function signature fixes 🤖
redis::get
signature (#2990), thanks @VincentLanglet!Internals 🔍
v1.10.65
Compare Source
Improvements 🔧
Bugfixes 🐛
Function signature fixes 🤖
Internals 🔍
TrinaryLogic::describe()
in test (phpstan/phpstan-src@222a66c)v1.10.64
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 🔧
ForbiddenClassNameExtension
for append additional forbidden class prefixes (#2979), thanks @kamil-zacek!AlwaysUsedMethodExtension
(#2927), thanks @axlon!Bugfixes 🐛
Function signature fixes 🤖
DOMDocument::load
return type (#2975), thanks @VincentLanglet!SplObjectStorage::removeAll/Except
(#2892), thanks @schlndh!v1.10.63
Compare Source
v1.10.62
Compare Source
Improvements 🔧
Bugfixes 🐛
@param-out
work even if it is the only conditional type in a function signature (phpstan/phpstan-src@787c1e2)@param-out
- fix for conditional types (phpstan/phpstan-src@5a47893)v1.10.61
Compare Source
Improvements 🔧
final
modifier in traits (https://github.com/Roave/BetterReflection/pull/1383), thanks @kukulich!@param-out
(phpstan/phpstan-src@effad95), #10699@param-out
(phpstan/phpstan-src@67f9420)Bugfixes 🐛
@param-out
type - consider all execution ends at once (phpstan/phpstan-src@d1bcf78), #10687, #10684Internals 🔍
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!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.