Skip to content

Update phpstan/phpstan requirement from ^1.0 to ^1.0 || ^2.0 #174

Update phpstan/phpstan requirement from ^1.0 to ^1.0 || ^2.0

Update phpstan/phpstan requirement from ^1.0 to ^1.0 || ^2.0 #174

Triggered via pull request November 11, 2024 21:34
Status Success
Total duration 42s
Artifacts

mutation-tests.yml

on: pull_request
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

28 warnings
Mutation tests (locked, 8.0, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Mutation tests (locked, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Mutation tests (locked, 8.2, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Mutation tests (locked, 8.3, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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.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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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()]; } }
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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()]; } }