Skip to content

Update asset dependencies. #58

Update asset dependencies.

Update asset dependencies. #58

Re-run triggered February 28, 2024 10:12
Status Success
Total duration 48s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
mutation / PHP 8.1-ubuntu-latest: src/Asset/DateTimePickerAsset.php#L32
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $jsFiles = $environment === 'prod' ? 'js/tempus-dominus.min.js' : 'js/tempus-dominus.js'; $this->css = [$cssFiles]; $this->js = [$jsFiles]; - $this->publishOptions['only'] = [$cssFiles, "{$cssFiles}.map", $jsFiles, "{$jsFiles}.map"]; + $this->publishOptions['only'] = ["{$cssFiles}.map", $jsFiles, "{$jsFiles}.map"]; } }
mutation / PHP 8.1-ubuntu-latest: src/Asset/JQueryProviderAsset.php#L29
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $environment = defined('YII_ENV') ? YII_ENV : 'prod'; $jsFiles = $environment === 'prod' ? 'jQuery-provider.min.js' : 'jQuery-provider.js'; $this->js = [$jsFiles]; - $this->publishOptions['only'] = [$jsFiles]; + $this->publishOptions['only'] = []; } }