Skip to content

Quality assurance #2020

Quality assurance

Quality assurance #2020

Triggered via schedule November 30, 2024 00:45
Status Failure
Total duration 1m 51s
Artifacts

qa.yaml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

5 errors
MoreSpecificReturnType: src/Model/User.php#L124
src/Model/User.php:124:42: MoreSpecificReturnType: The declared return type 'non-empty-string' for Sonata\UserBundle\Model\User::getUserIdentifier is more specific than the inferred return type 'string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Model/User.php#L126
src/Model/User.php:126:16: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'non-empty-string' for Sonata\UserBundle\Model\User::getUserIdentifier (see https://psalm.dev/129)
Psalm
Process completed with exit code 2.
PHPStan: src/Model/User.php#L126
Method Sonata\UserBundle\Model\User::getUserIdentifier() should return non-empty-string but returns string.
PHPStan
Process completed with exit code 1.