Initial commit #4
Annotations
10 errors and 1 warning
PHPStan:
src/Command/GenerateManifestCommand.php#L33
Method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::__construct() has parameter $config with no value type specified in iterable type array.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L61
Parameter #1 $path of static method Symfony\Component\Filesystem\Path::canonicalize() expects string, mixed given.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L62
Cannot cast mixed to string.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L63
Cannot cast mixed to string.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L71
Parameter #2 $manifest of method SpomkyLabs\PwaBundle\Command\GenerateManifestCommand::processScreenshots() expects array, array|int<min, 0>|int<2, max> given.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L89
Call to an undefined method JsonException::getPath().
|
PHPStan:
src/Command/GenerateManifestCommand.php#L119
Parameter #1 $mimeType of method Symfony\Component\Mime\MimeTypes::getExtensions() expects string, string|null given.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L121
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan:
src/Command/GenerateManifestCommand.php#L132
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#L150
Cannot call method process() on SpomkyLabs\PwaBundle\ImageProcessor\ImageProcessor|null.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading