Skip to content

FileElement: Fix that uploaded files are not preserved across requests #785

FileElement: Fix that uploaded files are not preserved across requests

FileElement: Fix that uploaded files are not preserved across requests #785

Triggered via pull request August 25, 2023 09:09
Status Failure
Total duration 57s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

24 errors
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/FileElement.php#L1
Ignored error pattern #^Only iterables can be unpacked, array\<array\<Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface given in argument \#1\.$# in path /app/src/FormElement/FileElement.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/FileElement.php#L142
Only iterables can be unpacked, mixed given in argument #1.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/FileElement.php#L142
Parameter #1 ...$files of method ipl\Html\FormElement\FileElement::storeFiles() expects Psr\Http\Message\UploadedFileInterface, mixed given.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/FileElement.php#L1
Ignored error pattern #^Only iterables can be unpacked, array\<array\<Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface given in argument \#1\.$# in path /app/src/FormElement/FileElement.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/FileElement.php#L142
Only iterables can be unpacked, mixed given in argument #1.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/FileElement.php#L142
Parameter #1 ...$files of method ipl\Html\FormElement\FileElement::storeFiles() expects Psr\Http\Message\UploadedFileInterface, mixed given.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/FileElement.php#L1
Ignored error pattern #^Only iterables can be unpacked, array\<array\<Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface given in argument \#1\.$# in path /app/src/FormElement/FileElement.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/FileElement.php#L142
Only iterables can be unpacked, mixed given in argument #1.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/FileElement.php#L142
Parameter #1 ...$files of method ipl\Html\FormElement\FileElement::storeFiles() expects Psr\Http\Message\UploadedFileInterface, mixed given.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/FileElement.php#L1
Ignored error pattern #^Only iterables can be unpacked, array\<array\<Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface given in argument \#1\.$# in path /app/src/FormElement/FileElement.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/FileElement.php#L142
Only iterables can be unpacked, mixed given in argument #1.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/FileElement.php#L142
Parameter #1 ...$files of method ipl\Html\FormElement\FileElement::storeFiles() expects Psr\Http\Message\UploadedFileInterface, mixed given.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/FileElement.php#L1
Ignored error pattern #^Only iterables can be unpacked, array\<array\<Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface given in argument \#1\.$# in path /app/src/FormElement/FileElement.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/FileElement.php#L142
Only iterables can be unpacked, mixed given in argument #1.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/FileElement.php#L142
Parameter #1 ...$files of method ipl\Html\FormElement\FileElement::storeFiles() expects Psr\Http\Message\UploadedFileInterface, mixed given.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/FileElement.php#L1
Ignored error pattern #^Only iterables can be unpacked, array\<array\<Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface\>\|Psr\\Http\\Message\\UploadedFileInterface given in argument \#1\.$# in path /app/src/FormElement/FileElement.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/FileElement.php#L142
Only iterables can be unpacked, mixed given in argument #1.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/FileElement.php#L142
Parameter #1 ...$files of method ipl\Html\FormElement\FileElement::storeFiles() expects Psr\Http\Message\UploadedFileInterface, mixed given.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.