CI #22
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
3s
Annotations
2 errors and 7 warnings
Tests (macos-latest, 8.3, true)
docker: command not found
|
Tests (windows-latest, 8.3, true)
Container operations are only supported on Linux runners
|
Test for mutants (ubuntu-latest, 8.3):
src/Auditor/InvalidDateMysqlAuditor.php#L39
Escaped Mutant for Mutator "ArrayOneItem":
@@ @@
$source = new ColumnViolationSource($record['TABLE_SCHEMA'], null, $record['TABLE_NAME'], $record['COLUMN_NAME']);
$violations[] = new Violation(self::getKey(), 'Column ' . $source->toString() . ' contains invalid dates.', $source);
}
- return $violations;
+ return count($violations) > 1 ? array_slice($violations, 0, 1, true) : $violations;
}
private function createProcedure(): void
{
|
Test for mutants (ubuntu-latest, 8.3):
src/Dbal/DibiAdapter.php#L21
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function query(string $sql): array
{
$result = $this->connection->nativeQuery($sql);
- $result->setRowClass(null);
+
return $result->fetchAll();
}
public function exec(string $sql): int
|
Test for mutants (ubuntu-latest, 8.3):
src/Dbal/NextrasAdapter.php#L23
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct(Connection $connection)
{
$this->connection = $connection;
- $this->connection->connect();
+
if (method_exists($connection->getDriver(), 'convertToSql')) {
$this->version = 1;
} elseif (method_exists($connection->getDriver(), 'convertBoolToSql')) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Dbal/NextrasAdapter.php#L28
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
if (method_exists($connection->getDriver(), 'convertToSql')) {
$this->version = 1;
} elseif (method_exists($connection->getDriver(), 'convertBoolToSql')) {
- $this->version = 2;
+ $this->version = 3;
} else {
$this->version = 5;
}
|
Test for mutants (ubuntu-latest, 8.3):
src/Dbal/NextrasAdapter.php#L65
Escaped Mutant for Mutator "GreaterThanOrEqualTo":
@@ @@
}
public function escapeBool(bool $value): string
{
- if ($this->version >= 5) {
+ if ($this->version > 5) {
return $this->connection->getPlatform()->formatBool($value);
}
if ($this->version >= 2) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Dbal/NextrasAdapter.php#L78
Escaped Mutant for Mutator "GreaterThanOrEqualTo":
@@ @@
}
public function escapeDateTime(DateTimeInterface $value): string
{
- if ($this->version >= 5) {
+ if ($this->version > 5) {
return $this->connection->getPlatform()->formatDateTime($value);
}
if ($this->version >= 2) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Dbal/NextrasAdapter.php#L91
Escaped Mutant for Mutator "GreaterThanOrEqualTo":
@@ @@
}
public function escapeIdentifier(string $value): string
{
- if ($this->version >= 5) {
+ if ($this->version > 5) {
return $this->connection->getPlatform()->formatIdentifier($value);
}
if ($this->version >= 2) {
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
1.15 KB |
|