-
This causes problems:
https://psalm.dev/r/21b898850a
This is fine:
https://psalm.dev/r/a59a8c9029
-
https://psalm.dev/r/90304e4579
Ideally psalm would correctly infer that $first and $second are identical
-
Regression introduced by https://github.com/vimeo/psalm/commit/acc7ee261c106b4ae91f333ff4a9939b6e858bf3
https://psalm.dev/r/7ef9325f16
danog updated
2 years ago
-
Message: `ERROR: TooManyArguments - foo.php:3:2 - Class JetBrains\PhpStorm\Pure has no __construct, but arguments were passed (see https://psalm.dev/026)`
```foo.php
-
This works: https://psalm.dev/r/32b7137fa9
This doesn't: https://psalm.dev/r/6b95034171
This is a false negative: https://psalm.dev/r/be95fcaee2
It's also described as `array{...}` instead of `no…
-
~~Incorrect example removed~~
https://psalm.dev/r/5f8c0cdbd3
I may be misunderstanding things but in latest psalm my var `$union` is definitely either an array with `BOOP` key _only_ or with `BE…
-
I think I've found a strange behaviour, in this snippet psalm complains about a property not set in constructor when the concrete class extends an abstract class using a trait.
https://psalm.dev/r/…
-
I think that may be a bug. When you disable both property and call memoization the error is reported as expected (https://psalm.dev/r/27385f89f2), but when *property* memoization is enabled the *call*…
-
Take the following example:
https://psalm.dev/r/5b8b039dd4
I'm using no named arguments, but Psalm fails with `NamedArgumentNotAllowed` (because of my `@no-named-arguments`).
Note that I use …
-
https://psalm.dev/r/2f58f5bd16
http://sandbox.onlinephpfunctions.com/code/f63c3d735fbba6c6bc19703bd216781f65b9afbc
PHP does not allow a use statement to be included more than once. This triggers a…