Files
Chamilo/vendor/laminas/laminas-escaper/psalm-baseline.xml
2025-08-14 22:41:49 +02:00

55 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.18.2@19aa905f7c3c7350569999a93c40ae91ae4e1626">
<file src="src/Escaper.php">
<MixedArgument occurrences="10">
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="3">
<code>$this-&gt;cssMatcher</code>
<code>$this-&gt;htmlAttrMatcher</code>
<code>$this-&gt;jsMatcher</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="3">
<code>$chr</code>
<code>$chr</code>
<code>$chr</code>
</MixedAssignment>
<MixedOperand occurrences="1">
<code>static::$htmlNamedEntityMap[$ord]</code>
</MixedOperand>
<PossiblyInvalidArgument occurrences="1">
<code>$from</code>
</PossiblyInvalidArgument>
</file>
<file src="test/EscaperTest.php">
<InvalidReturnStatement occurrences="5"/>
<InvalidReturnType occurrences="5">
<code>array&lt;string, array{0: string, 1: string}&gt;</code>
<code>array&lt;string, array{0: string, 1: string}&gt;</code>
<code>array&lt;string, array{0: string, 1: string}&gt;</code>
<code>array&lt;string, array{0: string, 1: string}&gt;</code>
<code>array&lt;string, array{0: string}&gt;</code>
</InvalidReturnType>
<MissingReturnType occurrences="9">
<code>testCssEscapingReturnsStringIfContainsOnlyDigits</code>
<code>testCssEscapingReturnsStringIfZeroLength</code>
<code>testHtmlAttributeEscapingEscapesOwaspRecommendedRanges</code>
<code>testJavascriptEscapingReturnsStringIfContainsOnlyDigits</code>
<code>testJavascriptEscapingReturnsStringIfZeroLength</code>
<code>testReturnsEncodingFromGetter</code>
<code>testSettingEncodingToEmptyStringShouldThrowException</code>
<code>testSettingEncodingToInvalidValueShouldThrowException</code>
<code>testUnicodeCodepointConversionToUtf8</code>
</MissingReturnType>
</file>
</files>