Allow screenshots to be loaded from a folder #36
Annotations
10 errors
PHPStan:
src/Command/GenerateManifestCommand.php#L36
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::__construct() has parameter $config with no value type specified in iterable type array.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L36
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::__construct() has parameter $dest with no value type specified in iterable type array.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L103
Parameter #1 $mimeType of method Symfony\Component\Mime\MimeTypes::getExtensions() expects string, string|null given.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L105
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L116
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::storeFile() should return array{src: string, type: string} but returns array{src: non-falsy-string, type: string|null}.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L128
Cannot call method process() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L131
Cannot call method getSizes() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L146
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}.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L151
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::handleSizeAndPurpose() has parameter $fileData with no value type specified in iterable type array.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L151
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::handleSizeAndPurpose() return type has no value type specified in iterable type array.
|
The logs for this run have expired and are no longer available.
Loading