Skip to content

fixin sonar

1919412
Select commit
Loading
Failed to load commit list.
Open

Adding support for PHP 8.5 #242

fixin sonar
1919412
Select commit
Loading
Failed to load commit list.
SonarQube Pull Requests / SonarQube Code Analysis succeeded Apr 10, 2026 in 19s

Annotations

Check failure on line 71 in src/SplitIO/Grammar/Condition.php

See this annotation in the file changed.

@sonarqube-pull-requests sonarqube-pull-requests / SonarQube Code Analysis

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

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonar.harness.io/project/issues?id=splitsoftware_split-sdk-php&pullRequest=242&issues=42d2defa-d093-477f-89c7-9f1311ec13c6&open=42d2defa-d093-477f-89c7-9f1311ec13c6

Check warning on line 139 in src/SplitIO/Sdk/LocalhostClient.php

See this annotation in the file changed.

@sonarqube-pull-requests sonarqube-pull-requests / SonarQube Code Analysis

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

[S1142] Functions should not contain too many return statements
 See more on https://sonar.harness.io/project/issues?id=splitsoftware_split-sdk-php&pullRequest=242&issues=3048c7d2-4e1d-4b27-93b9-159ed62f094f&open=3048c7d2-4e1d-4b27-93b9-159ed62f094f

Check warning on line 77 in src/SplitIO/Sdk/Client.php

See this annotation in the file changed.

@sonarqube-pull-requests sonarqube-pull-requests / SonarQube Code Analysis

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

[S1142] Functions should not contain too many return statements
 See more on https://sonar.harness.io/project/issues?id=splitsoftware_split-sdk-php&pullRequest=242&issues=b55eec97-4d0b-4619-8cef-3cffdd7243c9&open=b55eec97-4d0b-4619-8cef-3cffdd7243c9