Skip to content
Triggered via schedule January 6, 2025 08:14
Status Success
Total duration 2m 3s
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
1s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Coding standard (ubuntu-latest, 8.4)
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
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
Static analysis (ubuntu-latest, 8.4)
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
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.4, 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.3, false)
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.4)
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.4): src/Auth/DI/HttpAuthExtension.php#L25
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { public function getConfigSchema(): Schema { - return Expect::structure(['enabled' => Expect::bool(false), 'realm' => Expect::anyOf(Expect::string(), Expect::null())->default(false), 'errorResponses' => Expect::anyOf(Expect::listOf(Expect::string())->min(1), Expect::null()), 'users' => Expect::arrayOf(Expect::string(), Expect::string()), 'exclude' => Expect::structure(['paths' => Expect::listOf(Expect::string())])]); + return Expect::structure(['enabled' => Expect::bool(false), 'realm' => Expect::anyOf(Expect::string(), Expect::null())->default(false), 'errorResponses' => Expect::anyOf(Expect::listOf(Expect::string())->min(0), Expect::null()), 'users' => Expect::arrayOf(Expect::string(), Expect::string()), 'exclude' => Expect::structure(['paths' => Expect::listOf(Expect::string())])]); } public function loadConfiguration(): void {
Test for mutants (ubuntu-latest, 8.4): src/Auth/DI/HttpAuthExtension.php#L25
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { public function getConfigSchema(): Schema { - return Expect::structure(['enabled' => Expect::bool(false), 'realm' => Expect::anyOf(Expect::string(), Expect::null())->default(false), 'errorResponses' => Expect::anyOf(Expect::listOf(Expect::string())->min(1), Expect::null()), 'users' => Expect::arrayOf(Expect::string(), Expect::string()), 'exclude' => Expect::structure(['paths' => Expect::listOf(Expect::string())])]); + return Expect::structure(['enabled' => Expect::bool(false), 'realm' => Expect::anyOf(Expect::string(), Expect::null())->default(false), 'errorResponses' => Expect::anyOf(Expect::listOf(Expect::string())->min(2), Expect::null()), 'users' => Expect::arrayOf(Expect::string(), Expect::string()), 'exclude' => Expect::structure(['paths' => Expect::listOf(Expect::string())])]); } public function loadConfiguration(): void {
Test for mutants (ubuntu-latest, 8.4): src/Auth/DI/HttpAuthExtension.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function loadConfiguration(): void { - parent::loadConfiguration(); + $builder = $this->getContainerBuilder(); $config = $this->config; if (!$config->enabled) {
Test for mutants (ubuntu-latest, 8.4): src/Auth/DI/HttpAuthExtension.php#L73
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function beforeCompile(): void { - parent::beforeCompile(); + $builder = $this->getContainerBuilder(); $config = $this->config; if (!$config->enabled) {
Test for mutants (ubuntu-latest, 8.4): src/Auth/DI/HttpAuthExtension.php#L85
Escaped Mutant for Mutator "TrueValue": @@ @@ return; } $initialize = $this->getInitialization(); - $initialize->addBody('$this->getService(?)->authenticate($this->getService(?), $this->getService(?));', [$this->prefix('authenticator'), $builder->getByType(IRequest::class, true), $builder->getByType(IResponse::class, true)]); + $initialize->addBody('$this->getService(?)->authenticate($this->getService(?), $this->getService(?));', [$this->prefix('authenticator'), $builder->getByType(IRequest::class, false), $builder->getByType(IResponse::class, true)]); } }
Test for mutants (ubuntu-latest, 8.4): src/Auth/DI/HttpAuthExtension.php#L86
Escaped Mutant for Mutator "TrueValue": @@ @@ return; } $initialize = $this->getInitialization(); - $initialize->addBody('$this->getService(?)->authenticate($this->getService(?), $this->getService(?));', [$this->prefix('authenticator'), $builder->getByType(IRequest::class, true), $builder->getByType(IResponse::class, true)]); + $initialize->addBody('$this->getService(?)->authenticate($this->getService(?), $this->getService(?));', [$this->prefix('authenticator'), $builder->getByType(IRequest::class, true), $builder->getByType(IResponse::class, false)]); } }
Test for mutants (ubuntu-latest, 8.4): src/Tester/TestResponse.php#L56
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ { $name = self::formatName($name); if ($value === null) { - $this->deleteHeader($name); + } else { $this->headers[$name] = [$value]; }
Test for mutants (ubuntu-latest, 8.4): src/Tester/TestResponse.php#L116
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function setExpiration(?string $expire): self { - $this->setHeader('Pragma', null); + if ($expire === null) { // no cache $this->setHeader('Cache-Control', 's-maxage=0, max-age=0, must-revalidate');
Test for mutants (ubuntu-latest, 8.4): src/Tester/TestResponse.php#L125
Escaped Mutant for Mutator "Minus": @@ @@ return $this; } $time = new DateTimeImmutable($expire); - $this->setHeader('Cache-Control', 'max-age=' . ($time->format('U') - time())); + $this->setHeader('Cache-Control', 'max-age=' . ($time->format('U') + time())); $this->setHeader('Expires', Helpers::formatDate($time)); return $this; }
Test for mutants (ubuntu-latest, 8.4): src/Tester/TestResponse.php#L125
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ return $this; } $time = new DateTimeImmutable($expire); - $this->setHeader('Cache-Control', 'max-age=' . ($time->format('U') - time())); + $this->setHeader('Cache-Control', 'max-age='); $this->setHeader('Expires', Helpers::formatDate($time)); return $this; }
Status check - CI
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.95 KB