wip #12
ci.yaml
on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Annotations
7 errors and 7 warnings
Tests (windows-latest, 8.3, true)
Container operations are only supported on Linux runners
|
Tests (macos-latest, 8.3, true)
docker: command not found
|
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Process completed with exit code 2.
|
Tests (ubuntu-latest, 7.4, false)
The job was canceled because "ubuntu-latest_7_4_--prefe" failed.
|
Tests (ubuntu-latest, 8.2, false)
The job was canceled because "ubuntu-latest_7_4_--prefe" failed.
|
Tests (ubuntu-latest, 8.1, false)
The job was canceled because "ubuntu-latest_7_4_--prefe" failed.
|
Status check - CI
Process completed with exit code 1.
|
Test for mutants (ubuntu-latest, 8.3):
src/Auditor/InvalidDateMysqlAuditor.php#L18
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
try {
$records = $this->getRecords();
} finally {
- $this->cleanup();
+
}
$violations = [];
foreach ($records as $record) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Auditor/InvalidDateMysqlAuditor.php#L22
Escaped Mutant for Mutator "Foreach_":
@@ @@
$this->cleanup();
}
$violations = [];
- foreach ($records as $record) {
+ foreach ([] as $record) {
$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);
}
|
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#L22
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function query(#[Language('GenericSQL')] string $sql): array
{
$result = $this->connection->nativeQuery($sql);
- $result->setRowClass(null);
+
return $result->fetchAll();
}
public function exec(#[Language('GenericSQL')] string $sql): int
|
Test for mutants (ubuntu-latest, 8.3):
src/Report/ColumnViolationSource.php#L33
Escaped Mutant for Mutator "Concat":
@@ @@
}
public function toString(): string
{
- $name = ($this->schema !== null ? "[{$this->schema}]" : '') . "[{$this->table}]" . "[{$this->column}]";
+ $name = "[{$this->table}]" . ($this->schema !== null ? "[{$this->schema}]" : '') . "[{$this->column}]";
$extra = '';
if ($this->columnType !== null) {
$extra = " (Column type: '{$this->columnType}')";
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
2.45 KB |
|