Skip to content

Fix null array offset deprecation in PHP 8.5#162

Merged
dereuromark merged 2 commits intomasterfrom
fix-null-array-offset
Feb 7, 2026
Merged

Fix null array offset deprecation in PHP 8.5#162
dereuromark merged 2 commits intomasterfrom
fix-null-array-offset

Conversation

@dereuromark
Copy link
Owner

Summary

  • Adds early return when iniKey is null to avoid using null as an array index
  • Fixes the PHP 8.5 deprecation warning: "Using null as an array offset is deprecated"

Add early return when iniKey is null to avoid using null as array index.
Update _constructIniKey to properly return null when controller is not set
@dereuromark dereuromark merged commit dbc0160 into master Feb 7, 2026
16 checks passed
@dereuromark dereuromark deleted the fix-null-array-offset branch February 7, 2026 09:09
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.

1 participant