Merge pull request #405 from graphpql/dependabot/composer/infection/i… #1247
php.yml
on: push
tests
38s
phpstan
19s
codestyle
0s
mutation
2m 1s
Matrix: tests-matrix
Annotations
5 errors and 24 warnings
phpstan:
src/Value/ConvertParserValueVisitor.php#L45
Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
|
phpstan:
src/Value/ConvertParserValueVisitor.php#L60
Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
|
phpstan:
src/Value/ConvertParserValueVisitor.php#L71
Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
|
phpstan:
src/Value/ConvertParserValueVisitor.php#L88
Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
|
phpstan
Process completed with exit code 1.
|
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, codecov/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-matrix (8.3, 0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests-matrix (8.3, 0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-matrix (8.2, 0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests-matrix (8.2, 0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-matrix (8.2, 1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests-matrix (8.2, 1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-matrix (8.3, 1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests-matrix (8.3, 1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
mutation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
mutation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
mutation:
src/Exception/Value/InvalidValue.php#L18
Escaped Mutant for Mutator "Identical":
@@ @@
}
private function printValue(mixed $rawValue): string
{
- if ($rawValue === null || \is_scalar($rawValue)) {
+ if ($rawValue !== null || \is_scalar($rawValue)) {
return \json_encode($rawValue, \JSON_THROW_ON_ERROR);
}
if (\is_array($rawValue)) {
|
mutation:
src/Exception/Value/InvalidValue.php#L18
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
}
private function printValue(mixed $rawValue): string
{
- if ($rawValue === null || \is_scalar($rawValue)) {
+ if (!($rawValue === null) || !\is_scalar($rawValue)) {
return \json_encode($rawValue, \JSON_THROW_ON_ERROR);
}
if (\is_array($rawValue)) {
|
mutation:
src/Exception/Value/InvalidValue.php#L26
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if (\is_array($rawValue)) {
return 'list';
}
- if ($rawValue instanceof \stdClass) {
+ if (true) {
return 'object';
}
return $rawValue::class;
}
}
|
mutation:
src/Exception/Value/InvalidValue.php#L26
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if (\is_array($rawValue)) {
return 'list';
}
- if ($rawValue instanceof \stdClass) {
+ if (false) {
return 'object';
}
return $rawValue::class;
}
}
|
mutation:
src/Graphpinator.php#L65
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$this->logger->debug($request->getQuery());
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
- if (!$result instanceof Request) {
+ if (!true) {
break;
}
}
|
mutation:
src/Graphpinator.php#L65
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$this->logger->debug($request->getQuery());
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
- if (!$result instanceof Request) {
+ if (!false) {
break;
}
}
|
mutation:
src/Graphpinator.php#L65
Escaped Mutant for Mutator "LogicalNot":
@@ @@
$this->logger->debug($request->getQuery());
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
- if (!$result instanceof Request) {
+ if ($result instanceof Request) {
break;
}
}
|
mutation:
src/Graphpinator.php#L66
Escaped Mutant for Mutator "Break_":
@@ @@
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
if (!$result instanceof Request) {
- break;
+ continue;
}
}
if ($result instanceof Request) {
|
mutation:
src/Graphpinator.php#L76
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$result = $this->parser->parse(new StringSource($request->getQuery()));
foreach ($this->modules as $module) {
$result = $module->processParsed($result);
- if (!$result instanceof ParsedRequest) {
+ if (!true) {
break;
}
}
|
mutation:
src/Graphpinator.php#L76
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$result = $this->parser->parse(new StringSource($request->getQuery()));
foreach ($this->modules as $module) {
$result = $module->processParsed($result);
- if (!$result instanceof ParsedRequest) {
+ if (!false) {
break;
}
}
|