Skip to content

e2e: run lint and add check #242

e2e: run lint and add check

e2e: run lint and add check #242

Triggered via push August 5, 2023 15:05
Status Failure
Total duration 1m 6s
Artifacts
Validate Api Platform composer.lock
8s
Validate Api Platform composer.lock
Lint: API (psalm)
33s
Lint: API (psalm)
Lint: API (phpstan)
39s
Lint: API (phpstan)
API: validate migrations
56s
API: validate migrations
Fit to window
Zoom out
Zoom in

Annotations

3 errors
InvalidReturnType: src/Serializer/Normalizer/Error/TranslationInfoOfConstraintViolation.php#L18
src/Serializer/Normalizer/Error/TranslationInfoOfConstraintViolation.php:18:66: InvalidReturnType: The declared return type 'array<array-key, mixed>' for App\Serializer\Normalizer\Error\TranslationInfoOfConstraintViolation::removeCurlyBraces is incorrect, got 'array<array<array-key, string>|string, mixed>' (see https://psalm.dev/011)
InvalidReturnStatement: src/Serializer/Normalizer/Error/TranslationInfoOfConstraintViolation.php#L26
src/Serializer/Normalizer/Error/TranslationInfoOfConstraintViolation.php:26:16: InvalidReturnStatement: The inferred type 'array<array<array-key, string>|string, mixed>' does not match the declared return type 'array<array-key, mixed>' for App\Serializer\Normalizer\Error\TranslationInfoOfConstraintViolation::removeCurlyBraces (see https://psalm.dev/128)
Lint: API (psalm)
Process completed with exit code 2.