mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Barney Laurance
0cd5442c47
Enforce property type invariance (#5131)
* Implement NonInvariantChildProperty detection See https://github.com/vimeo/psalm/issues/4184 * Delete test cases with 'parentSetsWiderTypeInConstructor' As I understand it these are not valid test cases. They emit NonInvariantPropertyType issues which seems correct - the property type variation is I think a latent bug in the sample code. * Reduce shortcode for NonInvariantPropertyType to 1+max used shortcode on master
…
…
…
Psalm
Psalm is a static analysis tool for finding errors in PHP applications.
Installation
To get started, check out the installation guide.
Live Demo
You can play around with Psalm on its website.
Documentation
Documentation is available on Psalm’s website, generated from the docs folder.
Interested in contributing?
Have a look at CONTRIBUTING.md.
Who made this
Built by Matt Brown (@muglug).
Maintained by Matt and Bruce Weirdan (@weirdan).
The engineering team at Vimeo have provided a lot encouragement, especially @nbeliard, @erunion and @nickyr.
Languages
PHP
100%