Update dependency phpstan/phpstan to v2.1.2 #27
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:
2.0.2
->2.1.2
Release Notes
phpstan/phpstan (phpstan/phpstan)
v2.1.2
Compare Source
Improvements 🔧
Bugfixes 🐛
Function signature fixes 🤖
false
to the return type (#3730), thanks @sreichel!samesite
cookie argument precision (phpstan/phpstan-src@a54cdb0)Internals 🔍
ConstantArrayType::findTypeAndMethodNames()
used only once (phpstan/phpstan-src@30b9cd8)v2.1.1
Compare Source
Improvements 🔧
getNextStatements
in UnreachableStatementNode (#3745), thanks @samsonasik!@phpstan-consistent-constructor
(#3687), #12137, thanks @herndlm!checkUninitializedProperties
is enabled (phpstan/phpstan-src@ca86412)Bugfixes 🐛
Internals 🔍
propertyName
attributev2.1.0
Compare Source
Read all about this release on PHPStan's blog!
Major new features 🚀
#[Deprecated]
attribute (RFC)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 🔧
#[AllowDynamicProperties]
(#3738), #12281, thanks @staabm!parent::
(phpstan/phpstan-src@41837b4)Bugfixes 🐛
preg_match()
group containing start/end meta characters (#3740), #12297, thanks @staabm!Internals 🔍
In*Node
virtual nodes for more precise Scope phpstan/phpstan-src@90e48fa)Scope::getConstant
instead (#3666), thanks @staabm!v2.0.4
Compare Source
This release includes improvements and fixes from PHPStan 1.12.13.
Improvements 🔧
strictRulesInstalled
parameter (#3729), thanks @staabm!Bugfixes 🐛
htmlspecialchars
andhtmlentities
beingnon-empty-string
without ENT_SUBSTITUTE flag (#3710), #12021, thanks @jack-worman!Function signature fixes 🤖
fgetcsv
return type; never returns null (#3712), thanks @janedbal!apcu_cache_info
andapcu_sma_info
signatures (#3726, phpstan/phpstan-src@e7e8093), thanks @vindic!Internals 🔍
v2.0.3
Compare Source
This release includes improvements and fixes from PHPStan 1.12.12.
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 🐛
in_array
(#3646), #12083, thanks @janedbal!Function signature fixes 🤖
Internals 🔍
Scope::getPhpVersion()
(#3642), thanks @staabm!Printer::__construct()
(#3680), thanks @samsonasik!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 was generated by Mend Renovate. View the repository job log.