Skip to content

Merge pull request #347 from graphpql/dependabot/composer/phpunit/php… #1125

Merge pull request #347 from graphpql/dependabot/composer/phpunit/php…

Merge pull request #347 from graphpql/dependabot/composer/phpunit/php… #1125

Triggered via push October 27, 2023 10:34
Status Failure
Total duration 4m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

php.yml

on: push
Matrix: tests-matrix
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 17 warnings
phpstan: src/Value/ConvertParserValueVisitor.php#L32
Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
phpstan: src/Value/ConvertParserValueVisitor.php#L43
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#L69
Argument of an invalid type stdClass supplied for foreach, only iterables are supported.
phpstan
Process completed with exit code 1.
tests-matrix (8.1, 1)
Process completed with exit code 139.
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/
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/
tests-matrix (8.1, 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 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 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.1, 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/
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: src/Exception/Value/InvalidValue.php#L20
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } 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#L20
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": --- Original +++ New @@ @@ } 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#L28
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if (\is_array($rawValue)) { return 'list'; } - if ($rawValue instanceof \stdClass) { + if (true) { return 'object'; } return $rawValue::class; } }
mutation: src/Exception/Value/InvalidValue.php#L28
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if (\is_array($rawValue)) { return 'list'; } - if ($rawValue instanceof \stdClass) { + if (false) { return 'object'; } return $rawValue::class; } }
mutation: src/Graphpinator.php#L44
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $this->logger->debug($request->getQuery()); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof \Graphpinator\Request\Request) { + if (!true) { break; } }
mutation: src/Graphpinator.php#L44
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $this->logger->debug($request->getQuery()); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof \Graphpinator\Request\Request) { + if (!false) { break; } }
mutation: src/Graphpinator.php#L44
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ $this->logger->debug($request->getQuery()); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof \Graphpinator\Request\Request) { + if ($result instanceof \Graphpinator\Request\Request) { break; } }
mutation: src/Graphpinator.php#L45
Escaped Mutant for Mutator "Break_": --- Original +++ New @@ @@ foreach ($this->modules as $module) { $result = $module->processRequest($request); if (!$result instanceof \Graphpinator\Request\Request) { - break; + continue; } } if ($result instanceof \Graphpinator\Request\Request) {
mutation: src/Graphpinator.php#L55
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $result = $this->parser->parse(new \Graphpinator\Source\StringSource($request->getQuery())); foreach ($this->modules as $module) { $result = $module->processParsed($result); - if (!$result instanceof \Graphpinator\Parser\ParsedRequest) { + if (!true) { break; } }
mutation: src/Graphpinator.php#L55
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $result = $this->parser->parse(new \Graphpinator\Source\StringSource($request->getQuery())); foreach ($this->modules as $module) { $result = $module->processParsed($result); - if (!$result instanceof \Graphpinator\Parser\ParsedRequest) { + if (!false) { break; } }