Skip to content

Fixed various deprecation fixes for Symfony >6.1, some code changes for PHP >= 8.0 #158

Fixed various deprecation fixes for Symfony >6.1, some code changes for PHP >= 8.0

Fixed various deprecation fixes for Symfony >6.1, some code changes for PHP >= 8.0 #158

Triggered via pull request August 4, 2023 08:45
Status Failure
Total duration 32s
Artifacts

ci.yml

on: pull_request
Coding Style
20s
Coding Style
Prefer Lowest
16s
Prefer Lowest
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Prefer Lowest
Process completed with exit code 255.
Coding Style: src/Controller/AbstractController.php#L44
Parameter #3 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Coding Style: src/Controller/AbstractController.php#L59
Parameter #3 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Coding Style: src/Controller/AbstractController.php#L62
Cannot access offset 'cancel_upload' on mixed.
Coding Style: src/Controller/AbstractController.php#L108
Parameter #1 $file of class Oneup\UploaderBundle\Uploader\File\FilesystemFile constructor expects Symfony\Component\HttpFoundation\File\File, mixed given.
Coding Style: src/Controller/AbstractController.php#L150
Parameter #1 $file of class Oneup\UploaderBundle\Event\PostUploadEvent constructor expects Oneup\UploaderBundle\Uploader\File\FileInterface|Symfony\Component\HttpFoundation\File\File, mixed given.
Coding Style: src/Controller/AbstractController.php#L156
Parameter #1 $file of class Oneup\UploaderBundle\Event\PostPersistEvent constructor expects Oneup\UploaderBundle\Uploader\File\FileInterface|Symfony\Component\HttpFoundation\File\File, mixed given.
Coding Style: src/Controller/AbstractController.php#L175
Method Oneup\UploaderBundle\Controller\AbstractController::createSupportedJsonResponse() has parameter $data with no type specified.
Coding Style: src/Controller/BlueimpController.php#L46
Parameter #3 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Coding Style: src/Controller/BlueimpController.php#L51
Cannot access offset 'bytes_processed' on mixed.
Coding Style: src/Controller/BlueimpController.php#L52
Cannot access offset 'content_length' on mixed.