<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69">
  <file src="src/Handler/NotFoundHandler.php">
    <MixedInferredReturnType occurrences="1">
      <code>ResponseInterface</code>
    </MixedInferredReturnType>
    <MixedMethodCall occurrences="1">
      <code>withStatus</code>
    </MixedMethodCall>
    <MixedReturnStatement occurrences="1">
      <code>$responseFactory()</code>
    </MixedReturnStatement>
  </file>
  <file src="src/Middleware/DoublePassMiddlewareDecorator.php">
    <MissingClosureParamType occurrences="2">
      <code>$request</code>
      <code>$response</code>
    </MissingClosureParamType>
    <MixedArgument occurrences="1">
      <code>$request</code>
    </MixedArgument>
    <UnusedClosureParam occurrences="1">
      <code>$response</code>
    </UnusedClosureParam>
  </file>
  <file src="src/Middleware/ErrorHandler.php">
    <MixedArgument occurrences="1">
      <code>$response</code>
    </MixedArgument>
    <MixedArgumentTypeCoercion occurrences="1">
      <code>$this-&gt;createErrorHandler()</code>
    </MixedArgumentTypeCoercion>
    <MixedAssignment occurrences="1">
      <code>$response</code>
    </MixedAssignment>
    <MixedInferredReturnType occurrences="1">
      <code>ResponseInterface</code>
    </MixedInferredReturnType>
    <MixedReturnStatement occurrences="1">
      <code>$responseFactory()</code>
    </MixedReturnStatement>
  </file>
  <file src="src/Next.php">
    <MixedAssignment occurrences="1">
      <code>$middleware</code>
    </MixedAssignment>
    <MixedInferredReturnType occurrences="1">
      <code>ResponseInterface</code>
    </MixedInferredReturnType>
    <MixedMethodCall occurrences="1">
      <code>process</code>
    </MixedMethodCall>
    <MixedReturnStatement occurrences="1">
      <code>$middleware-&gt;process($request, $next)</code>
    </MixedReturnStatement>
  </file>
  <file src="src/functions/double-pass-middleware.legacy.php">
    <MixedArgument occurrences="1">
      <code>func_get_args()</code>
    </MixedArgument>
  </file>
  <file src="src/functions/host.legacy.php">
    <MixedArgument occurrences="1">
      <code>func_get_args()</code>
    </MixedArgument>
  </file>
  <file src="src/functions/middleware.legacy.php">
    <MixedArgument occurrences="1">
      <code>func_get_args()</code>
    </MixedArgument>
  </file>
  <file src="src/functions/path.legacy.php">
    <MixedArgument occurrences="1">
      <code>func_get_args()</code>
    </MixedArgument>
  </file>
  <file src="test/Exception/ExceptionTest.php">
    <InvalidLiteralArgument occurrences="1">
      <code>ExceptionInterface::class</code>
    </InvalidLiteralArgument>
    <MixedInferredReturnType occurrences="1">
      <code>Generator</code>
    </MixedInferredReturnType>
    <PossiblyFalseOperand occurrences="1">
      <code>strrpos(ExceptionInterface::class, '\\')</code>
    </PossiblyFalseOperand>
  </file>
  <file src="test/Middleware/CallableMiddlewareDecoratorTest.php">
    <MissingClosureParamType occurrences="2">
      <code>$handler</code>
      <code>$handler</code>
      <code>$handler</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
    </MissingClosureParamType>
    <UnusedClosureParam occurrences="2">
      <code>$handler</code>
      <code>$handler</code>
      <code>$handler</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
    </UnusedClosureParam>
  </file>
  <file src="test/Middleware/DoublePassMiddlewareDecoratorExceptionTest.php">
    <MissingClosureParamType occurrences="3">
      <code>$next</code>
      <code>$request</code>
      <code>$response</code>
    </MissingClosureParamType>
    <MissingClosureReturnType occurrences="1">
      <code>function ($request, $response, $next) {</code>
    </MissingClosureReturnType>
    <MixedArgument occurrences="1">
      <code>$autoloader</code>
    </MixedArgument>
    <MixedAssignment occurrences="1">
      <code>$autoloader</code>
    </MixedAssignment>
    <UnusedClosureParam occurrences="2">
      <code>$next</code>
      <code>$request</code>
    </UnusedClosureParam>
  </file>
  <file src="test/Middleware/DoublePassMiddlewareDecoratorTest.php">
    <MissingClosureParamType occurrences="12">
      <code>$next</code>
      <code>$next</code>
      <code>$next</code>
      <code>$next</code>
      <code>$next</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
      <code>$response</code>
      <code>$response</code>
      <code>$response</code>
      <code>$response</code>
      <code>$response</code>
    </MissingClosureParamType>
    <MissingClosureReturnType occurrences="2">
      <code>function ($request, $response, $next) {</code>
      <code>function ($request, $response, $next) {</code>
      <code>function ($request, $response, $next) {</code>
    </MissingClosureReturnType>
    <UnusedClosureParam occurrences="10">
      <code>$next</code>
      <code>$next</code>
      <code>$next</code>
      <code>$next</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
      <code>$request</code>
      <code>$response</code>
      <code>$response</code>
    </UnusedClosureParam>
  </file>
  <file src="test/Middleware/ErrorHandlerTest.php">
    <MixedArgument occurrences="1">
      <code>$listeners</code>
    </MixedArgument>
    <MixedAssignment occurrences="1">
      <code>$listeners</code>
    </MixedAssignment>
    <UnusedClosureParam occurrences="2">
      <code>$e</code>
      <code>$request</code>
    </UnusedClosureParam>
  </file>
  <file src="test/Middleware/HostMiddlewareDecoratorTest.php">
    <MixedInferredReturnType occurrences="1">
      <code>Generator</code>
    </MixedInferredReturnType>
  </file>
  <file src="test/Middleware/NotFoundHandlerTest.php">
    <DeprecatedClass occurrences="1">
      <code>new NotFoundHandler($responseFactory)</code>
    </DeprecatedClass>
  </file>
  <file src="test/Middleware/PathMiddlewareDecoratorIntegrationTest.php">
    <MissingClosureParamType occurrences="3">
      <code>$received</code>
      <code>$received</code>
      <code>$request</code>
      <code>$request</code>
    </MissingClosureParamType>
    <MixedAssignment occurrences="1">
      <code>$receivedUri</code>
    </MixedAssignment>
    <MixedMethodCall occurrences="4">
      <code>getPath</code>
      <code>getPath</code>
      <code>getPath</code>
      <code>getUri</code>
      <code>getUri</code>
      <code>getUri</code>
    </MixedMethodCall>
    <MixedOperand occurrences="1">
      <code>$path</code>
      <code>$path</code>
    </MixedOperand>
  </file>
  <file src="test/Middleware/PathMiddlewareDecoratorTest.php">
    <MissingClosureParamType occurrences="2">
      <code>$received</code>
      <code>$received</code>
    </MissingClosureParamType>
    <MixedMethodCall occurrences="2">
      <code>getPath</code>
      <code>getUri</code>
    </MixedMethodCall>
    <ParamNameMismatch occurrences="1">
      <code>$req</code>
    </ParamNameMismatch>
  </file>
  <file src="test/MiddlewarePipeTest.php">
    <ParamNameMismatch occurrences="2">
      <code>$req</code>
      <code>$req</code>
    </ParamNameMismatch>
  </file>
  <file src="test/NextTest.php">
    <MixedArgument occurrences="2">
      <code>$this-&gt;fallbackHandler</code>
      <code>$this-&gt;fallbackHandler</code>
    </MixedArgument>
    <ParamNameMismatch occurrences="2">
      <code>$req</code>
      <code>$req</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;fallbackHandler</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;fallbackHandler</code>
      <code>$this-&gt;fallbackHandler</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="test/TestAsset/DelegatingMiddleware.php">
    <ParamNameMismatch occurrences="1">
      <code>$req</code>
    </ParamNameMismatch>
  </file>
  <file src="test/TestAsset/ShortCircuitingMiddleware.php">
    <ParamNameMismatch occurrences="1">
      <code>$req</code>
    </ParamNameMismatch>
  </file>
</files>
