Implement attribute-based preload URL generation #282
Annotations
10 errors
PHPStan:
src/CachingStrategy/PreloadUrlsTagGenerator.php#L14
Method SpomkyLabs\PwaBundle\CachingStrategy\PreloadUrlsTagGenerator::__construct() has parameter $urls with no value type specified in iterable type array.
|
PHPStan:
src/CachingStrategy/PreloadUrlsTagGenerator.php#L14
PHPDoc tag @param for parameter $urls with type iterable<SpomkyLabs\PwaBundle\Dto\Url> is not subtype of native type array.
|
PHPStan:
src/CachingStrategy/PreloadUrlsTagGenerator.php#L16
PHPDoc type for property SpomkyLabs\PwaBundle\CachingStrategy\PreloadUrlsTagGenerator::$urls with type iterable<SpomkyLabs\PwaBundle\Dto\Url> is not subtype of native type array.
|
PHPStan:
src/CachingStrategy/PreloadUrlsTagGenerator.php#L20
Method SpomkyLabs\PwaBundle\CachingStrategy\PreloadUrlsTagGenerator::create() has parameter $urls with no value type specified in iterable type iterable.
|
PHPStan:
src/CachingStrategy/PreloadUrlsTagGenerator.php#L22
Parameter #2 $urls of class SpomkyLabs\PwaBundle\CachingStrategy\PreloadUrlsTagGenerator constructor expects array, iterable given.
|
PHPStan:
src/CachingStrategy/ResourceCaches.php#L1
Ignored error pattern #^Method SpomkyLabs\\PwaBundle\\CachingStrategy\\ResourceCaches\:\:prepareMatchCallback\(\) is unused\.$# in path /home/runner/work/pwa-bundle/pwa-bundle/src/CachingStrategy/ResourceCaches.php was not matched in reported errors.
|
PHPStan:
src/CachingStrategy/ResourceCaches.php#L1
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# in path /home/runner/work/pwa-bundle/pwa-bundle/src/CachingStrategy/ResourceCaches.php was not matched in reported errors.
|
PHPStan:
src/CachingStrategy/ResourceCaches.php#L88
Parameter #1 $value of function count expects array|Countable, mixed given.
|
PHPStan:
src/CachingStrategy/ResourceCaches.php#L89
Only iterables can be unpacked, mixed given in argument #1.
|
PHPStan:
src/CachingStrategy/ResourceCaches.php#L89
Parameter #1 $preloadUrl of method SpomkyLabs\PwaBundle\CachingStrategy\WorkboxCacheStrategy::withPreloadUrl() expects string, mixed given.
|
Loading