psalm
https://github.com/vimeo/psalm
PHP
A static analysis tool for finding errors in PHP applications
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
PHP not yet supported16 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- Fatal error since PHP 8.3.9+
- Overlooks UndefinedPropertyFetch in untyped inline function
- False positive UnusedMethodCall for ReflectionProperty::setAccessible
- False MixedArgument error when using php isset
- [Bug] Psalm thinks that `DateTimeImmutable::modify()` can return `false`, if the passed argument contains a function call
- Psalm don't keep callable type in union types after condition
- [New Feature] Extend ArrayShape with ArrayShape
- Psalm fails to interfere type with annotations
- Psalm treat an array as `array<array-key, mixed>` if it does not know the key type
- PSALM doesn't check if variable is used in finally block, if try block has return in it.
- Docs
- PHP not yet supported