-
Notifications
You must be signed in to change notification settings - Fork 48
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
False positive of unused use inside willReturnCallback() and match() #190
Comments
Fixed in PHPStan 1.10.21 https://github.com/phpstan/phpstan/releases/tag/1.10.21 |
renovate bot
referenced
this issue
in Lendable/composer-license-checker
Jun 21, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [phpstan/phpstan](https://github.com/phpstan/phpstan) | require-dev | patch | `^1.10.20` -> `^1.10.21` | --- ### Release Notes <details> <summary>phpstan/phpstan</summary> ### [`v1.10.21`](https://github.com/phpstan/phpstan/releases/tag/1.10.21) [Compare Source](https://github.com/phpstan/phpstan/compare/1.10.20...1.10.21) # Bugfixes 🐛 - Fix defining variables in match condition (phpstan/phpstan-src@d6c2752), [#​9474](https://github.com/phpstan/phpstan/issues/9474) - Fix UnusedClosureUsesRule for already traversed match (phpstan/phpstan-src@a719486), [https://github.com/phpstan/phpstan-phpunit/issues/190](https://github.com/phpstan/phpstan-phpunit/issues/190), [#​9478](https://github.com/phpstan/phpstan/issues/9478) - Update BetterReflection (phpstan/phpstan-src@a540e44), [#​9477](https://github.com/phpstan/phpstan/issues/9477) - Fix newInstance on ReflectionAttribute adapter with enum argument (ondrejmirtes/BetterReflection@277b960) # Internals 🔍 - Cheap checks first in ObjectType ([#​2475](https://github.com/phpstan/phpstan-src/pull/2475)), thanks [@​mad-briller](https://github.com/mad-briller)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Lendable/composer-license-checker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Thanks! |
oguzhand95
referenced
this issue
in cerbos/cerbos-sdk-php
Jul 3, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [phpstan/phpstan](https://github.com/phpstan/phpstan) | require-dev | patch | `1.10.19` -> `1.10.22` | | [phpunit/phpunit](https://phpunit.de/) ([source](https://github.com/sebastianbergmann/phpunit)) | require-dev | patch | `10.2.2` -> `10.2.3` | | [vimeo/psalm](https://github.com/vimeo/psalm) | require-dev | minor | `5.12.0` -> `5.13.1` | --- ### Release Notes <details> <summary>phpstan/phpstan (phpstan/phpstan)</summary> ### [`v1.10.22`](https://github.com/phpstan/phpstan/releases/tag/1.10.22) [Compare Source](https://github.com/phpstan/phpstan/compare/1.10.21...1.10.22) # Bleeding edge 🔪 - More precise `file()` flags args ([#​2476](https://github.com/phpstan/phpstan-src/pull/2476), [#​2482](https://github.com/phpstan/phpstan-src/pull/2482)), thanks [@​staabm](https://github.com/staabm)! - Non-static methods cannot be used as static callables in PHP 8+ ([#​2420](https://github.com/phpstan/phpstan-src/pull/2420)), thanks [@​staabm](https://github.com/staabm)! - More precise `flock()` operation flags ([#​2477](https://github.com/phpstan/phpstan-src/pull/2477)), thanks [@​staabm](https://github.com/staabm)! - Rule for `call_user_func()` ([#​2479](https://github.com/phpstan/phpstan-src/pull/2479)), thanks [@​staabm](https://github.com/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`:* includes: - vendor/phpstan/phpstan/conf/bleedingEdge.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](https://phpstan.org/blog/what-is-bleeding-edge)* # Improvements 🔧 - Add return type extension for `constant()` ([#​2474](https://github.com/phpstan/phpstan-src/pull/2474)), thanks [@​herndlm](https://github.com/herndlm)! - Dynamic `assert()` throw type extension ([#​2427](https://github.com/phpstan/phpstan-src/pull/2427)), thanks [@​patrickkusebauch](https://github.com/patrickkusebauch)! - Update nikic/PHP-Parser (phpstan/phpstan-src@79b3034) - PHP 8.3: `json_validate()` stub (phpstan/phpstan-src@828b269), thanks [@​staabm](https://github.com/staabm)! - Implement `call_user_func()` DynamicFunctionReturnTypeExtension ([#​2479](https://github.com/phpstan/phpstan-src/pull/2479)), thanks [@​staabm](https://github.com/staabm)! # Bugfixes 🐛 - Add support for math with constant numeric string ([#​2209](https://github.com/phpstan/phpstan-src/pull/2209)), [#​8803](https://github.com/phpstan/phpstan/issues/8803), [#​8827](https://github.com/phpstan/phpstan/issues/8827), thanks [@​VincentLanglet](https://github.com/VincentLanglet)! - Use case insensitive matching to detect usages of private methods ([#​2484](https://github.com/phpstan/phpstan-src/pull/2484)), [#​8346](https://github.com/phpstan/phpstan/issues/8346), thanks [@​stof](https://github.com/stof)! - fix array_splice with non-array replacement ([#​2457](https://github.com/phpstan/phpstan-src/pull/2457)), thanks [@​schlndh](https://github.com/schlndh)! - Resolve key and value type of partially non-iterable types when entering foreach (phpstan/phpstan-src@cb5a2b4), [#​9535](https://github.com/phpstan/phpstan/issues/9535), [#​4907](https://github.com/phpstan/phpstan/issues/4907), [#​8924](https://github.com/phpstan/phpstan/issues/8924), [#​5998](https://github.com/phpstan/phpstan/issues/5998) - Foreach can append to the array but it does not change the number of iterations (phpstan/phpstan-src@27085c5), [#​4612](https://github.com/phpstan/phpstan/issues/4612) - MutatingScope - process left side of BooleanAnd and BooleanOr before getting type of the whole expression (phpstan/phpstan-src@989dd6f), [#​5365](https://github.com/phpstan/phpstan/issues/5365), [#​6551](https://github.com/phpstan/phpstan/issues/6551), [#​7491](https://github.com/phpstan/phpstan/issues/7491), [#​4004](https://github.com/phpstan/phpstan/issues/4004), [#​2499](https://github.com/phpstan/phpstan/issues/2499) - MutatingScope - process ternary cond before getting type of the whole expression (phpstan/phpstan-src@faba805) - Fix processing switch with complex case conditions (phpstan/phpstan-src@f6b34f2), [#​5326](https://github.com/phpstan/phpstan/issues/5326) - Fix ClassConstFetch Identical specification with Yoda conditions ([#​2498](https://github.com/phpstan/phpstan-src/pull/2498)), [#​9542](https://github.com/phpstan/phpstan/issues/9542), thanks [@​herndlm](https://github.com/herndlm)! # Function signature fixes 🤖 - Update functionMap for ext-mongodb 1.16 ([#​2473](https://github.com/phpstan/phpstan-src/pull/2473)), thanks [@​alcaeus](https://github.com/alcaeus)! - Add false to the `db2_num_rows()` return type ([#​2456](https://github.com/phpstan/phpstan-src/pull/2456)), thanks [@​morozov](https://github.com/morozov)! - More precise `ignore_user_abort()` return type ([#​2489](https://github.com/phpstan/phpstan-src/pull/2489)), thanks [@​staabm](https://github.com/staabm)! # Internals 🔍 - Type projections, part 1: call-site variance in GenericObjectType ([#​2471](https://github.com/phpstan/phpstan-src/pull/2471)), thanks [@​jiripudil](https://github.com/jiripudil)! - Test PHP 8.3 ([#​2486](https://github.com/phpstan/phpstan-src/pull/2486)) - Cleanup NodeScopeResolver ([#​2499](https://github.com/phpstan/phpstan-src/pull/2499)), thanks [@​staabm](https://github.com/staabm)! ### [`v1.10.21`](https://github.com/phpstan/phpstan/releases/tag/1.10.21) [Compare Source](https://github.com/phpstan/phpstan/compare/1.10.20...1.10.21) # Bugfixes 🐛 - Fix defining variables in match condition (phpstan/phpstan-src@d6c2752), [#​9474](https://github.com/phpstan/phpstan/issues/9474) - Fix UnusedClosureUsesRule for already traversed match (phpstan/phpstan-src@a719486), [https://github.com/phpstan/phpstan-phpunit/issues/190](https://github.com/phpstan/phpstan-phpunit/issues/190), [#​9478](https://github.com/phpstan/phpstan/issues/9478) - Update BetterReflection (phpstan/phpstan-src@a540e44), [#​9477](https://github.com/phpstan/phpstan/issues/9477) - Fix newInstance on ReflectionAttribute adapter with enum argument (ondrejmirtes/BetterReflection@277b960) # Internals 🔍 - Cheap checks first in ObjectType ([#​2475](https://github.com/phpstan/phpstan-src/pull/2475)), thanks [@​mad-briller](https://github.com/mad-briller)! ### [`v1.10.20`](https://github.com/phpstan/phpstan/releases/tag/1.10.20) [Compare Source](https://github.com/phpstan/phpstan/compare/1.10.19...1.10.20) # Improvements 🔧 - PHPStan Pro: Change Cloudflare DNS for to family version ([#​2467](https://github.com/phpstan/phpstan-src/pull/2467)), thanks [@​spaze](https://github.com/spaze)! - Add `non-zero-int` type ([#​2449](https://github.com/phpstan/phpstan-src/pull/2449)), thanks [@​PrinsFrank](https://github.com/PrinsFrank)! - Implement `gettype()` return type extension ([#​2437](https://github.com/phpstan/phpstan-src/pull/2437)), thanks [@​staabm](https://github.com/staabm)! # Bugfixes 🐛 - Allow to remember constant and impure expressions in `match` condition (phpstan/phpstan-src@0cdda0b), [#​4451](https://github.com/phpstan/phpstan/issues/4451), [#​6064](https://github.com/phpstan/phpstan/issues/6064), [#​9457](https://github.com/phpstan/phpstan/issues/9457) - Fix `gettype` in `match` condition (phpstan/phpstan-src@e4ef00c, phpstan/phpstan-src@caa0a5b), [#​8614](https://github.com/phpstan/phpstan/issues/8614) - Fix `get_class` in `match` condition (phpstan/phpstan-src@106526d), [#​1885](https://github.com/phpstan/phpstan/issues/1885), [#​8536](https://github.com/phpstan/phpstan/issues/8536), [#​8092](https://github.com/phpstan/phpstan/issues/8092) - Understand `get_class` compared with `static::class` (phpstan/phpstan-src@590eb03), [#​1885](https://github.com/phpstan/phpstan/issues/1885) - Understand `gettype` when there's a union of strings on the other side (phpstan/phpstan-src@36e412f), [#​6294](https://github.com/phpstan/phpstan/issues/6294), [#​2580](https://github.com/phpstan/phpstan/issues/2580) - Treat ConstantArrayType as covariant in its keys and values ([#​2464](https://github.com/phpstan/phpstan-src/pull/2464)), [#​9161](https://github.com/phpstan/phpstan/issues/9161), thanks [@​jiripudil](https://github.com/jiripudil)! - Treat ArrayType as covariant in its keys and values ([#​2465](https://github.com/phpstan/phpstan-src/pull/2465)), thanks [@​jiripudil](https://github.com/jiripudil)! - Make `NonEmptyArrayType::toArray()` return `$this` ([#​2349](https://github.com/phpstan/phpstan-src/pull/2349)), [#​9208](https://github.com/phpstan/phpstan/issues/9208), thanks [@​zonuexe](https://github.com/zonuexe)! - Retain list type via `array_push()` and `array_unshift()` ([#​2451](https://github.com/phpstan/phpstan-src/pull/2451)), [#​8449](https://github.com/phpstan/phpstan/issues/8449), thanks [@​herndlm](https://github.com/herndlm)! - For `@var` above throw and return, change the type of expr only for the stmt callback (phpstan/phpstan-src@b551095), [#​9459](https://github.com/phpstan/phpstan/issues/9459) # Internals 🔍 - Remove redundant conditions from RemoveUnusedCodeByPhpVersionIdVisitor. ([#​2459](https://github.com/phpstan/phpstan-src/pull/2459)), thanks [@​mad-briller](https://github.com/mad-briller)! - Return early in CachingVistor to avoid always-false instanceof checks. ([#​2460](https://github.com/phpstan/phpstan-src/pull/2460)), thanks [@​mad-briller](https://github.com/mad-briller)! - Introduce CombinationsHelper (phpstan/phpstan-src@175307e) - `Type::getFiniteTypes()` (phpstan/phpstan-src@7912caf, phpstan/phpstan-src@fa9a951, phpstan/phpstan-src@b5cf52b) </details> <details> <summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary> ### [`v10.2.3`](https://github.com/sebastianbergmann/phpunit/compare/10.2.2...10.2.3) [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/10.2.2...10.2.3) </details> <details> <summary>vimeo/psalm (vimeo/psalm)</summary> ### [`v5.13.1`](https://github.com/vimeo/psalm/releases/tag/5.13.1) [Compare Source](https://github.com/vimeo/psalm/compare/5.13.0...5.13.1) <!-- Release notes generated using configuration in .github/release.yml at 5.13.1 --> #### What's Changed ##### Fixes - Fix glob CallMap and stub to prevent crash on alpine by [@​ygottschalk](https://github.com/ygottschalk) in [https://github.com/vimeo/psalm/pull/9942](https://github.com/vimeo/psalm/pull/9942) ##### Docs - Fix the link reference in the doc by [@​stof](https://github.com/stof) in [https://github.com/vimeo/psalm/pull/9967](https://github.com/vimeo/psalm/pull/9967) **Full Changelog**: vimeo/psalm@5.13.0...5.13.1 ### [`v5.13.0`](https://github.com/vimeo/psalm/releases/tag/5.13.0) [Compare Source](https://github.com/vimeo/psalm/compare/5.12.0...5.13.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Features - Add a support for multilevel glob wildcards by [@​2e3s](https://github.com/2e3s) in [https://github.com/vimeo/psalm/pull/9813](https://github.com/vimeo/psalm/pull/9813) - Mapping closed inheritance to union during assertion by [@​klimick](https://github.com/klimick) in [https://github.com/vimeo/psalm/pull/9829](https://github.com/vimeo/psalm/pull/9829) - Use PHPStorm output format by default on JetBrains terminals by [@​lptn](https://github.com/lptn) in [https://github.com/vimeo/psalm/pull/9848](https://github.com/vimeo/psalm/pull/9848) - sprintf basic non-empty-string return type provider by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9841](https://github.com/vimeo/psalm/pull/9841) - Extend Shepherd payload by information about package versions by [@​lptn](https://github.com/lptn) in [https://github.com/vimeo/psalm/pull/9856](https://github.com/vimeo/psalm/pull/9856) - Allow if/false assert for same variable to allow array/list distinction by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9853](https://github.com/vimeo/psalm/pull/9853) - readonly does not have write access, therefore is safe as long as the… by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9887](https://github.com/vimeo/psalm/pull/9887) - Sprintf improve return param type validation by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9877](https://github.com/vimeo/psalm/pull/9877) - feat: cache.gz by [@​dkarlovi](https://github.com/dkarlovi) in [https://github.com/vimeo/psalm/pull/9889](https://github.com/vimeo/psalm/pull/9889) - make compressor configurable v2 by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9924](https://github.com/vimeo/psalm/pull/9924) - Invalidate cached methods when referenced files are deleted by [@​tscni](https://github.com/tscni) in [https://github.com/vimeo/psalm/pull/9931](https://github.com/vimeo/psalm/pull/9931) - Invalidate cached methods when referenced class property types change by [@​tscni](https://github.com/tscni) in [https://github.com/vimeo/psalm/pull/9955](https://github.com/vimeo/psalm/pull/9955) ##### Fixes - glob: allow empty string for pattern by [@​Hanmac](https://github.com/Hanmac) in [https://github.com/vimeo/psalm/pull/9814](https://github.com/vimeo/psalm/pull/9814) - [GH-9825](https://github.com/vimeo/psalm/issues/9825) by [@​jack-worman](https://github.com/jack-worman) in [https://github.com/vimeo/psalm/pull/9828](https://github.com/vimeo/psalm/pull/9828) - Fix [#​9824](https://github.com/vimeo/psalm/issues/9824) const enum self reference by [@​ygottschalk](https://github.com/ygottschalk) in [https://github.com/vimeo/psalm/pull/9833](https://github.com/vimeo/psalm/pull/9833) - base64\_decode returns false only in strict mode by [@​kamil-tekiela](https://github.com/kamil-tekiela) in [https://github.com/vimeo/psalm/pull/9832](https://github.com/vimeo/psalm/pull/9832) - Dirname return type non empty string by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9837](https://github.com/vimeo/psalm/pull/9837) - uniqid return type non-empty-string inconsistent by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9842](https://github.com/vimeo/psalm/pull/9842) - PropertyNotSetInConstructor should not report for abstract constructors by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9844](https://github.com/vimeo/psalm/pull/9844) - Intersect template types during inheritance check by [@​klimick](https://github.com/klimick) in [https://github.com/vimeo/psalm/pull/9865](https://github.com/vimeo/psalm/pull/9865) - Fix generic type params mapping by [@​klimick](https://github.com/klimick) in [https://github.com/vimeo/psalm/pull/9866](https://github.com/vimeo/psalm/pull/9866) - Better intersection of template types during inheritance check by [@​klimick](https://github.com/klimick) in [https://github.com/vimeo/psalm/pull/9883](https://github.com/vimeo/psalm/pull/9883) - Update the signature of debug_backtrace by [@​stof](https://github.com/stof) in [https://github.com/vimeo/psalm/pull/9868](https://github.com/vimeo/psalm/pull/9868) - Glob return type stub by [@​ygottschalk](https://github.com/ygottschalk) in [https://github.com/vimeo/psalm/pull/9878](https://github.com/vimeo/psalm/pull/9878) - Improve the return types for getimagesize and getimagesizefromstring by [@​robchett](https://github.com/robchett) in [https://github.com/vimeo/psalm/pull/9875](https://github.com/vimeo/psalm/pull/9875) - Unmark DateInterval::$invert as read-only by [@​morozov](https://github.com/morozov) in [https://github.com/vimeo/psalm/pull/9895](https://github.com/vimeo/psalm/pull/9895) - Sprintf additional validations and bugfix by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9904](https://github.com/vimeo/psalm/pull/9904) - Fixes [#​9827](https://github.com/vimeo/psalm/issues/9827) by [@​ygottschalk](https://github.com/ygottschalk) in [https://github.com/vimeo/psalm/pull/9903](https://github.com/vimeo/psalm/pull/9903) - set type of **LINE** to positive int by [@​robchett](https://github.com/robchett) in [https://github.com/vimeo/psalm/pull/9921](https://github.com/vimeo/psalm/pull/9921) - Add a stub file for Attributes defined by PHP by [@​robchett](https://github.com/robchett) in [https://github.com/vimeo/psalm/pull/9920](https://github.com/vimeo/psalm/pull/9920) - Don't update types of the outer scope when in an elseif conditional by [@​robchett](https://github.com/robchett) in [https://github.com/vimeo/psalm/pull/9922](https://github.com/vimeo/psalm/pull/9922) - Update callmap for ext-mongodb 1.16 by [@​alcaeus](https://github.com/alcaeus) in [https://github.com/vimeo/psalm/pull/9933](https://github.com/vimeo/psalm/pull/9933) - Add call map entries for MongoDB functions by [@​alcaeus](https://github.com/alcaeus) in [https://github.com/vimeo/psalm/pull/9934](https://github.com/vimeo/psalm/pull/9934) - fix reconciliation between a list and iterable by [@​orklah](https://github.com/orklah) in [https://github.com/vimeo/psalm/pull/9950](https://github.com/vimeo/psalm/pull/9950) - `non-empty-list` assertion for iterable by [@​boesing](https://github.com/boesing) in [https://github.com/vimeo/psalm/pull/9953](https://github.com/vimeo/psalm/pull/9953) - fix PHP 7 sprintf too many arguments false positive by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9943](https://github.com/vimeo/psalm/pull/9943) ##### Docs - Document classAndDescendants configuration tag by [@​janopae](https://github.com/janopae) in [https://github.com/vimeo/psalm/pull/9867](https://github.com/vimeo/psalm/pull/9867) ##### Internal changes - Introduce and use `IssueData` constants for severity levels by [@​lptn](https://github.com/lptn) in [https://github.com/vimeo/psalm/pull/9846](https://github.com/vimeo/psalm/pull/9846) - Shepherd: send a list of issues (instead of array with int keys) by [@​lptn](https://github.com/lptn) in [https://github.com/vimeo/psalm/pull/9845](https://github.com/vimeo/psalm/pull/9845) - fix failing mock tests by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9880](https://github.com/vimeo/psalm/pull/9880) - Bump mheap/github-action-required-labels from 4 to 5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/vimeo/psalm/pull/9898](https://github.com/vimeo/psalm/pull/9898) - fix CI warnings for findUnusedCode in psalm 6 by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9915](https://github.com/vimeo/psalm/pull/9915) - docblock parser minor performance gain by [@​kkmuffme](https://github.com/kkmuffme) in [https://github.com/vimeo/psalm/pull/9916](https://github.com/vimeo/psalm/pull/9916) - improve perfs for switch by not creating reverse assertions against constants by [@​orklah](https://github.com/orklah) in [https://github.com/vimeo/psalm/pull/9929](https://github.com/vimeo/psalm/pull/9929) - remove StementsVolatileCache for perf reasons by [@​orklah](https://github.com/orklah) in [https://github.com/vimeo/psalm/pull/9930](https://github.com/vimeo/psalm/pull/9930) - put config to true to prevent deprecations for new config files by [@​orklah](https://github.com/orklah) in [https://github.com/vimeo/psalm/pull/9857](https://github.com/vimeo/psalm/pull/9857) - Make config warn about missing cache related functions by [@​ygottschalk](https://github.com/ygottschalk) in [https://github.com/vimeo/psalm/pull/9935](https://github.com/vimeo/psalm/pull/9935) - Fix/cache fail silent by [@​ygottschalk](https://github.com/ygottschalk) in [https://github.com/vimeo/psalm/pull/9932](https://github.com/vimeo/psalm/pull/9932) ##### Typos - Fixed typo in ConstantTest by [@​staabm](https://github.com/staabm) in [https://github.com/vimeo/psalm/pull/9835](https://github.com/vimeo/psalm/pull/9835) #### New Contributors - [@​Hanmac](https://github.com/Hanmac) made their first contribution in [https://github.com/vimeo/psalm/pull/9814](https://github.com/vimeo/psalm/pull/9814) - [@​stof](https://github.com/stof) made their first contribution in [https://github.com/vimeo/psalm/pull/9868](https://github.com/vimeo/psalm/pull/9868) **Full Changelog**: vimeo/psalm@5.12.0...5.13.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/cerbos/cerbos-sdk-php). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Example:
Context
I slapped a tiny test-project together, which demonstrates the issue: https://github.com/cheldt/unused
Thanks for any help :)
The text was updated successfully, but these errors were encountered: