Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump phpunit/phpunit from 10.5.21 to 10.5.24 #402

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

public function visitListVal(\Graphpinator\Parser\Value\ListVal $listVal) : \Graphpinator\Value\ListInputedValue
{
if ($this->type instanceof \Graphpinator\Typesystem\NotNullType) {
$this->type = $this->type->getInnerType();

Check failure on line 30 in src/Value/ConvertParserValueVisitor.php

GitHub Actions / phpstan

Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
return $listVal->accept($this);
}
$inner = [];
$listType = $this->type;
$this->type = $this->type->getInnerType();

Check failure on line 41 in src/Value/ConvertParserValueVisitor.php

GitHub Actions / phpstan

Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
foreach ($listVal->getValue() as $index => $parserValue) {
$this->path->add($index . ' <list index>');
public function visitObjectVal(\Graphpinator\Parser\Value\ObjectVal $objectVal) : \Graphpinator\Value\InputValue
{
if ($this->type instanceof \Graphpinator\Typesystem\NotNullType) {
$this->type = $this->type->getInnerType();

Check failure on line 58 in src/Value/ConvertParserValueVisitor.php

GitHub Actions / phpstan

Property Graphpinator\Value\ConvertParserValueVisitor::$type (Graphpinator\Typesystem\Contract\Inputable) does not accept Graphpinator\Typesystem\Contract\Type.
return $objectVal->accept($this);
}
private function printValue(mixed $rawValue) : string
{
if ($rawValue === null || \is_scalar($rawValue)) {

Check warning on line 18 in src/Exception/Value/InvalidValue.php

GitHub Actions / mutation

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)) {

Check warning on line 18 in src/Exception/Value/InvalidValue.php

GitHub Actions / mutation

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)) {
return \json_encode($rawValue, \JSON_THROW_ON_ERROR);
}
return 'list';
}
if ($rawValue instanceof \stdClass) {

Check warning on line 26 in src/Exception/Value/InvalidValue.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": @@ @@ if (\is_array($rawValue)) { return 'list'; } - if ($rawValue instanceof \stdClass) { + if (true) { return 'object'; } return $rawValue::class; } }

Check warning on line 26 in src/Exception/Value/InvalidValue.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": @@ @@ if (\is_array($rawValue)) { return 'list'; } - if ($rawValue instanceof \stdClass) { + if (false) { return 'object'; } return $rawValue::class; } }
return 'object';
}
foreach ($this->modules as $module) {
$result = $module->processRequest($request);
if (!$result instanceof \Graphpinator\Request\Request) {

Check warning on line 46 in src/Graphpinator.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": @@ @@ $this->logger->debug($request->getQuery()); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof \Graphpinator\Request\Request) { + if (!true) { break; } }

Check warning on line 46 in src/Graphpinator.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": @@ @@ $this->logger->debug($request->getQuery()); foreach ($this->modules as $module) { $result = $module->processRequest($request); - if (!$result instanceof \Graphpinator\Request\Request) { + if (!false) { break; } }

Check warning on line 46 in src/Graphpinator.php

GitHub Actions / mutation

Escaped Mutant for Mutator "LogicalNot": @@ @@ $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; } }
break;

Check warning on line 47 in src/Graphpinator.php

GitHub Actions / mutation

Escaped Mutant for Mutator "Break_": @@ @@ foreach ($this->modules as $module) { $result = $module->processRequest($request); if (!$result instanceof \Graphpinator\Request\Request) { - break; + continue; } } if ($result instanceof \Graphpinator\Request\Request) {
}
}
foreach ($this->modules as $module) {
$result = $module->processParsed($result);
if (!$result instanceof \Graphpinator\Parser\ParsedRequest) {

Check warning on line 57 in src/Graphpinator.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": @@ @@ $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; } }

Check warning on line 57 in src/Graphpinator.php

GitHub Actions / mutation

Escaped Mutant for Mutator "InstanceOf_": @@ @@ $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; } }
break;
}
}