Use cover
method from Intervention
#285
test.yaml
on: pull_request
coding-style
19s
static-analysis
22s
Matrix: tests
Annotations
5 errors
RedundantConditionGivenDocblockType:
src/Manipulators/Size.php#L369
src/Manipulators/Size.php:369:47: RedundantConditionGivenDocblockType: Docblock-defined type string for $position is never null (see https://psalm.dev/156)
|
DocblockTypeContradiction:
src/Manipulators/Size.php#L369
src/Manipulators/Size.php:369:60: DocblockTypeContradiction: Cannot resolve types for $position - docblock-defined type string does not contain null (see https://psalm.dev/155)
|
static-analysis
Process completed with exit code 2.
|
static-analysis:
src/Manipulators/Size.php#L369
Variable $position on left side of ?? always exists and is not nullable.
|
static-analysis
Process completed with exit code 1.
|