Skip to content

Simplifies the SW build #40

Simplifies the SW build

Simplifies the SW build #40

Triggered via push December 30, 2023 15:23
Status Failure
Total duration 29s
Artifacts
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L36
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::__construct() has parameter $config with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L36
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::__construct() has parameter $dest with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L108
Parameter #1 $mimeType of method Symfony\Component\Mime\MimeTypes::getExtensions() expects string, string|null given.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L110
Construct empty() is not allowed. Use more strict comparison.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L121
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::storeFile() should return array{src: string, type: string} but returns array{src: non-falsy-string, type: string|null}.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L133
Cannot call method process() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L136
Cannot call method getSizes() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L151
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::storeScreenshot() should return array{src: string, type: string, sizes: string, form_factor: string|null} but returns array{sizes: non-falsy-string, form_factor?: string, src: string, type: string}.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L156
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::handleSizeAndPurpose() has parameter $fileData with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L156
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::handleSizeAndPurpose() return type has no value type specified in iterable type array.