CI #110
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
10 warnings
Test for mutants (ubuntu-latest, 8.1):
src/Spec/Example.php#L42
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
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.1):
src/Spec/Example.php#L42
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function hasValue() : bool
{
$property = new ReflectionProperty($this, 'value');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.1):
src/Spec/Header.php#L79
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
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.1):
src/Spec/Header.php#L79
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function hasExample() : bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.1):
src/Spec/Link.php#L72
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
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.1):
src/Spec/Link.php#L72
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function hasRequestBody() : bool
{
$property = new ReflectionProperty($this, 'requestBody');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.1):
src/Spec/MediaType.php#L44
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
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.1):
src/Spec/MediaType.php#L44
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function hasExample() : bool
{
$property = new ReflectionProperty($this, 'example');
- $property->setAccessible(true);
+
return $property->isInitialized($this);
}
/**
|
Test for mutants (ubuntu-latest, 8.1):
src/Spec/NullSchema.php#L21
Escaped Mutant for Mutator "ArrayOneItem":
--- Original
+++ New
@@ @@
{
$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.1):
src/Spec/Parameter.php#L208
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
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
|
36.5 KB |
|