Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 20, 2025

Detailed Description

PHP 8.5 | Iri: fix two "Using null as an array offset" deprecation notices

Fixes deprecation notices which occur if $this->scheme is null.

Fixed now via some extra defensive coding.

This change is already covered via the existing tests.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists

PHP 8.5 | Response/Headers: fix a "Using null as an array offset" deprecation notice

Fixes deprecation notices which occur if $offset is null.

Fixed now via some extra defensive coding.

This change is already covered via the existing tests.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists

PHP 8.5 | Utility/CaseInsensitiveDictionary: fix another set of "Using null as an array offset" deprecation notices

Fixes deprecation notices which occur if $offset is null.

Fixed now via some extra defensive coding.

This change is already covered via the existing tests.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists

…tices

Fixes deprecation notices which occur if `$this->scheme` is `null`.

Fixed now via some extra defensive coding.

This change is already covered via the existing tests.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
…recation notice

Fixes deprecation notices which occur if `$offset` is `null`.

Fixed now via some extra defensive coding.

This change is already covered via the existing tests.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
…g null as an array offset" deprecation notices

Fixes deprecation notices which occur if `$offset` is `null`.

Fixed now via some extra defensive coding.

This change is already covered via the existing tests.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
@jrfnl jrfnl added this to the 2.0.x Next milestone Sep 20, 2025
@jrfnl jrfnl mentioned this pull request Nov 14, 2025
25 tasks
@schlessera schlessera merged commit 17ab000 into develop Nov 20, 2025
31 of 33 checks passed
@schlessera schlessera deleted the feature/php-8.5-fix-using-null-as-array-offset-notices branch November 20, 2025 08:36
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.

3 participants