1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests/TypeReconciliation
Bruce Weirdan cd002e6a87
Do not consider isset checks on static properties as redundant (#5525)
* Do not consider isset checks on static properties as redundant

Unlike normal properties, static properties do not have a prescribed
initialization sequence, so they can always be uninitialized (or unset).
Thus `isset()` checks on them are never redundant.

Fixes vimeo/psalm#5489

* Fix issue with nullable is_static
2021-03-30 11:56:08 -04:00
..
ArrayKeyExistsTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AssignmentInConditionalTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ConditionalTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
EmptyTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
IssetTest.php Do not consider isset checks on static properties as redundant (#5525) 2021-03-30 11:56:08 -04:00
ReconcilerTest.php Fix #5236 - improve reconciliation of interfaces when unioned with class 2021-02-24 00:05:12 -05:00
RedundantConditionTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ScopeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeAlgebraTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ValueTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00