Skip to content

update changelog to v0.8.0 #173

update changelog to v0.8.0

update changelog to v0.8.0 #173

Triggered via push December 3, 2023 12:23
Status Success
Total duration 47s
Artifacts
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
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.0, ubuntu-latest): src/Write/Feature.php#L108
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ /** @return Strategy[] */ public function strategies() : array { - return array_values($this->strategies); + return $this->strategies; } /** @return WriteFeature */ public function jsonSerialize() : array
Mutation tests (locked, 8.0, 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.0, 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.0, 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.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/Feature.php#L108
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ /** @return Strategy[] */ public function strategies() : array { - return array_values($this->strategies); + return $this->strategies; } /** @return WriteFeature */ public function jsonSerialize() : array
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.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.3, ubuntu-latest): src/Write/Feature.php#L108
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ /** @return Strategy[] */ public function strategies() : array { - return array_values($this->strategies); + return $this->strategies; } /** @return WriteFeature */ public function jsonSerialize() : array
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()]; } }
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.2, ubuntu-latest): src/Write/Feature.php#L108
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ /** @return Strategy[] */ public function strategies() : array { - return array_values($this->strategies); + return $this->strategies; } /** @return WriteFeature */ public function jsonSerialize() : array
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()]; } }