Skip to content

#251 fix: resolve PHP 8.5 deprecation for null array offset - #252

Merged
fre5h merged 1 commit into
fre5h:mainfrom
sctr:fix/php-8.5-null-array-offset-deprecation
Jan 7, 2026
Merged

fre5h merged 1 commit into
fre5h:mainfrom
sctr:fix/php-8.5-null-array-offset-deprecation

Conversation

@deluxetom

Copy link
Copy Markdown
Contributor

Add explicit null check before using value as array offset in convertToPHPValue() to avoid the "Using null as an array offset is deprecated" warning in PHP 8.5.

Fixes #251

Add explicit null check before using value as array offset in
convertToPHPValue() to avoid the "Using null as an array offset
is deprecated" warning in PHP 8.5.

Fixes fre5h#251

馃 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@deluxetom
deluxetom requested a review from fre5h as a code owner January 6, 2026 16:30
@deluxetom

Copy link
Copy Markdown
Contributor Author

@fre5h I dont think my fix broke the tests, I can post a new ticket to fix those if you want

@fre5h fre5h self-assigned this Jan 7, 2026
@fre5h

fre5h commented Jan 7, 2026 •

Copy link
Copy Markdown
Owner

@deluxetom Thank you. No problem with tests, I've fixed them in main branch

@fre5h
fre5h merged commit 367f0ee into fre5h:main Jan 7, 2026
6 of 8 checks passed
@fre5h

fre5h commented Jan 7, 2026

Copy link
Copy Markdown
Owner

Please use v12.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP 8.5 deprecation null as array offset

3 participants