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 supported14 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- Redundant range checks for typed ints
- Fix mysqli fetch call map for associative arrays
- Disabling the "Detect unused variable" option imply a wrong understanding of some types
- variable keys of known value are not used properly with sealed arrays
- Isset check is breaking the array-shape definition
- in_array check is breaking the array shape definition
- array_key_exists with a union key wrongly assumes all parts of the union are keys in array
- PHP Fatal error: Uncaught Error: Cannot add element to the array as the next element is already occupied
- Type changed of class string template when checked
- Union array shapes get normalised to optional keys even when shapes are sealed
- Docs
- PHP not yet supported