CI #283
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 and 3 notices
|
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#L299
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.4):
src/Boot/BaseConfigurator.php#L298
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#L298
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#L298
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.4):
src/Boot/BaseConfigurator.php#L205
Escaped Mutant for Mutator "UnwrapArrayKeys":
@@ @@
$now = new DateTimeImmutable();
$parameters = DIHelpers::escape($this->staticParameters) + ['container' => ['compiledAtTimestamp' => (int) $now->format('U'), 'compiledAt' => $now->format(DATE_ATOM), 'className' => new Literal('static::class')]];
$compiler->addConfig(['parameters' => $parameters]);
- $compiler->setDynamicParameterNames(array_merge(array_keys($this->dynamicParameters), ['baseUrl']));
+ $compiler->setDynamicParameterNames(array_merge($this->dynamicParameters, ['baseUrl']));
$builder = $compiler->getContainerBuilder();
$builder->addExcludedClasses($this->autowireExcludedClasses);
$compiler->addExtension('extensions', new ExtensionsExtension());
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Boot/BaseConfigurator.php#L198
Escaped Mutant for Mutator "CastInt":
@@ @@
$compiler->loadConfig($configFile, $loader);
}
$now = new DateTimeImmutable();
- $parameters = DIHelpers::escape($this->staticParameters) + ['container' => ['compiledAtTimestamp' => (int) $now->format('U'), 'compiledAt' => $now->format(DATE_ATOM), 'className' => new Literal('static::class')]];
+ $parameters = DIHelpers::escape($this->staticParameters) + ['container' => ['compiledAtTimestamp' => $now->format('U'), 'compiledAt' => $now->format(DATE_ATOM), 'className' => new Literal('static::class')]];
$compiler->addConfig(['parameters' => $parameters]);
$compiler->setDynamicParameterNames(array_merge(array_keys($this->dynamicParameters), ['baseUrl']));
$builder = $compiler->getContainerBuilder();
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Boot/BaseConfigurator.php#L182
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
private function generateContainer(Compiler $compiler, array $configFiles): void
{
$loader = new Loader();
- $loader->setParameters($this->staticParameters);
+
foreach ($this->configAdapters as $extension => $adapter) {
$loader->addAdapter($extension, $adapter);
}
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Boot/BaseConfigurator.php#L122
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
if (!Dependencies::isPackageLoaded('tracy/tracy')) {
throw PackageRequired::forMethod(['tracy/tracy'], static::class, __FUNCTION__);
}
- @mkdir($this->staticParameters['logDir'], 0777, true);
+ @mkdir($this->staticParameters['logDir'], 512, true);
Debugger::$strictMode = true;
Debugger::enable($this->isDebugMode() ? Debugger::DEVELOPMENT : Debugger::PRODUCTION, $this->staticParameters['logDir']);
/** @infection-ignore-all */
|
|
Tests (windows-latest, 8.4, false)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
Tests (macos-latest, 8.4, false)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
Tests (macos-latest, 8.4, false)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
Logs - Mutations
Expired
|
2.19 KB |
sha256:563f4bc1c8e590e1b006849db33106fb61bbd9d85f1c32776da943a7e2c57c06
|
|