Merge pull request #169 from voku/generics #198
Annotations
6 warnings
Tests (8.0)
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 (8.0):
src/GenericCollection.php#L440
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*
* @return list<static<T>>
*/
- public function chunk(int $length, bool $preserveKeys = false) : array
+ public function chunk(int $length, bool $preserveKeys = true) : array
{
$chunkList = [];
foreach (array_chunk($this->itemList, $length, $preserveKeys) as $chunk) {
|
Tests (8.2)
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 (8.2):
src/GenericCollection.php#L440
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*
* @return list<static<T>>
*/
- public function chunk(int $length, bool $preserveKeys = false) : array
+ public function chunk(int $length, bool $preserveKeys = true) : array
{
$chunkList = [];
foreach (array_chunk($this->itemList, $length, $preserveKeys) as $chunk) {
|
Tests (8.1)
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 (8.1):
src/GenericCollection.php#L440
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*
* @return list<static<T>>
*/
- public function chunk(int $length, bool $preserveKeys = false) : array
+ public function chunk(int $length, bool $preserveKeys = true) : array
{
$chunkList = [];
foreach (array_chunk($this->itemList, $length, $preserveKeys) as $chunk) {
|