update psalm to 5.16 #170
Annotations
2 errors and 16 warnings
Mutation tests (locked, 8.0, ubuntu-latest)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- roave/infection-static-analysis-plugin 1.18.0 requires vimeo/psalm ^4.22.0 -> found vimeo/psalm[4.22.0, ..., 4.30.0] but it conflicts with your root composer.json require (^5.16).
- roave/infection-static-analysis-plugin[1.19.0, ..., 1.20.0] require vimeo/psalm ^4.23.0 -> found vimeo/psalm[4.23.0, ..., 4.30.0] but it conflicts with your root composer.json require (^5.16).
- roave/infection-static-analysis-plugin 1.21.0 requires vimeo/psalm ^4.24.0 -> found vimeo/psalm[4.24.0, ..., 4.30.0] but it conflicts with your root composer.json require (^5.16).
- roave/infection-static-analysis-plugin 1.22.0 requires vimeo/psalm ^4.26.0 -> found vimeo/psalm[4.26.0, ..., 4.30.0] but it conflicts with your root composer.json require (^5.16).
- roave/infection-static-analysis-plugin 1.23.0 requires vimeo/psalm ^4.27.0 -> found vimeo/psalm[4.27.0, 4.28.0, 4.29.0, 4.30.0] but it conflicts with your root composer.json require (^5.16).
- roave/infection-static-analysis-plugin[1.24.0, ..., 1.25.0] require vimeo/psalm ^4.29.0 -> found vimeo/psalm[4.29.0, 4.30.0] but it conflicts with your root composer.json require (^5.16).
- roave/infection-static-analysis-plugin[1.26.0, ..., 1.32.0] require php ~8.1.0 || ~8.2.0 -> your php version (8.0.30) does not satisfy that requirement.
- roave/infection-static-analysis-plugin[1.33.0, ..., 1.34.0] require php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.0.30) does not satisfy that requirement.
- Root composer.json requires roave/infection-static-analysis-plugin ^1.18 -> satisfiable by roave/infection-static-analysis-plugin[1.18.0, ..., 1.34.0].
|
Mutation tests (locked, 8.0, ubuntu-latest)
Process completed with exit code 2.
|
Mutation tests (locked, 8.1, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 tests (locked, 8.1, ubuntu-latest):
src/Write/Payload.php#L32
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
public static function fromJsonString(string $jsonPayload) : self
{
/** @var Criteria $payload */
- $payload = json_decode($jsonPayload, true, 16, JSON_THROW_ON_ERROR);
+ $payload = json_decode($jsonPayload, true, 15, JSON_THROW_ON_ERROR);
return self::fromArray($payload);
}
/** @return Criteria */
|
Mutation tests (locked, 8.1, ubuntu-latest):
src/Write/Payload.php#L32
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
public static function fromJsonString(string $jsonPayload) : self
{
/** @var Criteria $payload */
- $payload = json_decode($jsonPayload, true, 16, JSON_THROW_ON_ERROR);
+ $payload = json_decode($jsonPayload, true, 17, JSON_THROW_ON_ERROR);
return self::fromArray($payload);
}
/** @return Criteria */
|
Mutation tests (locked, 8.1, ubuntu-latest):
src/Write/Strategy.php#L54
Escaped Mutant for Mutator "UnwrapArrayMap":
--- Original
+++ New
@@ @@
/** @return WriteStrategy */
public function jsonSerialize() : array
{
- return ['strategy_id' => $this->strategyId->value(), 'strategy_type' => $this->type()->value(), 'segments' => array_map(static fn(Segment $segment) => $segment->jsonSerialize(), $this->segments())];
+ return ['strategy_id' => $this->strategyId->value(), 'strategy_type' => $this->type()->value(), 'segments' => $this->segments()];
}
}
|
Mutation tests (locked, 8.0, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 tests (locked, 8.2, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 tests (locked, 8.3, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 tests (locked, 8.2, ubuntu-latest):
src/Write/Payload.php#L32
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
public static function fromJsonString(string $jsonPayload) : self
{
/** @var Criteria $payload */
- $payload = json_decode($jsonPayload, true, 16, JSON_THROW_ON_ERROR);
+ $payload = json_decode($jsonPayload, true, 15, JSON_THROW_ON_ERROR);
return self::fromArray($payload);
}
/** @return Criteria */
|
Mutation tests (locked, 8.2, ubuntu-latest):
src/Write/Payload.php#L32
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
public static function fromJsonString(string $jsonPayload) : self
{
/** @var Criteria $payload */
- $payload = json_decode($jsonPayload, true, 16, JSON_THROW_ON_ERROR);
+ $payload = json_decode($jsonPayload, true, 17, JSON_THROW_ON_ERROR);
return self::fromArray($payload);
}
/** @return Criteria */
|
|
Mutation tests (locked, 8.2, ubuntu-latest):
src/Write/Strategy.php#L54
Escaped Mutant for Mutator "UnwrapArrayMap":
--- Original
+++ New
@@ @@
/** @return WriteStrategy */
public function jsonSerialize() : array
{
- return ['strategy_id' => $this->strategyId->value(), 'strategy_type' => $this->type()->value(), 'segments' => array_map(static fn(Segment $segment) => $segment->jsonSerialize(), $this->segments())];
+ return ['strategy_id' => $this->strategyId->value(), 'strategy_type' => $this->type()->value(), 'segments' => $this->segments()];
}
}
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Write/Payload.php#L32
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
public static function fromJsonString(string $jsonPayload) : self
{
/** @var Criteria $payload */
- $payload = json_decode($jsonPayload, true, 16, JSON_THROW_ON_ERROR);
+ $payload = json_decode($jsonPayload, true, 15, JSON_THROW_ON_ERROR);
return self::fromArray($payload);
}
/** @return Criteria */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Write/Payload.php#L32
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
public static function fromJsonString(string $jsonPayload) : self
{
/** @var Criteria $payload */
- $payload = json_decode($jsonPayload, true, 16, JSON_THROW_ON_ERROR);
+ $payload = json_decode($jsonPayload, true, 17, JSON_THROW_ON_ERROR);
return self::fromArray($payload);
}
/** @return Criteria */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Write/Strategy.php#L54
Escaped Mutant for Mutator "UnwrapArrayMap":
--- Original
+++ New
@@ @@
/** @return WriteStrategy */
public function jsonSerialize() : array
{
- return ['strategy_id' => $this->strategyId->value(), 'strategy_type' => $this->type()->value(), 'segments' => array_map(static fn(Segment $segment) => $segment->jsonSerialize(), $this->segments())];
+ return ['strategy_id' => $this->strategyId->value(), 'strategy_type' => $this->type()->value(), 'segments' => $this->segments()];
}
}
|