Skip to content

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

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 #161

Triggered via pull request August 4, 2023 09:33
Status Failure
Total duration 38s
Artifacts

ci.yml

on: pull_request
Coding Style
29s
Coding Style
Prefer Lowest
13s
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/BlueimpController.php#L53
Cannot access offset 'bytes_processed' on mixed.
Coding Style: src/Controller/BlueimpController.php#L54
Cannot access offset 'content_length' on mixed.
Coding Style: src/Controller/BlueimpController.php#L67
Cannot use array destructuring on array<int, string>|false.
Coding Style: src/Controller/BlueimpController.php#L78
Binary operation "/" between string and int results in an error.
Coding Style: src/Controller/DropzoneController.php#L58
Cannot call method getClientOriginalName() on mixed.
Coding Style: src/Controller/PluploadController.php#L47
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Coding Style: src/DependencyInjection/OneupUploaderExtension.php#L114
Variable $controllerName in empty() always exists and is not falsy.
Coding Style: src/DependencyInjection/OneupUploaderExtension.php#L288
Method Oneup\UploaderBundle\DependencyInjection\OneupUploaderExtension::getMaxUploadSize() has parameter $input with no type specified.
Coding Style: src/DependencyInjection/OneupUploaderExtension.php#L301
Method Oneup\UploaderBundle\DependencyInjection\OneupUploaderExtension::getValueInBytes() has parameter $input with no type specified.
Coding Style: src/Routing/RouteLoader.php#L29
Method Oneup\UploaderBundle\Routing\RouteLoader::load() has parameter $resource with no type specified.