Skip to content

Normalize composer json #558

Normalize composer json

Normalize composer json #558

Triggered via push November 25, 2023 10:37
Status Failure
Total duration 56s
Artifacts

tests.yaml

on: push
Matrix: unit-tests
Code style and static analysis
48s
Code style and static analysis
Tests finished
3s
Tests finished
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
Code style and static analysis: src/Immutable/Generic/ListCollection.php#L1
Ignored error pattern #^Parameter \#1 \$reducer of method MF\\Collection\\Immutable\\Generic\\ListCollection\<TValue\>\:\:reduce\(\) expects callable\(float\|int, TValue, int\=, MF\\Collection\\Immutable\\Generic\\IList\<TValue\>\=\)\: float\|int, Closure\(float\|int, mixed, int\)\: float\|int given\.$# in path /home/runner/work/MFCollectionsPHP/MFCollectionsPHP/src/Immutable/Generic/ListCollection.php was not matched in reported errors.
Code style and static analysis: src/Immutable/Generic/ListCollection.php#L458
Parameter #1 $reducer of method MF\Collection\Immutable\Generic\ListCollection<TValue>::reduce() expects callable(float|int, TValue, int=, MF\Collection\Immutable\Generic\IList<TValue>=): (float|int), Closure(float|int, mixed, int): (float|int) given.
Code style and static analysis: src/Immutable/Generic/Seq.php#L1
Ignored error pattern #Argument of an invalid type mixed supplied for foreach, only iterables are supported.# in path /home/runner/work/MFCollectionsPHP/MFCollectionsPHP/src/Immutable/Generic/Seq.php was not matched in reported errors.
Code style and static analysis: src/Mutable/Generic/ListCollection.php#L1
Ignored error pattern #^Parameter \#1 \$reducer of method MF\\Collection\\Mutable\\Generic\\ListCollection\<TValue\>\:\:reduce\(\) expects callable\(float\|int, TValue, int\=, MF\\Collection\\Mutable\\Generic\\IList\<TValue\>\=\)\: float\|int, Closure\(float\|int, mixed, int\)\: float\|int given\.$# in path /home/runner/work/MFCollectionsPHP/MFCollectionsPHP/src/Mutable/Generic/ListCollection.php was not matched in reported errors.
Code style and static analysis: src/Mutable/Generic/ListCollection.php#L391
Parameter #1 $reducer of method MF\Collection\Mutable\Generic\ListCollection<TValue>::reduce() expects callable(float|int, TValue, int=, MF\Collection\Mutable\Generic\IList<TValue>=): (float|int), Closure(float|int, mixed, int): (float|int) given.
Code style and static analysis
Process completed with exit code 1.
Unit tests - PHP 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/
Unit tests - PHP 8.2 --prefer-lowest --prefer-stable
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/
Code style and static analysis
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/