1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-20 20:58:41 +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
2021-01-31 11:32:24 -05:00
..
2020-12-29 11:42:41 +00:00
2020-12-29 11:42:41 +00:00
2021-01-06 09:05:53 -05:00