Skip to content

Encode using media type instead of extension #244

Encode using media type instead of extension

Encode using media type instead of extension #244

Triggered via pull request December 16, 2024 22:08
Status Failure
Total duration 31s
Artifacts

test.yaml

on: pull_request
coding-style
19s
coding-style
static-analysis
21s
static-analysis
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
tests (8.1, lowest)
Process completed with exit code 2.
tests (8.1, highest)
Process completed with exit code 2.
tests (8.4, highest)
Process completed with exit code 2.
PossiblyNullArgument: src/Api/Encoder.php#L91
src/Api/Encoder.php:91:43: PossiblyNullArgument: Argument 1 of Intervention\Image\Interfaces\DriverInterface::supports cannot be null, possibly null value provided (see https://psalm.dev/078)
static-analysis
Process completed with exit code 2.
static-analysis: src/Api/Encoder.php#L91
Cannot access property $value on Intervention\Image\MediaType|null.
static-analysis: src/Api/Encoder.php#L91
Method League\Glide\Api\Encoder::getMediaType() should return Intervention\Image\MediaType but returns Intervention\Image\MediaType|null.
static-analysis: src/Api/Encoder.php#L91
Parameter #1 $identifier of method Intervention\Image\Interfaces\DriverInterface::supports() expects Intervention\Image\FileExtension|Intervention\Image\Format|Intervention\Image\MediaType|string, Intervention\Image\MediaType|null given.
static-analysis
Process completed with exit code 1.
tests (8.2, highest)
Process completed with exit code 2.
tests (8.3, highest)
Process completed with exit code 2.