Skip to content

CI

CI #291

Triggered via schedule August 17, 2026 08:30
Status Failure
Total duration 2m 30s
Artifacts 1

ci.yaml

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

Annotations

8 errors and 22 warnings
Static analysis (ubuntu-latest, 8.4)
Process completed with exit code 2.
Static analysis (ubuntu-latest, 8.4): tests/Unit/Boot/BaseConfiguratorTest.php#L0
Ignored error pattern #^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$# (staticMethod.alreadyNarrowedType) in path /home/runner/work/nette-di/nette-di/tests/Unit/Boot/BaseConfiguratorTest.php was not matched in reported errors.
Static analysis (ubuntu-latest, 8.4): tests/Unit/Boot/BaseConfiguratorTest.php#L0
Ignored error pattern #^Call to function is_subclass_of\(\) with class\-string\<Nette\\DI\\Container\> and 'Nette\\\\DI\\\\Container' will always evaluate to true\.$# (function.alreadyNarrowedType) in path /home/runner/work/nette-di/nette-di/tests/Unit/Boot/BaseConfiguratorTest.php was not matched in reported errors.
Static analysis (ubuntu-latest, 8.4): tests/Doubles/TestResponse.php#L85
Return type (array<string, array<string>>) of method Tests\OriNette\DI\Doubles\TestResponse::getHeaders() should be compatible with return type (array<string, string>) of method Nette\Http\IResponse::getHeaders()
Static analysis (ubuntu-latest, 8.4): tests/Doubles/JsonAdapter.php#L17
Return type (array<mixed>) of method Tests\OriNette\DI\Doubles\JsonAdapter::load() should be covariant with return type (array<string, mixed>) of method Nette\DI\Config\Adapter::load()
Static analysis (ubuntu-latest, 8.4): src/Definitions/DefinitionsLoader.php#L64
Parameter #1 $type of method Nette\DI\ContainerBuilder::getByType() expects class-string, string given.
Static analysis (ubuntu-latest, 8.4): src/Boot/BaseConfigurator.php#L268
Parameter #1 $generator of method Nette\DI\ContainerLoader::load() expects callable(Nette\DI\Compiler): (string|null), Closure(Nette\DI\Compiler): void given.
Status check - CI
Process completed with exit code 1.
Coding standard (ubuntu-latest, 8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static analysis (ubuntu-latest, 8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 7.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.0, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.1, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.2, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.3, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test for mutants (ubuntu-latest, 8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test for mutants (ubuntu-latest, 8.4): src/Boot/BaseConfigurator.php#L318
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#L317
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#L317
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#L265
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $loader = new ContainerLoader($buildDir, $this->staticParameters['debugMode']); $configFiles = $this->loadConfigFiles(); $containerKey = $this->getContainerKey($configFiles); - $this->reloadContainerOnDemand($loader, $containerKey, $buildDir); + $containerClass = $loader->load(fn(Compiler $compiler) => $this->generateContainer($compiler, $configFiles), $containerKey); assert(is_subclass_of($containerClass, Container::class)); return $containerClass;
Test for mutants (ubuntu-latest, 8.4): src/Boot/BaseConfigurator.php#L223
Escaped Mutant for Mutator "UnwrapArrayMerge": @@ @@ $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(['baseUrl']); $builder = $compiler->getContainerBuilder(); $builder->addExcludedClasses($this->autowireExcludedClasses); $compiler->addExtension('extensions', new ExtensionsExtension());
Test for mutants (ubuntu-latest, 8.4): src/Boot/BaseConfigurator.php#L217
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#L201
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#L150
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } $loader = new RobotLoader(); $loader->setTempDirectory($this->staticParameters['buildDir'] . '/nette.robotLoader'); - $loader->setAutoRefresh($this->staticParameters['debugMode']); + return $loader; } /**
Test for mutants (ubuntu-latest, 8.4): src/Boot/BaseConfigurator.php#L124
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 */
Test for mutants (ubuntu-latest, 8.4): src/Boot/BaseConfigurator.php#L124
Escaped Mutant for Mutator "DecrementInteger": @@ @@ if (!Dependencies::isPackageLoaded('tracy/tracy')) { throw PackageRequired::forMethod(['tracy/tracy'], static::class, __FUNCTION__); } - @mkdir($this->staticParameters['logDir'], 0777, true); + @mkdir($this->staticParameters['logDir'], 510, true); Debugger::$strictMode = true; Debugger::enable($this->isDebugMode() ? Debugger::DEVELOPMENT : Debugger::PRODUCTION, $this->staticParameters['logDir']); /** @infection-ignore-all */
Tests (windows-latest, 8.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (macos-latest, 8.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
Logs - Mutations
2.5 KB
sha256:9112b2c55083a52b8ffdad757acf8b997a210770735da8e1cce2f03a89b4c5ff