Skip to content

Move methods from command to abstract pdo command #1197

Move methods from command to abstract pdo command

Move methods from command to abstract pdo command #1197

Triggered via pull request November 5, 2023 07:32
Status Success
Total duration 24m 16s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
PHP 8-ubuntu-latest: src/ArrayParser.php#L35
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ private function parseArray(string $value, int &$i = 0) : array { if ($value[++$i] === '}') { - ++$i; + --$i; return []; } for ($result = [];; ++$i) {
PHP 8-ubuntu-latest: src/Connection.php#L32
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $command->setSql($sql); } if ($this->logger !== null) { - $command->setLogger($this->logger); + } if ($this->profiler !== null) { $command->setProfiler($this->profiler);
PHP 8-ubuntu-latest: src/Schema.php#L1036
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ */ protected function getCacheTag() : string { - return md5(serialize(array_merge([self::class], $this->generateCacheKey()))); + return md5(serialize($this->generateCacheKey())); } }
PHP 8.1-ubuntu-latest: src/ArrayParser.php#L35
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ private function parseArray(string $value, int &$i = 0) : array { if ($value[++$i] === '}') { - ++$i; + --$i; return []; } for ($result = [];; ++$i) {