CI #669
Annotations
2 warnings
composer test:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "CastArray":
--- Original
+++ New
@@ @@
throw new \LogicException(sprintf('Invalid or not supported hash algorithm: "%s"', $hashAlgorithm));
}
$this->hashAlgorithm = $hashAlgorithm;
- $this->mimetypes = $mimetypes ?? (array) (require __DIR__ . '/mimetypes.php');
+ $this->mimetypes = $mimetypes ?? (require __DIR__ . '/mimetypes.php');
}
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
{
|
composer test:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
throw new \LogicException(sprintf('Invalid or not supported hash algorithm: "%s"', $hashAlgorithm));
}
$this->hashAlgorithm = $hashAlgorithm;
- $this->mimetypes = $mimetypes ?? (array) (require __DIR__ . '/mimetypes.php');
+ $this->mimetypes = (array) (require __DIR__ . '/mimetypes.php') ?? $mimetypes;
}
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
{
|
The logs for this run have expired and are no longer available.
Loading