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 supported18 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- json_encode pure?
- Warn about unused results of unary/binary/conditional operands?
- Forbid write access to entire `$GLOBALS`
- Intersection types cannot contain unions
- array_walk_recursive changes variable type to incorrect
- Convert to non-empty-array{...} after empty check
- Psalm complaining about invalid docblock, while still correctly inferring it
- ParadoxicalCondition if array has previously used value in condition
- Variable defined in while condition incorrectly marked as PossiblyUndefinedGlobalVariable
- Logic operations not parsed correctly in combination with class_exists
- Docs
- PHP not yet supported