Skip to content

Continuous Integration #331

Continuous Integration

Continuous Integration #331

Triggered via schedule July 8, 2024 03:49
Status Failure
Total duration 1m 50s
Artifacts
Matrix: phpunit-mysql
Matrix: quality-checks
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
Rector + Code style
Process completed with exit code 2.
Psalm
The job was canceled because "Rector___Code_style_Run_R" failed.
Infection (PHP 8.3 / MySQL 8.0): src/ConnectionTrait.php#L115
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ /** * @internal */ - public function resetAttemptCount() : void + protected function resetAttemptCount() : void { $this->currentAttempts = 0; }
Infection (PHP 8.3 / MySQL 8.0): src/Detector/MySQLGoneAwayDetector.php#L43
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ } private function isUpdateQuery(?string $sql) : bool { - return !preg_match('/^[\\s\\n\\r\\t(]*(select|show|describe)[\\s\\n\\r\\t(]+/i', (string) $sql); + return !preg_match('/^[\\s\\n\\r\\t(]*(select|show|describe)[\\s\\n\\r\\t(]+/i', $sql); } /** * @see \Doctrine\DBAL\Platforms\AbstractPlatform::createSavePoint
Infection (PHP 8.3 / MySQL 8.0): src/Detector/MySQLGoneAwayDetector.php#L51
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ private function isSavepoint(?string $sql) : bool { - return str_starts_with(trim((string) $sql), 'SAVEPOINT'); + return str_starts_with(trim($sql), 'SAVEPOINT'); } }
Infection (PHP 8.3 / MySQL 8.0): src/Statement.php#L104
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (!$this->retriableConnection->canTryAgain($e, $this->sql)) { throw $e; } - $this->retriableConnection->increaseAttemptCount(); + $this->recreateStatement(); goto attempt; }