CI #127
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
3 errors and 10 warnings
Static analysis (ubuntu-latest, 8.3):
src/Spec/StringSchema.php#L16
Property Orisai\OpenAPI\Spec\StringSchema::$pattern (string|null) is never assigned string so it can be removed from the property type.
|
Static analysis (ubuntu-latest, 8.3)
Process completed with exit code 2.
|
Status check - CI
Process completed with exit code 1.
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Example.php#L42
Escaped Mutant for Mutator "TrueValue":
@@ @@
public function hasValue(): bool
{
$property = new ReflectionProperty($this, 'value');
- $property->setAccessible(true);
+ $property->setAccessible(false);
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Example.php#L42
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function hasValue(): bool
{
$property = new ReflectionProperty($this, 'value');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Header.php#L79
Escaped Mutant for Mutator "TrueValue":
@@ @@
public function hasExample(): bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+ $property->setAccessible(false);
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Header.php#L79
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function hasExample(): bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Link.php#L72
Escaped Mutant for Mutator "TrueValue":
@@ @@
public function hasRequestBody(): bool
{
$property = new ReflectionProperty($this, 'requestBody');
- $property->setAccessible(true);
+ $property->setAccessible(false);
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Link.php#L72
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function hasRequestBody(): bool
{
$property = new ReflectionProperty($this, 'requestBody');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/MediaType.php#L44
Escaped Mutant for Mutator "TrueValue":
@@ @@
public function hasExample(): bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+ $property->setAccessible(false);
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/MediaType.php#L44
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function hasExample(): bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/NullSchema.php#L21
Escaped Mutant for Mutator "ArrayOneItem":
@@ @@
{
$data = parent::toArray();
$data['type'] = $this->type;
- return $data;
+ return count($data) > 1 ? array_slice($data, 0, 1, true) : $data;
}
}
|
Test for mutants (ubuntu-latest, 8.3):
src/Spec/Parameter.php#L208
Escaped Mutant for Mutator "TrueValue":
@@ @@
public function hasExample(): bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+ $property->setAccessible(false);
return $property->isInitialized($this);
}
/**
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
3.52 KB |
|