Skip to content

Add tearDown method and asserts to CommandTest #29

Add tearDown method and asserts to CommandTest

Add tearDown method and asserts to CommandTest #29

Triggered via push December 17, 2023 17:25
Status Failure
Total duration 23s
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#L70
Parameter #1 $path of static method Symfony\Component\Filesystem\Path::canonicalize() expects string, mixed given.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L82
Parameter #2 $manifest of method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::processScreenshots() expects array, array|int<min, 0>|int<2, max> given.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L123
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#L125
Construct empty() is not allowed. Use more strict comparison.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L136
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#L154
Cannot call method process() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.
PHP 8.2 Test on ubuntu-latest: src/Command/GenerateManifestCommand.php#L157
Cannot call method getSizes() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.