Skip to content

Fixed psalm, test, coding standards and updated api spec #1160

Fixed psalm, test, coding standards and updated api spec

Fixed psalm, test, coding standards and updated api spec #1160

Triggered via pull request October 25, 2024 10:48
Status Failure
Total duration 1m 56s
Artifacts

pr.yaml

on: pull_request
markdownlint
12s
markdownlint
Changelog should be updated
8s
Changelog should be updated
yamllint (API resources)
5s
yamllint (API resources)
Matrix: API Specification validation
Matrix: php-cs-fixer
Matrix: phpunit
Matrix: psalm
Matrix: rector
Matrix: test-composer-install
Matrix: validate-doctrine-shema
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Changelog should be updated
Process completed with exit code 1.
PHP Coding Standards Fixer (PHP 8.3)
Process completed with exit code 8.
MissingClosureReturnType: src/State/ScreenProcessor.php#L84
src/State/ScreenProcessor.php:84:47: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
MissingClosureParamType: src/State/ScreenProcessor.php#L84
src/State/ScreenProcessor.php:84:57: MissingClosureParamType: Parameter $entry has no provided type (see https://psalm.dev/153)
PossiblyNullReference: src/State/ScreenProcessor.php#L91
src/State/ScreenProcessor.php:91:64: PossiblyNullReference: Cannot call method getId on possibly null value (see https://psalm.dev/083)
RedundantCondition: src/State/ScreenProcessor.php#L125
src/State/ScreenProcessor.php:125:13: RedundantCondition: Type App\Entity\Tenant\Screen for $screen is never null (see https://psalm.dev/122)
Psalm (PHP 8.3)
Process completed with exit code 2.
PHP Unit tests (PHP 8.3)
Process completed with exit code 1.