CI #939
Annotations
7 warnings
PHP 8.4
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
PHP 8.3:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "CastArray":
@@ @@
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":
@@ @@
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":
@@ @@
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":
@@ @@
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.4:
src/StaticFileMiddleware.php#L37
Escaped Mutant for Mutator "CastArray":
@@ @@
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.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 ?? (array) require __DIR__ . '/mimetypes.php';
+ $this->mimetypes = (array) (require __DIR__ . '/mimetypes.php') ?? $mimetypes;
}
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
|