Skip to content

SDK 2.7.0-beta

SDK 2.7.0-beta #1542

Triggered via pull request October 23, 2023 12:22
Status Success
Total duration 52s
Artifacts

code-style.yml

on: pull_request
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PossiblyNullArgument: src/Client/GRPC/BaseClient.php#L169
src/Client/GRPC/BaseClient.php:169:53: PossiblyNullArgument: Argument 1 of DateTime::diff cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullReference: src/Client/GRPC/BaseClient.php#L196
src/Client/GRPC/BaseClient.php:196:74: PossiblyNullReference: Cannot call method getTimestamp on possibly null value (see https://psalm.dev/083)
ImpureFunctionCall: src/Client/Interceptor/SystemInfoInterceptor.php#L41
src/Client/Interceptor/SystemInfoInterceptor.php:41:20: ImpureFunctionCall: Cannot call an impure function from a mutation-free context (see https://psalm.dev/202)
ImpureMethodCall: src/Client/Interceptor/SystemInfoInterceptor.php#L45
src/Client/Interceptor/SystemInfoInterceptor.php:45:49: ImpureMethodCall: Cannot call a possibly-mutating method Temporal\Client\GRPC\ServiceClient::getSystemInfo from a mutation-free context (see https://psalm.dev/203)
ImpureMethodCall: src/Client/Interceptor/SystemInfoInterceptor.php#L47
src/Client/Interceptor/SystemInfoInterceptor.php:47:42: ImpureMethodCall: Cannot call a possibly-mutating method Temporal\Api\Workflowservice\V1\GetSystemInfoResponse::getCapabilities from a mutation-free context (see https://psalm.dev/203)
ImpureMethodCall: src/Client/Interceptor/SystemInfoInterceptor.php#L49
src/Client/Interceptor/SystemInfoInterceptor.php:49:39: ImpureMethodCall: Cannot call a possibly-mutating method Temporal\Client\GRPC\ServiceClient::setServerCapabilities from a mutation-free context (see https://psalm.dev/203)
ImpureMethodCall: src/Client/Interceptor/SystemInfoInterceptor.php#L50
src/Client/Interceptor/SystemInfoInterceptor.php:50:58: ImpureMethodCall: Cannot call a possibly-mutating method Temporal\Api\Workflowservice\V1\GetSystemInfoResponse\Capabilities::getSignalAndQueryHeader from a mutation-free context (see https://psalm.dev/203)
ImpureMethodCall: src/Client/Interceptor/SystemInfoInterceptor.php#L51
src/Client/Interceptor/SystemInfoInterceptor.php:51:66: ImpureMethodCall: Cannot call a possibly-mutating method Temporal\Api\Workflowservice\V1\GetSystemInfoResponse\Capabilities::getInternalErrorDifferentiation from a mutation-free context (see https://psalm.dev/203)
InaccessibleProperty: src/Client/Interceptor/SystemInfoInterceptor.php#L60
src/Client/Interceptor/SystemInfoInterceptor.php:60:9: InaccessibleProperty: Temporal\Client\Interceptor\SystemInfoInterceptor::$systemInfoRequested is marked readonly (see https://psalm.dev/054)
ImpureFunctionCall: src/Client/Interceptor/SystemInfoInterceptor.php#L62
src/Client/Interceptor/SystemInfoInterceptor.php:62:16: ImpureFunctionCall: Cannot call an impure function from a mutation-free context (see https://psalm.dev/202)
Psalm Validation (PHP 8.2, OS ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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 Validation (PHP 8.2, OS ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/