Skip to content

Update metadata and build config #509

Update metadata and build config

Update metadata and build config #509

Triggered via push June 20, 2024 15:32
Status Success
Total duration 2m 56s
Artifacts 1

ci.yaml

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

Annotations

17 warnings
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.1, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test for mutants (ubuntu-latest, 8.1): src/Cache/DI/CacheExtension.php#L25
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ 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.1): src/Cache/DI/CacheExtension.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } $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.1): src/Config/DI/ConfigExtension.php#L24
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } 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.1): src/Config/DI/ConfigExtension.php#L33
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function beforeCompile() : void { - parent::beforeCompile(); + $builder = $this->getContainerBuilder(); $itemProviders = []; foreach ($builder->findByType(ConfigItemProvider::class) as $definition) {
Test for mutants (ubuntu-latest, 8.1): src/Config/DI/ConfigExtension.php#L38
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ parent::beforeCompile(); $builder = $this->getContainerBuilder(); $itemProviders = []; - foreach ($builder->findByType(ConfigItemProvider::class) as $definition) { + foreach (array() as $definition) { $itemProviders[$definition->getType()] = $definition->getName(); } $this->providerDefinition->setArguments([$itemProviders]); } }
Test for mutants (ubuntu-latest, 8.1): src/Dbal/DI/DbalExtension.php#L26
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ { 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.1): src/Dbal/DI/DbalExtension.php#L27
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { 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.1): src/Dbal/DI/DbalExtension.php#L47
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ '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.1): src/Dbal/DI/DbalExtension.php#L82
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ // 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 (array() as $key => $value) { if ($value === null) { unset($connectionConfig[$key]); }
Test for mutants (ubuntu-latest, 8.1): src/Dbal/DI/DbalExtension.php#L83
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ unset($connectionConfig['autowired']); // Connection expects empty values to be not set foreach ($connectionConfig as $key => $value) { - if ($value === null) { + if ($value !== null) { unset($connectionConfig[$key]); } }
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
52.6 KB