Skip to content

Dependency review improvements #258

Dependency review improvements

Dependency review improvements #258

Triggered via push December 29, 2024 02:11
Status Success
Total duration 19m 1s
Artifacts 1

ci.yaml

on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
7s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 7.4, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coding standard (ubuntu-latest, 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.0, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis (ubuntu-latest, 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.1, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.2, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.3, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for mutants (ubuntu-latest, 8.3): src/Boot/BaseConfigurator.php#L291
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": @@ @@ */ private function reloadContainerOnDemand(ContainerLoader $loader, array $containerKey, string $buildDir): void { - $this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), false) && is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file); + !$this->forceReloadContainer && class_exists($containerClass = $loader->getClassName($containerKey), false) && !is_file($file = "{$buildDir}/{$containerClass}.php") && !@Unlink($file); } }
Test for mutants (ubuntu-latest, 8.3): src/Boot/BaseConfigurator.php#L291
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ */ private function reloadContainerOnDemand(ContainerLoader $loader, array $containerKey, string $buildDir): void { - $this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), false) && is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file); + !($this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), false) && is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file)); } }
Test for mutants (ubuntu-latest, 8.3): src/Boot/BaseConfigurator.php#L291
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": @@ @@ */ private function reloadContainerOnDemand(ContainerLoader $loader, array $containerKey, string $buildDir): void { - $this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), false) && is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file); + $this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), false) && !is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file); } }
Test for mutants (ubuntu-latest, 8.3): src/Boot/BaseConfigurator.php#L292
Escaped Mutant for Mutator "FalseValue": @@ @@ */ private function reloadContainerOnDemand(ContainerLoader $loader, array $containerKey, string $buildDir): void { - $this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), false) && is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file); + $this->forceReloadContainer && !class_exists($containerClass = $loader->getClassName($containerKey), true) && is_file($file = "{$buildDir}/{$containerClass}.php") && @Unlink($file); } }
Test for mutants (ubuntu-latest, 8.3): src/Boot/Environment.php#L31
Escaped Mutant for Mutator "FalseValue": @@ @@ public static function isEnvDebug(string $variableName = 'ORISAI_DEBUG'): bool { $debug = $_SERVER[$variableName] ?? getenv($variableName); - return $debug !== false && (strtolower($debug) === 'true' || $debug === '1'); + return $debug !== true && (strtolower($debug) === 'true' || $debug === '1'); } /** * @param non-empty-string $variableName
Test for mutants (ubuntu-latest, 8.3): src/Boot/Extensions/ConstantsExtension.php#L32
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function loadConfiguration(): void { - parent::loadConfiguration(); + foreach ($this->config as $name => $value) { $this->initialization->addBody('define(?, ?);', [$name, $value]); } } }
Test for mutants (ubuntu-latest, 8.3): src/Boot/Extensions/PhpExtension.php#L28
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function loadConfiguration(): void { - parent::loadConfiguration(); + foreach ($this->config as $name => $value) { if (!function_exists('ini_set')) { throw new NotSupportedException('Required function ini_set() is disabled.');
Test for mutants (ubuntu-latest, 8.3): src/Bridge/NetteHttp/CookieDebugSwitcher.php#L35
Escaped Mutant for Mutator "DecrementInteger": @@ @@ } public function startDebug(): void { - $value = bin2hex(random_bytes(128)); + $value = bin2hex(random_bytes(127)); $this->storage->add($value); $this->response->setCookie(Environment::SidDebugCookie, $value, 2147483647); }
Test for mutants (ubuntu-latest, 8.3): src/Bridge/NetteHttp/CookieDebugSwitcher.php#L35
Escaped Mutant for Mutator "IncrementInteger": @@ @@ } public function startDebug(): void { - $value = bin2hex(random_bytes(128)); + $value = bin2hex(random_bytes(129)); $this->storage->add($value); $this->response->setCookie(Environment::SidDebugCookie, $value, 2147483647); }
Test for mutants (ubuntu-latest, 8.3): src/Bridge/NetteHttp/CookieDebugSwitcher.php#L42
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { $value = bin2hex(random_bytes(128)); $this->storage->add($value); - $this->response->setCookie(Environment::SidDebugCookie, $value, 2147483647); + $this->response->setCookie(Environment::SidDebugCookie, $value, 2147483646); } public function stopDebug(): void {
Status check - CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code coverage finish (ubuntu-latest, 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Logs - Mutations
1.59 KB