Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

PHP 8 Compatibility - DateTime::getLastErrors can return false|array #98

Merged
merged 1 commit into from
Dec 19, 2022
Merged

PHP 8 Compatibility - DateTime::getLastErrors can return false|array #98

merged 1 commit into from
Dec 19, 2022

Conversation

PhilETaylor
Copy link
Contributor

replacement for #94

DateTime::getLastErrors() is documented as returning array|false https://www.php.net/manual/en/datetime.getlasterrors.php

As discussed here symfony/symfony#47428 (comment)

@derickr quoted as saying
"This is a bug fix as the new 8.2 behaviour is how it has been documented for over a decade."

Copy link
Contributor

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but not a maintainer.

@fgrosse fgrosse merged commit 3d34326 into fgrosse:master Dec 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants