-
Some functions can't be analyzed by `psalm` normally because they return union types
examples are
`
'preg_replace',
'preg_replace_callback',
`
what you can do add ann…
-
https://psalm.dev/articles/immutability-and-beyond#purity
-
Psalm has a list of templated functions here:
https://github.com/vimeo/psalm/blob/master/src/Psalm/Internal/Stubs/CoreGenericFunctions.php
The big benefit of those is that they allow static anal…
-
We're currently leveraging https://github.com/psalm/psalm-plugin-symfony along with this action. However, since composer packages are not being installed, the container is never being created resultin…
-
Is it expected that these are reported as INFO? Or should they not appear in psalm errors at all.
I am running Symfony 6.1.6, psalm 4.30.0 and weirdan/doctrine-psalm-plugin 2.5.0
```
INFO: Mi…
-
### The problem
Some of the files which are listed in ./data/deleted.files are (still?) present in the source code:
- vendor/paragonie/random_compat/composer.json
- vendor/paragonie/random_comp…
-
I'm using psalm-language-server with neovim's lsp integration which works great as long as I'm not launching multiple neovim instances for the same project root. If I do launch multiple instances, the…
-
Users of this library currently can't install PHPUnit v11 because of this dependency, upgrading it to the next version would allow PHPUnit v11 installation.
-
Add psalm annotations
- [ ] Fix all issues found by psalm
- [x] Increase type specificity
- [x] Add `@psalm-pure`
- [x] Add `@psalm-assert`
- [ ] Add proper support for more complex cases li…
-
### Mockery Version
1.6.12
### PHP Version
PHP 8.3
### Issue Description
After updating to mockery 1.6.12 today, both my IDE (phpstorm 2024.1.1) and psalm (5.24.0) started complaining a…