psalm-baseline.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="3.18.2@19aa905f7c3c7350569999a93c40ae91ae4e1626">
  3. <file src="src/Escaper.php">
  4. <MixedArgument occurrences="10">
  5. <code>$chr</code>
  6. <code>$chr</code>
  7. <code>$chr</code>
  8. <code>$chr</code>
  9. <code>$chr</code>
  10. <code>$chr</code>
  11. <code>$chr</code>
  12. <code>$chr</code>
  13. <code>$chr</code>
  14. <code>$chr</code>
  15. </MixedArgument>
  16. <MixedArgumentTypeCoercion occurrences="3">
  17. <code>$this-&gt;cssMatcher</code>
  18. <code>$this-&gt;htmlAttrMatcher</code>
  19. <code>$this-&gt;jsMatcher</code>
  20. </MixedArgumentTypeCoercion>
  21. <MixedAssignment occurrences="3">
  22. <code>$chr</code>
  23. <code>$chr</code>
  24. <code>$chr</code>
  25. </MixedAssignment>
  26. <MixedOperand occurrences="1">
  27. <code>static::$htmlNamedEntityMap[$ord]</code>
  28. </MixedOperand>
  29. <PossiblyInvalidArgument occurrences="1">
  30. <code>$from</code>
  31. </PossiblyInvalidArgument>
  32. </file>
  33. <file src="test/EscaperTest.php">
  34. <InvalidReturnStatement occurrences="5"/>
  35. <InvalidReturnType occurrences="5">
  36. <code>array&lt;string, array{0: string, 1: string}&gt;</code>
  37. <code>array&lt;string, array{0: string, 1: string}&gt;</code>
  38. <code>array&lt;string, array{0: string, 1: string}&gt;</code>
  39. <code>array&lt;string, array{0: string, 1: string}&gt;</code>
  40. <code>array&lt;string, array{0: string}&gt;</code>
  41. </InvalidReturnType>
  42. <MissingReturnType occurrences="9">
  43. <code>testCssEscapingReturnsStringIfContainsOnlyDigits</code>
  44. <code>testCssEscapingReturnsStringIfZeroLength</code>
  45. <code>testHtmlAttributeEscapingEscapesOwaspRecommendedRanges</code>
  46. <code>testJavascriptEscapingReturnsStringIfContainsOnlyDigits</code>
  47. <code>testJavascriptEscapingReturnsStringIfZeroLength</code>
  48. <code>testReturnsEncodingFromGetter</code>
  49. <code>testSettingEncodingToEmptyStringShouldThrowException</code>
  50. <code>testSettingEncodingToInvalidValueShouldThrowException</code>
  51. <code>testUnicodeCodepointConversionToUtf8</code>
  52. </MissingReturnType>
  53. </file>
  54. <file src="vendor/symfony/polyfill-mbstring/bootstrap80.php">
  55. <ParseError occurrences="1">
  56. <code>=</code>
  57. </ParseError>
  58. </file>
  59. </files>