-
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
-
Details in https://github.com/vimeo/psalm/issues/3436, but I'll repost reproducer here https://psalm.dev/r/be559962d4.
This should ideally not be an error, Psalm should retype such empty collectio…
-
I suggest creating some easy-to-acces _contributor's starting guide_ page (for contribution to less, not to the docs) or something. It should just contain a little description of the _source tree_. So…
-
**I create new project of StrapiJS 5**, which is in beta now: `npx create-strapi-app@beta learn-strapi-5 --quickstart`.
They have `package.json` with commands:
```
"scripts": {
"build": "st…
-
It seems that the PHPUnit test suite around WooCommerce core could use some love, particularly with regards to organization, naming, accidental v intentional test coverage, and fixture usage.
If it…
-
| Q | A
| ---------------- | -----
| Bug report? | yes
| Feature request? | no
| Library version | 1.7.0
```
~/folderA/folderB/projectA (master) ./vendor/bin/phpinsights
…
-
I try to type the following function of `phpoption/phpoption` library: https://psalm.dev/r/1d6b9238da
The problem is, in `Option::fromValue()` I want to specify that `V` template param is not `N`. …
-
Currently, the EEL TranslationHelper states in its methods:
`@return string Translated label or source label / ID key`
However, it will instead return `null` for messages not translated, because…
-
I wonder if Psalm should just fail with that duplicated param and get the other one correct?!
https://psalm.dev/r/2a4bdb7173
-
https://psalm.dev/r/33a0a9254b
^ This seems to be the minimal example of an issue I ran into today. It appears Psalm doesn't derive the typed Closure down to the subclass. Or like the type is erase…