Skip to content

Fix PHP 8.1 DateTime null parameter constructor deprecation - #81

Merged
DavidePastore merged 1 commit into
DavidePastore:masterfrom
cristoforocervino:master
Aug 5, 2025
Merged

Fix PHP 8.1 DateTime null parameter constructor deprecation#81
DavidePastore merged 1 commit into
DavidePastore:masterfrom
cristoforocervino:master

Conversation

@cristoforocervino

Copy link
Copy Markdown

https://www.php.net/manual/en/migration81.deprecated.php
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated
These changes avoid the deprecation warning by keeping the library behavior unchanged.

@DavidePastore
DavidePastore merged commit 15d06a2 into DavidePastore:master Aug 5, 2025
9 checks passed
@DavidePastore DavidePastore added this to the future-release milestone Aug 5, 2025
@DavidePastore

Copy link
Copy Markdown
Owner

Thank you for the PR, @cristoforocervino

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