-
See https://psalm.dev/r/393eb25a8a
-
**Describe the bug**
```
InvalidArgumentException Could not get class storage for eloquent
Emitted in /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php:45
Stac…
-
# Feature request
Psalm allows `array{foo: int, bar: int, ...}` notation to specify that this array may also contain other keys. Array shapes without the `...` must not contain any other keys.
T…
-
It would be great if various psalm versions could be checked using query param, similar to how different PHP versions can be passed via query param.
e.g. at least the last v4 + all the v5 versions.
…
-
I have another problem now that blocks from completely migrating to v2. And there is nothing about this in upgrade guide.
In a factory I have `protected function defaults(): array` and phpstan comp…
-
Example
https://psalm.dev/r/9bc102970e
This works, but changed behaviour
https://psalm.dev/r/d3cb9314c1
Patched with `@var`
https://psalm.dev/r/52a0ed404d
-
When I run the whole analyze, I got the following error at the very end:
`PHP Fatal error: Maximum execution time of 0 seconds exceeded in vendor/vimeo/psalm/src/Psalm/Internal/Type/ParseTree.php …
-
When trying to define array type with known key-values and unknown using `...` or more specific `...`
```php
/**
* @psalm-type Info = array{
* key?: string|null,
* ...
* }
*/
``…
-
Consider the following [snippet](https://psalm.dev/r/e128b3793a):
```php
/**
* @psalm-type Foo = object{
* bar: object{
* baz: string|null,
* },
* }
*/
/** @var Foo …
-
# Bug report
PHPStan fails to detect that method definitions differ when a class extends a parent class and implements an interface at the same time.
### Code snippet that reproduces the proble…