Allow multiple page cache #230
Annotations
10 errors
PHP 8.3 Test on ubuntu-latest:
src/Dto/PageCache.php#L12
Class SpomkyLabs\PwaBundle\Dto\PageCache has an uninitialized property $cacheName. Give it default value or assign it in the constructor.
|
PHP 8.3 Test on ubuntu-latest:
src/Dto/PageCache.php#L15
Class SpomkyLabs\PwaBundle\Dto\PageCache has an uninitialized property $regex. Give it default value or assign it in the constructor.
|
PHP 8.3 Test on ubuntu-latest:
src/Dto/Workbox.php#L1
Ignored error pattern #^Class SpomkyLabs\\PwaBundle\\Dto\\Workbox has an uninitialized property \$pageCache\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/pwa-bundle/pwa-bundle/src/Dto/Workbox.php was not matched in reported errors.
|
PHP 8.3 Test on ubuntu-latest:
src/Dto/Workbox.php#L34
Class SpomkyLabs\PwaBundle\Dto\Workbox has an uninitialized property $pageCaches. Give it default value or assign it in the constructor.
|
PHP 8.3 Test on ubuntu-latest:
src/Resources/config/definition/service_worker.php#L1
Ignored error pattern #^Cannot access offset 'page_cache' on mixed\.$# in path /home/runner/work/pwa-bundle/pwa-bundle/src/Resources/config/definition/service_worker.php was not matched in reported errors.
|
PHP 8.3 Test on ubuntu-latest:
src/Resources/config/definition/service_worker.php#L100
Cannot access offset 'page_caches' on mixed.
|
PHP 8.3 Test on ubuntu-latest:
src/Resources/config/definition/service_worker.php#L103
Cannot access offset 'page_caches' on mixed.
|
PHP 8.3 Test on ubuntu-latest:
src/Service/Rule/GoogleFontCache.php#L81
Parameter #6 $options of static method SpomkyLabs\PwaBundle\Service\CacheStrategy::create() expects array{maxTimeout?: int, maxAge?: int, maxEntries?: int, warmUrls?: array<string>, plugins?: array<string>}, array{maxAge: int|null, maxEntries: int|null} given.
|
PHP 8.3 Test on ubuntu-latest:
src/Service/Rule/PageCaches.php#L83
Parameter #6 $options of static method SpomkyLabs\PwaBundle\Service\CacheStrategy::create() expects array{maxTimeout?: int, maxAge?: int, maxEntries?: int, warmUrls?: array<string>, plugins?: array<string>}, array{maxTimeout: int, plugins: array{0: 'CacheableResponsePl…', 1?: 'BroadcastUpdatePlug…'}, warmUrls: mixed} given.
|
PHP 8.3 Test on ubuntu-latest
Ignored error pattern #^Parameter \#6 \$options of static method SpomkyLabs\\PwaBundle\\Service\\CacheStrategy\:\:create\(\) expects array\{maxTimeout\?\: int, maxAge\?\: int, maxEntries\?\: int, warmUrls\?\: array\<string\>, plugins\?\: array\<string\>\}, array\{maxTimeout\: int, plugins\: array\{0\: 'CacheableResponsePl…', 1\?\: 'BroadcastUpdatePlug…'\}, warmUrls\: mixed\} given\.$# in path /home/runner/work/pwa-bundle/pwa-bundle/src/Service/Rule/PageCache.php was not matched in reported errors.
|