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
- Fix abstract __construct must be consistent constructor, since this is a runtime time fatal error
- MethodSignatureMismatch suggests docblock-like type instead of native type hint type
- False positive MethodSignatureMismatch errors if parent class is stubbed
- #[ReturnTypeWillChange] does not report an error when used on non-built ins and also causes MethodSignatureMismatch to not report on built-ins
- If param has type hint but parent param does not, it results in a fatal error but psalm does not report an error for it
- Error message for no return type hint is misleading, since it shows empty string instead of mixed
- Fix missing and inconsistent reporting of type hint issues and messages
- Recent change now incorrectly requires @psalm-pure on all abstract methods and interfaces
- Wrong exit code 11 ('No errors found') on projects with large vendor autoload (caused by an issue from php-src)
- Backport PDO::sqliteCreateFunction()'s 4th parameter to PHP versions starting from 7.1
- Docs
- PHP not yet supported