chore(deps): update dependency phpstan/phpstan to v0.12.88 #52
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:
0.12.82
->0.12.88
Release Notes
phpstan/phpstan
v0.12.88
Compare Source
Improvements 🔧
editorUrl
to add clickable file URLs to output (#515), thanks @ThomasLandauer!Bugfixes 🐛
proc_open
function is disabled (#514), thanks @mvorisek!excludePaths
in the same config hierarchy (phpstan/phpstan-src@e7ac788), #4561\
is valid class name (phpstan/phpstan-src@428baf5), #5002is_array()
false positive (phpstan/phpstan-src@187921e), #4999TemplateUnionType
as part of intersection (phpstan/phpstan-src@4a45db5), #5000*
ignore path whenopen_basedir
is set (#519), thanks @mvorisek!Function signature fixes 🤖
number_format()
with named arguments (#524), thanks @matyx!DateInterval
extension (#520), thanks @VincentLanglet!v0.12.87
Compare Source
Major new feature 🚀
New exceptions-related rules
@throws
@throws
that aren't actually thrownRead this article for more details »
Improvements 🔧
composer/xdebug-handler
(phpstan/phpstan-src@0b6b602)Bugfixes 🐛
throw
expression throw point (phpstan/phpstan-src@1e4f2e1)Function signature fixes 🤖
getopt()
return type (phpstan/phpstan-src@94b6c03), #4987, thanks @dktapps!v0.12.86
Compare Source
Improvements 🔧
@throws
support (phpstan/phpstan-src@48bfa70)Bugfixes 🐛
new ReflectionClass()
can throwReflectionException
(phpstan/phpstan-src@00d3ef4)DateTime
andDateTimeImmutable
constructor does not always throw Exception (phpstan/phpstan-src@181f75c)Function signature fixes 🤖
wincache_ucache_inc
andwincache_ucache_dec
(phpstan/phpstan-src@671f404), #4952Redis::scan()
signature (phpstan/phpstan-src@8fe9e60), #4929IntlDateFormatter::parse
can define variable by reference (#509), thanks @francescolaffi!v0.12.85
Compare Source
Improvements 🔧
Bugfixes 🐛
===
and!==
type inference withtreatPhpDocTypesAsCertain: false
(#476), thanks @ruudk!yield
has implicit throw point (phpstan/phpstan-src@033aeff), #4863is_dir()
and similar function values for nonexistent files (phpstan/phpstan-src@1eaef04), #4816Function signature fixes 🤖
date_create_from_format
anddate_create_immutable_from_format
(#502), thanks @pascalheidmann!v0.12.84
Compare Source
Major new feature 🚀
Local type aliases
Thanks to @jiripudil and his PR phpstan/phpstan-src#460, you can now enjoy
@phpstan-type
and@phpstan-import-type
in class-level PHPDoc. See the documentation for more details.Improvements 🔧
AlwaysUsedClassConstantsExtension
interface (#495), #4859, thanks @jdecool!Bugfixes 🐛
unlink()
also clears stat cache (phpstan/phpstan-src@63d0670), #4797Closure::bind()
(phpstan/phpstan-src@566b44b), #4808new $expr()
(phpstan/phpstan-src@8463afd), #4806$expr::foo()
(phpstan/phpstan-src@8c7cf85), #4805require
/require_once
for #4836 via a fake read (#491), thanks @rrazor!Function signature fixes 🤖
rediscluster
inspections (#493), thanks @sudo-plz!array_sum
return type (#494), thanks @VincentLanglet!v0.12.83
Compare Source
Improvements 🔧
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
Bugfixes 🐛
$foo ?? false
pattern when making sure variable exists (phpstan/phpstan-src@c4cc668), #560mt_rand
andrand
are not pure (phpstan/phpstan-src@edc8446)random_int
andrandom_bytes
are not deterministic (phpstan/phpstan-src@f36fa71), #4190is_file()
calls and similar only afterclearstatcache()
(phpstan/phpstan-src@bcc8d61)Closure::bind
(#489), thanks @VincentLanglet!array_sum()
dynamic return type extension (#490), thanks @VincentLanglet!NativeMethodReflection::hasSideEffects()
(phpstan/phpstan-src@98fb540), #4231, #4287count()
(phpstan/phpstan-src@7b417c7), #4700Function signature fixes 🤖
Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.