Skip to content

Fix handling for CSS and JS attachments #450

Fix handling for CSS and JS attachments

Fix handling for CSS and JS attachments #450

Triggered via pull request December 20, 2023 14:18
Status Failure
Total duration 39s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
static: src/Asset/RetrofitLibraryDiscovery.php#L66
Offset 'requires_jquery' does not exist on array{css?: array<int|string, array{group?: int}>, js: non-empty-array}.
static: src/Render/RetrofitHtmlResponseAttachmentsProcessor.php#L141
Parameter #2 $attachments of method Retrofit\Drupal\Asset\RetrofitLibraryDiscovery::setRetrofitLibrary() expects array{css?: array<int|string, array{group?: int}>, js?: array}, array{}|array{css: array}|array{css?: array, requires_jquery: bool, js: array} given.
static
Process completed with exit code 1.
test
Process completed with exit code 2.
lint
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/
static
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/
test
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/