Skip to content

Continuous Integration #343

Continuous Integration

Continuous Integration #343

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

Annotations

6 warnings
UndefinedMethod: src/Statement.php#L92
src/Statement.php:92:47: UndefinedMethod: Method Doctrine\DBAL\Connection::canTryAgain does not exist (see https://psalm.dev/022)
UndefinedMethod: src/Statement.php#L96
src/Statement.php:96:41: UndefinedMethod: Method Doctrine\DBAL\Connection::increaseAttemptCount does not exist (see https://psalm.dev/022)
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#L96
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (!$this->retriableConnection->canTryAgain($e, $this->sql)) { throw $e; } - $this->retriableConnection->increaseAttemptCount(); + $this->recreateStatement(); goto attempt; }