Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test suite to fix default Exception message (PHP 8.1) #210

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

bzikarsky
Copy link
Contributor

PHP8.1+ complains about Exception not accepting null as the message argument for an Exception constructor. This fixes it.

PHP8.1+ complains about Exception not accepting `null` as the message
argument for an `Exception` constructor. This fixes it.
@WyriHaximus WyriHaximus added this to the v3.0.0 milestone Feb 5, 2022
@WyriHaximus WyriHaximus requested review from WyriHaximus, clue, igorw and jsor and removed request for igorw February 5, 2022 21:34
@clue clue changed the title Fix incorrect default message for exception ctor Improve test suite to fix default Exception message (PHP 8.1) Feb 7, 2022
Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

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

@bzikarsky Thanks for looking into this, changes LGTM! :shipit:

Refs #199

@clue clue merged commit ec444aa into reactphp:master Feb 7, 2022
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.

5 participants