Robert Chettleburgh
Robert Chettleburgh
#### What are you trying to achieve? Test that the API correctly handles urls with double slashes #### What do you get instead? Errors are thrown before the http request...
https://psalm.dev/r/d92d35a175 Is there a correct way of asserting to Psalm that `array{A?: 'A', B?: 'B'}` is in fact `non-empty-array`?
https://psalm.dev/r/3a413f8ff0 I've been using this syntax to denote a callable with an unknown number of arguments - they are dynamically linked via a DI container. I don't love it, but...
### Bug report `Error` exception is raised but no warning from SA. ### Code snippet that reproduces the problem https://phpstan.org/r/4ade25a7-da2a-40ae-b3e3-89713d804052 ### Expected output Cannot access offset 'a' on stdClass. ###...
Phpstan has a special formatter for $this which it can't actually parse itself if used in an @var block. This replaces it with the underlying type of $this.
- [x] Added or updated tests - [x] Documented user facing changes **Changes** Add return type detection to - `Auth::authenticate()` - `auth()->authenticate()` **Breaking changes**
https://github.com/laravel/framework/pull/53633 fixes the laravel side but it won't be patched into older versions In sitiuations when no 'key' was specified only the 'token' was set causing invalid creds arrays to...
Partial fix for #11368 Issue appears to cement itself here - https://github.com/vimeo/psalm/blob/e052de4275fb6cdbfedfef1d883a7e90732ea609/src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php#L418-L421 as `context->self = "User"` but the method was called on an instance of `UserId` After updating to ```php...