Skip to content

Apply fixes from StyleCI #16

Apply fixes from StyleCI

Apply fixes from StyleCI #16

Triggered via push November 20, 2023 17:58
Status Success
Total duration 3m 35s
Artifacts

mutation.yml

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

Annotations

2 warnings
mutation / PHP 8.1-ubuntu-latest: src/RegisterClientScript.php#L21
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ public array $clientOptions = []; public string $loadUrl = ''; public string $queryParam = 'query'; - public function registerClientScript() : void + protected function registerClientScript() : void { $id = $this->options['id']; if ($this->loadUrl !== '') {
mutation / PHP 8.1-ubuntu-latest: src/RegisterClientScript.php#L35
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } $options = Json::encode($this->clientOptions); $view = $this->getView(); - SelectizeAsset::register($view); + $view->registerJs("jQuery('#{$id}').selectize({$options});"); } }