Encode using media type instead of extension #244
test.yaml
on: pull_request
coding-style
19s
static-analysis
21s
Matrix: tests
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.
|