Closed GuySartorelli closed 7 months ago
I think I've still got it wrong - I'm gonna add checking the static currentlyEnabled
to the test. Marking as draft in the meantime.
There we go, this should be correct and tests all scenarios.
SS_DEPRECATION_ENABLED
is set, we ignore the static $currentlyEnabled
And one last change to make the relationship between the static and the env variable clearer. This is ready for review now.
It's quite hard to read compared to what it was before, but I think we need both the nested and the elseif stanzas.
Yup, I must have forgotten to swap the target branch. Fixed and force-pushed to kick off tests again.
Issue