Skip to content

Conversation

@tcarrio
Copy link

@tcarrio tcarrio commented Oct 28, 2025

PHP SDK

What did you accomplish?

Resolved an incorrect argument count when constructing SplitView inside LocalhostSplitManager.

This was a 100% failure rate code path that made local mode impossible to use in 7.3.0 (haven't validated earlier versions, but the line was committed 21 months prior).

How do we test the changes introduced in this PR?

A new test was added to the tests suite. This ensure the failure mode does not exist and serves as a regression test for LocalhostSplitManager going forward.

Extra Notes

Closes #240.

This provides regression coverage that the LocalhostSplitManager is providing sufficient arguments
to the SplitView constructor, both validating and ensuring no regressions of issue splitio#240.

Ref: splitio#240
@tcarrio tcarrio requested a review from a team as a code owner October 28, 2025 17:16
@tcarrio tcarrio changed the title Fix/incorrect arg count local mode fix: incorrect arg count local mode Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LocalhostSplitManager provides invalid number of arguments to SplitView constructor

1 participant