Merge remote-tracking branch 'origin/dependabot/composer/phpstan/phps… #216
Annotations
1 error and 9 warnings
codestyle
Process completed with exit code 2.
|
codestyle
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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v1.0.14. 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/
|
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/Parser.php#L31
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
{
$this->tokenizer = new \Graphpinator\Parser\TokenContainer($source);
if ($this->tokenizer->isEmpty()) {
- throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(1, 1));
+ throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(0, 1));
}
$fragments = [];
$locations = [];
|
mutation:
src/Parser.php#L31
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
{
$this->tokenizer = new \Graphpinator\Parser\TokenContainer($source);
if ($this->tokenizer->isEmpty()) {
- throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(1, 1));
+ throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(2, 1));
}
$fragments = [];
$locations = [];
|
mutation:
src/Parser.php#L31
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
{
$this->tokenizer = new \Graphpinator\Parser\TokenContainer($source);
if ($this->tokenizer->isEmpty()) {
- throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(1, 1));
+ throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(1, 0));
}
$fragments = [];
$locations = [];
|
mutation:
src/Parser.php#L31
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
{
$this->tokenizer = new \Graphpinator\Parser\TokenContainer($source);
if ($this->tokenizer->isEmpty()) {
- throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(1, 1));
+ throw new \Graphpinator\Parser\Exception\EmptyRequest(new \Graphpinator\Common\Location(1, 2));
}
$fragments = [];
$locations = [];
|
mutation:
src/Value/ObjectVal.php#L26
Escaped Mutant for Mutator "CastArray":
--- Original
+++ New
@@ @@
public function getRawValue() : \stdClass
{
$return = new \stdClass();
- foreach ((array) $this->value as $key => $value) {
+ foreach ($this->value as $key => $value) {
\assert($value instanceof Value);
$return->{$key} = $value->getRawValue();
}
|