Fix PHPStan #112
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
24 warnings
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (windows-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (windows-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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);
}
/**
|
Tests (macos-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (macos-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Logs - Mutations".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
36.5 KB |
|