Merge pull request #19421 from kamil-tekiela/is_setup #1222
Annotations
1 error and 7 warnings
Run Infection for changed files only
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Infection for changed files only:
src/Config/FormDisplay.php#L749
Escaped Mutant for Mutator "Ternary":
--- Original
+++ New
@@ @@
$this->userprefsKeys = array_flip(UserFormList::getFields());
// read real config for user preferences display
$config = Config::getInstance();
- $userPrefsDisallow = $config->isSetup() ? $this->configFile->get('UserprefsDisallow', []) : $config->settings['UserprefsDisallow'];
+ $userPrefsDisallow = $config->isSetup() ? $config->settings['UserprefsDisallow'] : $this->configFile->get('UserprefsDisallow', []);
$this->userprefsDisallow = array_flip($userPrefsDisallow ?? []);
}
/**
|
Run Infection for changed files only:
src/Config/FormDisplayTemplate.php#L107
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if ($headerText === '') {
return '';
}
- $colspan = $this->config->isSetup() ? 3 : 2;
+ $colspan = $this->config->isSetup() ? 2 : 2;
return $this->template->render('config/form_display/group_header', ['group' => $this->group, 'colspan' => $colspan, 'header_text' => $headerText]);
}
/**
|
Run Infection for changed files only:
src/Config/FormDisplayTemplate.php#L107
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if ($headerText === '') {
return '';
}
- $colspan = $this->config->isSetup() ? 3 : 2;
+ $colspan = $this->config->isSetup() ? 4 : 2;
return $this->template->render('config/form_display/group_header', ['group' => $this->group, 'colspan' => $colspan, 'header_text' => $headerText]);
}
/**
|
Run Infection for changed files only:
src/Config/FormDisplayTemplate.php#L107
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if ($headerText === '') {
return '';
}
- $colspan = $this->config->isSetup() ? 3 : 2;
+ $colspan = $this->config->isSetup() ? 3 : 1;
return $this->template->render('config/form_display/group_header', ['group' => $this->group, 'colspan' => $colspan, 'header_text' => $headerText]);
}
/**
|
Run Infection for changed files only:
src/Config/FormDisplayTemplate.php#L107
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if ($headerText === '') {
return '';
}
- $colspan = $this->config->isSetup() ? 3 : 2;
+ $colspan = $this->config->isSetup() ? 3 : 3;
return $this->template->render('config/form_display/group_header', ['group' => $this->group, 'colspan' => $colspan, 'header_text' => $headerText]);
}
/**
|
Run Infection for changed files only:
src/Config/FormDisplayTemplate.php#L107
Escaped Mutant for Mutator "Ternary":
--- Original
+++ New
@@ @@
if ($headerText === '') {
return '';
}
- $colspan = $this->config->isSetup() ? 3 : 2;
+ $colspan = $this->config->isSetup() ? 2 : 3;
return $this->template->render('config/form_display/group_header', ['group' => $this->group, 'colspan' => $colspan, 'header_text' => $headerText]);
}
/**
|
Loading