Skip to content

Update php Docker tag to v8.4 #1377

Update php Docker tag to v8.4

Update php Docker tag to v8.4 #1377

Triggered via push November 21, 2024 20:11
Status Success
Total duration 3m 3s
Artifacts
ci  /  Generate job matrix
7s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Application/Command/SwitchDefaultBranchToNextMinor.php#L34
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { parent::__construct('laminas:automatic-releases:switch-default-branch-to-next-minor'); } - public function execute(InputInterface $input, OutputInterface $output) : int + protected function execute(InputInterface $input, OutputInterface $output) : int { $event = $this->loadGithubEvent->__invoke(); $repositoryPath = $this->variables->githubWorkspacePath();
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Changelog/ChangelogExistsViaConsole.php#L18
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ public function __invoke(BranchName $sourceBranch, string $repositoryDirectory) : bool { try { - Shell\execute('git', ['show', 'origin/' . $sourceBranch->name() . ':CHANGELOG.md'], $repositoryDirectory); + Shell\execute('git', ['show', $sourceBranch->name() . ':CHANGELOG.md'], $repositoryDirectory); return true; } catch (Shell\Exception\FailedExecutionException) { return false;
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php#L24
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ } public function __invoke(UriInterface $repositoryUri, UriInterface $uriWithCredentials, string $repositoryRootDirectory) : void { - Shell\execute('git', ['config', '--global', '--add', 'safe.directory', '*'], $repositoryRootDirectory); + try { Shell\execute('git', ['remote', 'rm', 'origin'], $repositoryRootDirectory); } catch (Shell\Exception\FailedExecutionException) {
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php#L33
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } catch (Shell\Exception\FailedExecutionException) { } $credentialStore = Filesystem\create_temporary_file(); - Shell\execute('git', ['config', 'credential.helper', 'store --file=' . $credentialStore], $repositoryRootDirectory); + Shell\execute('git', ['config', 'credential.helper', $credentialStore . 'store --file='], $repositoryRootDirectory); File\write($credentialStore, $uriWithCredentials->__toString()); Shell\execute('git', ['remote', 'add', 'origin', $repositoryUri->__toString()], $repositoryRootDirectory); Shell\execute('git', ['fetch', 'origin'], $repositoryRootDirectory);
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } catch (Shell\Exception\FailedExecutionException) { } $credentialStore = Filesystem\create_temporary_file(); - Shell\execute('git', ['config', 'credential.helper', 'store --file=' . $credentialStore], $repositoryRootDirectory); + Shell\execute('git', ['config', 'credential.helper', $credentialStore], $repositoryRootDirectory); File\write($credentialStore, $uriWithCredentials->__toString()); Shell\execute('git', ['remote', 'add', 'origin', $repositoryUri->__toString()], $repositoryRootDirectory); Shell\execute('git', ['fetch', 'origin'], $repositoryRootDirectory);
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } catch (Shell\Exception\FailedExecutionException) { } $credentialStore = Filesystem\create_temporary_file(); - Shell\execute('git', ['config', 'credential.helper', 'store --file=' . $credentialStore], $repositoryRootDirectory); + Shell\execute('git', ['config', 'credential.helper', 'store --file='], $repositoryRootDirectory); File\write($credentialStore, $uriWithCredentials->__toString()); Shell\execute('git', ['remote', 'add', 'origin', $repositoryUri->__toString()], $repositoryRootDirectory); Shell\execute('git', ['fetch', 'origin'], $repositoryRootDirectory);
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php#L33
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ } catch (Shell\Exception\FailedExecutionException) { } $credentialStore = Filesystem\create_temporary_file(); - Shell\execute('git', ['config', 'credential.helper', 'store --file=' . $credentialStore], $repositoryRootDirectory); + File\write($credentialStore, $uriWithCredentials->__toString()); Shell\execute('git', ['remote', 'add', 'origin', $repositoryUri->__toString()], $repositoryRootDirectory); Shell\execute('git', ['fetch', 'origin'], $repositoryRootDirectory);
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php#L34
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ } $credentialStore = Filesystem\create_temporary_file(); Shell\execute('git', ['config', 'credential.helper', 'store --file=' . $credentialStore], $repositoryRootDirectory); - File\write($credentialStore, $uriWithCredentials->__toString()); + Shell\execute('git', ['remote', 'add', 'origin', $repositoryUri->__toString()], $repositoryRootDirectory); Shell\execute('git', ['fetch', 'origin'], $repositoryRootDirectory); Shell\execute('git', ['config', 'user.email', $this->variables->gitAuthorEmail()], $repositoryRootDirectory);
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/HasTagViaConsole.php#L18
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ public function __invoke(string $repositoryDirectory, string $tagName) : bool { $output = Shell\execute('git', ['tag', '--list', $tagName], $repositoryDirectory); - if (trim($output) === '') { + if ($output === '') { return false; } return str_contains($output, $tagName); } }
ci / QA Checks (Infection [8.3, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...: src/Git/PushViaConsole.php#L23
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ Shell\execute('git', ['push', 'origin', $symbol], $repositoryDirectory); return; } - $localTemporaryBranch = 'temporary-branch' . SecureRandom\string(8); + $localTemporaryBranch = 'temporary-branch' . SecureRandom\string(7); Shell\execute('git', ['branch', $localTemporaryBranch, $symbol], $repositoryDirectory); Shell\execute('git', ['push', 'origin', $localTemporaryBranch . ':' . $alias], $repositoryDirectory); Shell\execute('git', ['branch', '-D', $localTemporaryBranch], $repositoryDirectory); } }