Skip to content

Add URL from Mysql config #75

Add URL from Mysql config

Add URL from Mysql config #75

Triggered via push October 23, 2024 19:26
Status Failure
Total duration 34s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
InvalidNullableReturnType: src/Rules/ExistsOnCrmDBRule.php#L32
src/Rules/ExistsOnCrmDBRule.php:32:21: InvalidNullableReturnType: The declared return type 'array<array-key, mixed>|string' for Bildvitta\IssCrm\Rules\ExistsOnCrmDBRule::message is not nullable, but 'array<array-key, mixed>|null|string' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rules/ExistsOnCrmDBRule.php#L34
src/Rules/ExistsOnCrmDBRule.php:34:16: NullableReturnStatement: The declared return type 'array<array-key, mixed>|string' for Bildvitta\IssCrm\Rules\ExistsOnCrmDBRule::message is not nullable, but the function returns 'array<array-key, mixed>|null|string' (see https://psalm.dev/139)
UnusedVariable: src/Scopes/Channel/CompanyScope.php#L14
src/Scopes/Channel/CompanyScope.php:14:70: UnusedVariable: $user is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: src/Scopes/Customer/RealEstateAgencyScope.php#L14
src/Scopes/Customer/RealEstateAgencyScope.php:14:77: UnusedVariable: $user is never referenced or the value is not used (see https://psalm.dev/077)
ParentNotFound: src/Traits/UsesCrmDB.php#L18
src/Traits/UsesCrmDB.php:18:16: ParentNotFound: Cannot call method on parent as this class does not extend another (see https://psalm.dev/017)
psalm
Process completed with exit code 2.
psalm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
psalm
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/