Repository navigation
feat(theme): offer to build parent themes for build and watch #314
phpunit.yml
on: pull_request
Matrix: phpunit
Mutation Tests (Infection)
5m 9s
Publish badge data
0s
Annotations
10 warnings and 3 notices
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L441
Escaped Mutant for Mutator "Ternary":
@@ @@
if (isset($this->secureEnvStorage[$var])) {
$this->cachedEnv[$var] = $this->secureEnvStorage[$var];
} else {
- $globalEnv = filter_input_array(INPUT_ENV) ?: [];
+ $globalEnv = filter_input_array(INPUT_ENV) ? [] : filter_input_array(INPUT_ENV);
if (array_key_exists($var, $globalEnv)) {
$this->cachedEnv[$var] = (string) $globalEnv[$var];
}
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L325
Escaped Mutant for Mutator "LogicalOr":
@@ @@
];
foreach ($nonInteractiveEnvs as $env) {
- if ($this->getEnvVar($env) || $this->getServerVar($env)) {
+ if ($this->getEnvVar($env) && $this->getServerVar($env)) {
return false;
}
}
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L324
Escaped Mutant for Mutator "Foreach_":
@@ @@
'TEAMCITY_VERSION',
];
- foreach ($nonInteractiveEnvs as $env) {
+ foreach ([] as $env) {
if ($this->getEnvVar($env) || $this->getServerVar($env)) {
return false;
}
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L316
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
// Check for CI environments
$nonInteractiveEnvs = [
- 'CI',
'GITHUB_ACTIONS',
'GITLAB_CI',
'JENKINS_URL',
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L307
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
{
// Check if output supports ANSI
if (!$output->isDecorated()) {
- return false;
+
}
// Check if STDIN is available (undefined outside the CLI SAPI)
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L245
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
return true;
}
- if (!$input->isInteractive() || !$this->isInteractiveTerminal($output)) {
+ if ($input->isInteractive() || $this->isInteractiveTerminal($output)) {
return false;
}
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L245
Escaped Mutant for Mutator "LogicalNot":
@@ @@
return true;
}
- if (!$input->isInteractive() || !$this->isInteractiveTerminal($output)) {
+ if ($input->isInteractive() || !$this->isInteractiveTerminal($output)) {
return false;
}
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L238
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
array $chains = [],
): bool {
if ($parents === [] || $input->getOption('no-parents')) {
- return false;
+
}
if ($input->getOption('with-parents')) {
|
|
Mutation Tests (Infection):
src/Console/Command/AbstractCommand.php#L237
Escaped Mutant for Mutator "LogicalOr":
@@ @@
array $parents,
array $chains = [],
): bool {
- if ($parents === [] || $input->getOption('no-parents')) {
+ if ($parents === [] && $input->getOption('no-parents')) {
return false;
}
|
|
Mutation Tests (Infection):
src/Block/Inspector.php#L36
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
private readonly DeveloperAccessChecker $developerAccessChecker,
array $data = [],
) {
- parent::__construct($context, $data);
+
}
/**
|
|
Unit Tests (PHP 8.4)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
Unit Tests (PHP 8.3)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
Mutation Tests (Infection)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report
|
951 KB |
sha256:dfbcf1dc4ac4150fd41b3e57407f4510183467469a1f302f0c9c5f33090a327f
|
|
|
mutation-report
|
649 KB |
sha256:179a82e3c47d0ab811280a289842fdb5a166c682daebc917d6e70368263ce7cf
|
|