Skip to content

PHPStan: new options #114

PHPStan: new options

PHPStan: new options #114

Triggered via push June 21, 2024 22:09
Status Success
Total duration 1m 59s
Artifacts 1

ci.yaml

on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Test for mutants (ubuntu-latest, 8.1): 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.1): 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.1): 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.1): 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.1): 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.1): 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.1): 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.1): 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.1): 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.1): src/Spec/Parameter.php#L208
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ public function hasExample(): bool { $property = new ReflectionProperty($this, 'example'); - $property->setAccessible(true); + return $property->isInitialized($this); } /**

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
3.52 KB