Skip to content
Triggered via schedule August 12, 2024 08:23
Status Success
Total duration 3m 9s
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
7s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Test for mutants (ubuntu-latest, 8.3): src/Cache/DI/CacheExtension.php#L25
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ public function loadConfiguration(): void { $dir = $this->tempDir; - FileSystem::createDir($dir); + if (!is_writable($dir)) { throw InvalidState::create()->withMessage("Make directory '{$dir}' writable."); }
Test for mutants (ubuntu-latest, 8.3): src/Cache/DI/CacheExtension.php#L33
Escaped Mutant for Mutator "IfNegation": @@ @@ throw InvalidState::create()->withMessage("Make directory '{$dir}' writable."); } $builder = $this->getContainerBuilder(); - if (Dependencies::isExtensionLoaded('pdo_sqlite')) { + if (!Dependencies::isExtensionLoaded('pdo_sqlite')) { $builder->addDefinition($this->prefix('journal'))->setFactory(SQLiteJournal::class, ["{$dir}/journal.s3db"])->setType(Journal::class); } $builder->addDefinition($this->prefix('storage'))->setFactory(FileStorage::class, [$dir])->setType(Storage::class); } }
Test for mutants (ubuntu-latest, 8.3): src/Cache/DI/CacheExtension.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } $builder = $this->getContainerBuilder(); if (Dependencies::isExtensionLoaded('pdo_sqlite')) { - $builder->addDefinition($this->prefix('journal'))->setFactory(SQLiteJournal::class, ["{$dir}/journal.s3db"])->setType(Journal::class); + } $builder->addDefinition($this->prefix('storage'))->setFactory(FileStorage::class, [$dir])->setType(Storage::class); } }
Test for mutants (ubuntu-latest, 8.3): src/Config/DI/ConfigExtension.php#L24
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function loadConfiguration(): void { - parent::loadConfiguration(); + $builder = $this->getContainerBuilder(); $this->providerDefinition = $builder->addDefinition($this->prefix('provider'))->setFactory(ConfigProvider::class); }
Test for mutants (ubuntu-latest, 8.3): src/Config/DI/ConfigExtension.php#L33
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function beforeCompile(): void { - parent::beforeCompile(); + $builder = $this->getContainerBuilder(); $itemProviders = []; foreach ($builder->findByType(ConfigItemProvider::class) as $definition) {
Test for mutants (ubuntu-latest, 8.3): src/Config/DI/ConfigExtension.php#L38
Escaped Mutant for Mutator "Foreach_": @@ @@ parent::beforeCompile(); $builder = $this->getContainerBuilder(); $itemProviders = []; - foreach ($builder->findByType(ConfigItemProvider::class) as $definition) { + foreach ([] as $definition) { $itemProviders[$definition->getType()] = $definition->getName(); } $this->providerDefinition->setArguments([$itemProviders]); } }
Test for mutants (ubuntu-latest, 8.3): src/Dbal/DI/DbalExtension.php#L26
Escaped Mutant for Mutator "FalseValue": @@ @@ { public function getConfigSchema(): Schema { - return Expect::structure(['debug' => Expect::bool(false), 'panelQueryExplain' => Expect::bool(true), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([ + return Expect::structure(['debug' => Expect::bool(true), 'panelQueryExplain' => Expect::bool(true), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([ 'autowired' => Expect::bool(true), 'driver' => Expect::anyOf('mysqli', 'pdo_mysql', 'pgsql', 'pdo_pgsql', 'sqlsrv', 'pdo_sqlsrv')->required(), 'host' => Expect::string()->dynamic(),
Test for mutants (ubuntu-latest, 8.3): src/Dbal/DI/DbalExtension.php#L27
Escaped Mutant for Mutator "TrueValue": @@ @@ { public function getConfigSchema(): Schema { - return Expect::structure(['debug' => Expect::bool(false), 'panelQueryExplain' => Expect::bool(true), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([ + return Expect::structure(['debug' => Expect::bool(false), 'panelQueryExplain' => Expect::bool(false), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([ 'autowired' => Expect::bool(true), 'driver' => Expect::anyOf('mysqli', 'pdo_mysql', 'pgsql', 'pdo_pgsql', 'sqlsrv', 'pdo_sqlsrv')->required(), 'host' => Expect::string()->dynamic(),
Test for mutants (ubuntu-latest, 8.3): src/Dbal/DI/DbalExtension.php#L47
Escaped Mutant for Mutator "TrueValue": @@ @@ 'password' => Expect::string()->dynamic(), 'database' => Expect::string(), 'connectionTz' => Expect::string(IDriver::TIMEZONE_AUTO_PHP_NAME), - 'nestedTransactionsWithSavepoint' => Expect::bool(true), + 'nestedTransactionsWithSavepoint' => Expect::bool(false), // mysql only 'charset' => Expect::string(), 'sqlMode' => Expect::string('TRADITIONAL'),
Test for mutants (ubuntu-latest, 8.3): src/Dbal/DI/DbalExtension.php#L82
Escaped Mutant for Mutator "Foreach_": @@ @@ // Remove from Connection config compile-time only values unset($connectionConfig['autowired']); // Connection expects empty values to be not set - foreach ($connectionConfig as $key => $value) { + foreach ([] as $key => $value) { if ($value === null) { unset($connectionConfig[$key]); }

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
53.3 KB