Skip to content

php 8.4 and phpunit 11 #901

php 8.4 and phpunit 11

php 8.4 and phpunit 11 #901

Triggered via push December 7, 2024 14:48
Status Success
Total duration 1m 23s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
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.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 {
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
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 {