CI #668
Annotations
1 error and 4 warnings
PHP 8.0
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires chubbyphp/chubbyphp-dev-helper dev-master -> satisfiable by chubbyphp/chubbyphp-dev-helper[dev-master].
- chubbyphp/chubbyphp-dev-helper dev-master requires php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
|
PHP 8.1:
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
{
|
PHP 8.1:
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
{
|
PHP 8.2:
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
{
|
PHP 8.2:
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
{
|