CI #1265
Annotations
3 warnings
|
PHP 8.3:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "Coalesce":
@@ @@
throw new \LogicException(\sprintf('Invalid or not supported hash algorithm: "%s"', $hashAlgorithm));
}
$this->hashAlgorithm = $hashAlgorithm;
- $this->mimetypes = $mimetypes ?? require __DIR__ . '/mimetypes.php';
+ $this->mimetypes = (require __DIR__ . '/mimetypes.php') ?? $mimetypes;
}
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
|
|
PHP 8.4:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "Coalesce":
@@ @@
throw new \LogicException(\sprintf('Invalid or not supported hash algorithm: "%s"', $hashAlgorithm));
}
$this->hashAlgorithm = $hashAlgorithm;
- $this->mimetypes = $mimetypes ?? require __DIR__ . '/mimetypes.php';
+ $this->mimetypes = (require __DIR__ . '/mimetypes.php') ?? $mimetypes;
}
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
|
|
PHP 8.5:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "Coalesce":
@@ @@
throw new \LogicException(\sprintf('Invalid or not supported hash algorithm: "%s"', $hashAlgorithm));
}
$this->hashAlgorithm = $hashAlgorithm;
- $this->mimetypes = $mimetypes ?? require __DIR__ . '/mimetypes.php';
+ $this->mimetypes = (require __DIR__ . '/mimetypes.php') ?? $mimetypes;
}
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
|