This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Update dependency phpstan/phpstan to v0.12.83 #4
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.74->0.12.83Release Notes
phpstan/phpstan
v0.12.83Compare Source
Improvements 🔧
2c42ef1), #4733, #4326, #987, #4215, #469556ae015), #2977, #3190Bleeding edge 🔪
d4edc59)ce9299c)3f712be)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 🐛
8f0150d), #4729a843d87), #47255d37113), #4731$foo ?? falsepattern when making sure variable exists (phpstan/phpstan-src@c4cc668), #560mt_randandrandare not pure (phpstan/phpstan-src@edc8446)random_intandrandom_bytesare not deterministic (phpstan/phpstan-src@f36fa71), #4190is_file()calls and similar only afterclearstatcache()(phpstan/phpstan-src@bcc8d61)f92b95e), #320390e49f7, phpstan/phpstan-src@2c0dda3), #429242d0b36), #44344db2e14), #4762Closure::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), #4700dbe08a6, phpstan/phpstan-src@626f72a, phpstan/phpstan-src@1463c57, phpstan/phpstan-src@91f477f), #4723baa371e), #4795Function signature fixes 🤖
v0.12.82Compare Source
Improvements 🔧
@use(phpstan/phpstan-src@8766923), #44231e53ab6), How to auto-invalidate cache when custom rule is updated? phpstan/phpstan#4691RecursiveIteratorgeneric (phpstan/phpstan-src@82596f5), #47183e1d200)Bugfixes 🐛
a1b7b38), #2575, #4130, #3623static::preserves generic types (phpstan/phpstan-src@d4e0177), #3251, #2231statictype in the typesystem, not in scope (#474), #4213, #4648, #3523, #3120, #1652, #4267staticin parameter type in implemented interfaces (phpstan/phpstan-src@d225a68), #4707, #3118parent::preserves generic types (phpstan/phpstan-src@4acbc6c), #2231, #2621, #3537, #32516d52302), phpstan/phpstan-deprecation-rules#35::classconstant (phpstan/phpstan-src@431905c), #4713, #40668babba3), #4288b51a26f), #4702%hand%Hin printf/sprintf (phpstan/phpstan-src@0cbbfba), #4717330eb22), #4545d01431c), #3558, #3351, #1843Function signature fixes 🤖
XMLReader::open()return type (phpstan/phpstan-src#456), thanks @jeroennoten!v0.12.81Compare Source
Improvements 🔧
469a8c3)vendor/bin/phpstan, if you satisfy two conditions:phpstan.neon(orphpstan.neon.dist) in your current working directorylevelparameter, andpathsto analyseResourceorNeverare now correctly recognized in PHPDocs and have priority over PHP'sresourcetype and PHPStan'sneverpseudotypenoreturnin PHPDoc as NeverType (phpstan/phpstan-src@bce31f0)Bugfixes 🐛
8382e35)isSuperTypeOf()between template union types (phpstan/phpstan-src@9f51f8e), #467049dcc50), #463448aea56), #46420725f5a), #4641e68ca10), #4643Function signature fixes 🤖
SplFileObject::fgetcsv()(#464), thanks @TomAdam!v0.12.80Compare Source
Improvements 🔧
e671cc0), #2928, #3922@template T+@template U of Query<T>.TofRecursiveIteratorIterator(phpstan/phpstan-src@d28b61b), #34250315dfa)72b02a6)Bugfixes 🐛
d29d098), #4605@varpriority with prefixed PHPDoc tags (phpstan/phpstan-src@3186fff), #4606Function signature fixes 🤖
v0.12.79Compare Source
Improvements 🔧
@templatetype bound (phpstan/phpstan-src@ac7b49e), #3769intandstringas@templatetype bound (phpstan/phpstan-src@768bfab)ReflectionClass::isSubclassOf()(phpstan/phpstan-src@d3b5d60), #4577BetterReflectionto version that uses PHPStan namespace instead of random prefixed one (phpstan/phpstan-src@06ef13e). See rectorphp/rector#56655aa8a55)PhpPropertyReflection::getNativeReflection()(phpstan/phpstan-src@5fad625)Bleeding edge 🔪
new $stringleads toobject, notmixed(phpstan/phpstan-src@78a9f05)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.
Bugfixes 🐛
GenericObjectType::isSuperTypeOf()for covariant template types (phpstan/phpstan-src@3f6de01)method_exists()afternew $class(phpstan/phpstan-src@70756b0), #4579--debugmessage (#455), thanks @alamirault!c1f7aaf), #4498d97ddee)ea7e0ac), #4587756af18)v0.12.78Compare Source
Improvements 🔧
0f64ca7), #211267b2d1c)7d279fc), #39523457e58), #3416array_map/array_filtercan resolve to a subtype of native type (phpstan/phpstan-src@bf320b0)Bugfixes 🐛
count($array)afterarray_shift()(phpstan/phpstan-src@6b2afbc), #4558@templatename clash from different scopes (phpstan/phpstan-src@527269a), #4557, #3121ec26a00), #3829method_exists()might remain a string (phpstan/phpstan-src@91894ff), #4573Function signature fixes 🤖
v0.12.77Compare Source
Improvements 🔧
continue/breakoutside of loop and switch (level 0) (phpstan/phpstan-src@df5c98d), #3588, #794Bugfixes 🐛
vendor/composer/installed.php(phpstan/phpstan-src@6367eb6), #4542isset()(#452), thanks @VincentLanglet!ec2ef2a), #4550class-string<T>(phpstan/phpstan-src@a7a46b1), #4552, #4249Function signature fixes 🤖
simplexml_import_dom(phpstan/phpstan-src@270d507), #4536Redis::auth()method also accepts array (#449), thanks @mvorisek!proc_get_status()- array shape for PHP 8 (phpstan/phpstan-src@f9c5714)v0.12.76Compare Source
Bugfixes 🐛
break Xandcontinue X(phpstan/phpstan-src@31fcad6), #4535, #4346, #2913, #2926, #2549, #2003, #1945, #651, #1283990ba51), #4527v0.12.75Compare Source
Improvements 🔧
b7d6080)Bleeding edge 🔪
@varPHPDoc tag (level 2) (phpstan/phpstan-src@5886053)aae34d9), #3267If 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.
Bugfixes 🐛
8633000), #4514785b663), #4513cc9a674), #4519SplObjectStorage's ArrayAccess will never return null (phpstan/phpstan-src@6062437), #44366ef87d1)SplObjectStorage) to a property (phpstan/phpstan-src@2017318), #3777Function 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.