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 supported17 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- PossiblyUndefinedArrayOffset on $list[0] after a possibly empty loop is only reported when both if/else branches append
- Taint: don't share the by-reference out node of an inferred-pure callee across its calls
- fix(assertions): trait_exists() with a false autoload argument asserts a trait-string
- False PossiblyUndefinedVariable: parameter rebound by reference, elseif assignment in a loop, reference reassigned before break
- Drop the clauses about a variable once it is reassigned
- Analyze every declaration of a class declared more than once, each with its own storage
- psalm --diff and --no-diff are accepted but do nothing
- A nonexistent -r/--root path is shown with the current directory prefixed
- psalm-refactor rejects --memory-limit
- psalm-refactor crashes with an uncaught RefactorException on an empty --into=
- Docs
- PHP not yet supported