diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 66f2bee9590..89513d70bb3 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + $comment_block->tags['variablesfrom'][0] @@ -642,8 +642,9 @@ - + new TEmpty() + new THtmlEscapedString() array_keys($template_type_map[$value])[0] diff --git a/src/Psalm/Type/Atomic/THtmlEscapedString.php b/src/Psalm/Type/Atomic/THtmlEscapedString.php index b6a77f56e38..da315ece4b8 100644 --- a/src/Psalm/Type/Atomic/THtmlEscapedString.php +++ b/src/Psalm/Type/Atomic/THtmlEscapedString.php @@ -4,6 +4,7 @@ /** * Special type, specifically for consumption by plugins. + * @deprecated going to be removed in Psalm 5. Use taints instead. */ class THtmlEscapedString extends TString {