Skip to content

Remove implicit nullable types for PHP 8.4 compatibility#141

Merged
maciejlew merged 1 commit intosmsapi:masterfrom
maciejlew:php-8.4-compatibility
Apr 7, 2026
Merged

Remove implicit nullable types for PHP 8.4 compatibility#141
maciejlew merged 1 commit intosmsapi:masterfrom
maciejlew:php-8.4-compatibility

Conversation

@maciejlew
Copy link
Copy Markdown
Collaborator

Cherry pick from #139

Replace bool $param = null with $param = null (untyped) to avoid E_DEPRECATED in PHP 8.4 while maintaining backward compatibility with PHP 7.0+ as declared in composer.json.

Type information preserved in @param docblocks for IDE/static analysis.

Replace `bool $param = null` with `$param = null` (untyped) to avoid
E_DEPRECATED in PHP 8.4 while maintaining backward compatibility
with PHP 7.0+ as declared in composer.json.

Type information preserved in @param docblocks for IDE/static analysis.
@maciejlew maciejlew self-assigned this Apr 7, 2026
@maciejlew maciejlew merged commit 6d46451 into smsapi:master Apr 7, 2026
11 checks passed
@maciejlew maciejlew deleted the php-8.4-compatibility branch April 7, 2026 10:42
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.

2 participants