1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Deprecate THtmlEscapedString

Refs vimeo/psalm#7281
This commit is contained in:
Bruce Weirdan 2022-01-03 21:58:23 +02:00
parent 36c7fece2f
commit bb2fa7905d
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="dev-master@1c078136273a669d52d234251ddbae4cd0507d38">
<files psalm-version="dev-master">
<file src="examples/TemplateChecker.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$comment_block-&gt;tags['variablesfrom'][0]</code>
@ -642,8 +642,9 @@
</DeprecatedClass>
</file>
<file src="src/Psalm/Type/Atomic.php">
<DeprecatedClass occurrences="1">
<DeprecatedClass occurrences="2">
<code>new TEmpty()</code>
<code>new THtmlEscapedString()</code>
</DeprecatedClass>
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>array_keys($template_type_map[$value])[0]</code>

View File

@ -4,6 +4,7 @@ namespace Psalm\Type\Atomic;
/**
* Special type, specifically for consumption by plugins.
* @deprecated going to be removed in Psalm 5. Use taints instead.
*/
class THtmlEscapedString extends TString
{