Skip to content

Fix "null as an array offset" deprecation#12

Merged
oscarotero merged 1 commit into
php-gettext:masterfrom
mlocati-forks:null-array-offset
Jun 18, 2026
Merged

Fix "null as an array offset" deprecation#12
oscarotero merged 1 commit into
php-gettext:masterfrom
mlocati-forks:null-array-offset

Conversation

@mlocati

@mlocati mlocati commented Jun 18, 2026

Copy link
Copy Markdown
Member

When running phpunit in recent PHP versions we have:

Deprecated: Using null as an array offset is deprecated, use an empty string instead in src/Translator.php on line 177
Deprecated: Using null as an array offset is deprecated, use an empty string instead in src/Translator.php on line 193

@oscarotero oscarotero merged commit beda3f4 into php-gettext:master Jun 18, 2026
9 checks passed
@mlocati mlocati deleted the null-array-offset branch June 19, 2026 05:23
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.

2 participants