Skip to content

Use durable input order for timed conditions in the PHP SDK - #475

Merged
rmcdaniel merged 5 commits into
mainfrom
general/sdk-php230-condition-selection
Nov 23, 2026
Merged

rmcdaniel merged 5 commits into
mainfrom
general/sdk-php230-condition-selection

Expect the ordered condition capability from PHP worker registration

9e87744
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 23, 2026 in 1m 17s

Annotations

Check failure on line 31 in src/Worker/ConditionInputOrder.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 67 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-php&issues=AaIKsULetJ-hThYyBLT1&open=AaIKsULetJ-hThYyBLT1&pullRequest=475

Check warning on line 131 in src/Worker/ConditionInputOrder.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 5 returns, which is more than the 3 allowed.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-php&issues=AaIKsULetJ-hThYyBLT0&open=AaIKsULetJ-hThYyBLT0&pullRequest=475

Check failure on line 997 in src/Worker/WorkflowContext.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-php&issues=AaIKsUGItJ-hThYyBLTz&open=AaIKsUGItJ-hThYyBLTz&pullRequest=475

Check warning on line 2110 in src/Worker.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 4 returns, which is more than the 3 allowed.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-php&issues=AaIKsUNKtJ-hThYyBLT3&open=AaIKsUNKtJ-hThYyBLT3&pullRequest=475

Check failure on line 131 in src/Worker/ConditionInputOrder.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 32 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-php&issues=AaIKsULetJ-hThYyBLT2&open=AaIKsULetJ-hThYyBLT2&pullRequest=475