CI #272
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
4s
Annotations
10 warnings
|
Test for mutants (ubuntu-latest, 8.4):
src/Bridge/NetteHttp/CookieDebugSwitcher.php#L42
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
$value = bin2hex(random_bytes(128));
$this->storage->add($value);
- $this->response->setCookie(Environment::SidDebugCookie, $value, 2147483647);
+ $this->response->setCookie(Environment::SidDebugCookie, $value, 2147483648);
}
public function stopDebug(): void
{
|
|
Test for mutants (ubuntu-latest, 8.4):
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
{
|
|
Test for mutants (ubuntu-latest, 8.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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);
}
}
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
Logs - Mutations
Expired
|
1.57 KB |
sha256:de50c0c05ab763ef72fb6e3ffb91b9e901a89f4c1345c8eecabfee5830f8168f
|
|