Skip to content

Improved type hints #126

Improved type hints

Improved type hints #126

Triggered via push January 26, 2025 02:14
Status Failure
Total duration 2m 7s
Artifacts

quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
UndefinedInterfaceMethod: src/Access/Impersonation.php#L32
src/Access/Impersonation.php:32:26: UndefinedInterfaceMethod: Method Illuminate\Contracts\Auth\Guard::loginUsingId does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/Access/Impersonation.php#L44
src/Access/Impersonation.php:44:26: UndefinedInterfaceMethod: Method Illuminate\Contracts\Auth\Guard::loginUsingId does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/Access/Impersonation.php#L101
src/Access/Impersonation.php:101:33: UndefinedInterfaceMethod: Method Illuminate\Contracts\Auth\Guard::getProvider does not exist (see https://psalm.dev/181)
InvalidNullableReturnType: src/Attachment/Engines/Generator.php#L122
src/Attachment/Engines/Generator.php:122:34: InvalidNullableReturnType: The declared return type 'string' for Orchid\Attachment\Engines\Generator::extension is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Attachment/Engines/Generator.php#L126
src/Attachment/Engines/Generator.php:126:16: NullableReturnStatement: The declared return type 'string' for Orchid\Attachment\Engines\Generator::extension is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
psalm
Process completed with exit code 2.
composer-validate
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phploc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636