psalm.baseline.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="3.11.5@3c60609c218d4d4b3b257728b8089094e5c6c6c2">
  3. <file src="src/Client.php">
  4. <NullArgument occurrences="1">
  5. <code>null</code>
  6. </NullArgument>
  7. <PossiblyUndefinedVariable occurrences="1">
  8. <code>$options</code>
  9. </PossiblyUndefinedVariable>
  10. <UndefinedInterfaceMethod occurrences="1">
  11. <code>getBoundary</code>
  12. </UndefinedInterfaceMethod>
  13. </file>
  14. <file src="src/Cookie/CookieJar.php">
  15. <PossiblyFalseOperand occurrences="1">
  16. <code>$result</code>
  17. </PossiblyFalseOperand>
  18. </file>
  19. <file src="src/Exception/RequestException.php">
  20. <ImplicitToStringCast occurrences="1">
  21. <code>$uri</code>
  22. </ImplicitToStringCast>
  23. </file>
  24. <file src="src/Handler/CurlFactory.php">
  25. <ImplicitToStringCast occurrences="1">
  26. <code>$easy-&gt;request-&gt;getUri()</code>
  27. </ImplicitToStringCast>
  28. <TypeDoesNotContainType occurrences="1">
  29. <code>$timeoutRequiresNoSignal &amp;&amp; \strtoupper(\substr(\PHP_OS, 0, 3)) !== 'WIN'</code>
  30. </TypeDoesNotContainType>
  31. </file>
  32. <file src="src/Handler/CurlMultiHandler.php">
  33. <InvalidArgument occurrences="1">
  34. <code>$this-&gt;active</code>
  35. </InvalidArgument>
  36. <InvalidPropertyAssignmentValue occurrences="1">
  37. <code>$this-&gt;active</code>
  38. </InvalidPropertyAssignmentValue>
  39. <UndefinedThisPropertyAssignment occurrences="1">
  40. <code>$this-&gt;_mh</code>
  41. </UndefinedThisPropertyAssignment>
  42. </file>
  43. <file src="src/Handler/MockHandler.php">
  44. <InvalidScalarArgument occurrences="1">
  45. <code>$options['delay'] * 1000</code>
  46. </InvalidScalarArgument>
  47. </file>
  48. <file src="src/Handler/StreamHandler.php">
  49. <ImplicitToStringCast occurrences="1">
  50. <code>$uri</code>
  51. </ImplicitToStringCast>
  52. </file>
  53. <file src="src/HandlerStack.php">
  54. <PropertyTypeCoercion occurrences="4">
  55. <code>$this-&gt;stack</code>
  56. <code>$this-&gt;stack</code>
  57. <code>$this-&gt;stack</code>
  58. <code>$this-&gt;stack</code>
  59. </PropertyTypeCoercion>
  60. </file>
  61. <file src="src/MessageFormatter.php">
  62. <InvalidScalarArgument occurrences="1"/>
  63. </file>
  64. <file src="src/Middleware.php">
  65. <InvalidArgument occurrences="1">
  66. <code>$request</code>
  67. </InvalidArgument>
  68. </file>
  69. <file src="src/RedirectMiddleware.php">
  70. <ImplicitToStringCast occurrences="1">
  71. <code>$location</code>
  72. </ImplicitToStringCast>
  73. </file>
  74. <file src="src/RetryMiddleware.php">
  75. <TooManyArguments occurrences="1">
  76. <code>($this-&gt;delay)(++$options['retries'], $response)</code>
  77. </TooManyArguments>
  78. </file>
  79. <file src="src/Utils.php">
  80. <ForbiddenCode occurrences="1">
  81. <code>\var_dump($input)</code>
  82. </ForbiddenCode>
  83. <PossiblyNullArgument occurrences="1">
  84. <code>$info</code>
  85. </PossiblyNullArgument>
  86. </file>
  87. </files>