-
Example: https://psalm.dev/r/74ba7585b6
When I create a collection with abstract types, Psalm doesn't infer the type of Items of this collection when I use static creation methods and perform some …
-
**Describe the bug**
Reproduction: https://phpstan.org/r/3c452035-5203-439f-8c93-372be51d80a8
The `Bag::from()` method has the following signature:
```php
public static function from(mixed $…
-
I came across this yesterday when building out a custom block and I found it used in one or two blog tutorials ([example](https://developer.wordpress.org/news/2023/03/03/creating-a-custom-block-that-s…
-
Hello,
I found strange psalm behavior when psalm cant resolve template argument in callable function in type alias for example
```
/**
* @template U of object
* @psalm-type TraceCallable …
-
This function return an array of array, there is no defined order of this structure.
I guess it could be useful to add a correct interpretation of this information : [[type] [parameter]]
There is 3 …
-
https://github.com/doctrine/orm/blob/2.8.x/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
vs
https://github.com/neos/flow-development-collection/blob/master/Neos.Flow/Classes/Persistence/Doctr…
albe updated
11 months ago
-
It seems that there is a bug in including "internal" documentation from other files.
If I want to take following (working correctly) documentation:
```
/**
* @Route("/{id}", methods={"G…
-
Recreated here - https://psalm.dev/r/de6890e50b
If a templated parent class has a function with an assertion for type `T` (in this case `@psalm-assert T $value`), the child class type isn't used fo…
-
For example, the following does have any effect as seen by the command callback not getting right value in $options.
```
command:
image-flush:
options:
all: true
```
-
This works ok: https://psalm.dev/r/7855aed71f
But if the constructor parameters are reversed, then it's not ok anymore: https://psalm.dev/r/d5cb90384d
I expect in both scenarios to not have issues…
dsech updated
2 years ago