CI #727
Annotations
9 warnings
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
{
|
PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.3:
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.3:
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
{
|