Fixed code style #135
Annotations
10 errors and 2 warnings
InvalidStaticInvocation:
src/Access/RoleAccess.php#L55
src/Access/RoleAccess.php:55:37: InvalidStaticInvocation: Method Orchid\Support\Facades\Dashboard::model is not static, but is called statically (see https://psalm.dev/014)
|
InvalidStaticInvocation:
src/Access/UserAccess.php#L39
src/Access/UserAccess.php:39:37: InvalidStaticInvocation: Method Orchid\Support\Facades\Dashboard::model is not static, but is called statically (see https://psalm.dev/014)
|
FalsableReturnStatement:
src/Attachment/Engines/Generator.php#L110
src/Attachment/Engines/Generator.php:110:16: FalsableReturnStatement: The declared return type 'string' for Orchid\Attachment\Engines\Generator::hash does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
|
InvalidStaticInvocation:
src/Attachment/File.php#L134
src/Attachment/File.php:134:16: InvalidStaticInvocation: Method Orchid\Support\Facades\Dashboard::model is not static, but is called statically (see https://psalm.dev/014)
|
InvalidStaticInvocation:
src/Attachment/File.php#L150
src/Attachment/File.php:150:23: InvalidStaticInvocation: Method Orchid\Support\Facades\Dashboard::model is not static, but is called statically (see https://psalm.dev/014)
|
InvalidStaticInvocation:
src/Attachment/Models/Attachment.php#L103
src/Attachment/Models/Attachment.php:103:33: InvalidStaticInvocation: Method Orchid\Support\Facades\Dashboard::model is not static, but is called statically (see https://psalm.dev/014)
|
FalsableReturnStatement:
src/Attachment/Models/Attachment.php#L133
src/Attachment/Models/Attachment.php:133:16: FalsableReturnStatement: The declared return type 'null|string' for Orchid\Attachment\Models\Attachment::getRelativeUrlAttribute does not allow false, but the function returns 'false|null|string' (see https://psalm.dev/137)
|
InvalidStaticInvocation:
src/Attachment/Models/Attachment.php#L177
src/Attachment/Models/Attachment.php:177:31: InvalidStaticInvocation: Method Orchid\Support\Facades\Dashboard::model is not static, but is called statically (see https://psalm.dev/014)
|
UndefinedAttributeClass:
src/Platform/Configuration/ManagesMenu.php#L15
src/Platform/Configuration/ManagesMenu.php:15:7: UndefinedAttributeClass: Attribute class Orchid\Support\Attributes\ClearsOctaneState does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Platform/Configuration/ManagesScreens.php#L16
src/Platform/Configuration/ManagesScreens.php:16:7: UndefinedAttributeClass: Attribute class Orchid\Support\Attributes\ClearsOctaneState does not exist (see https://psalm.dev/241)
|
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
|