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

updated Dice.php line 233, because __toString deprecated in PHP 7.4.1… #178

Closed
wants to merge 1 commit into from

Conversation

MichaelBrenden
Copy link

…, must be getName

@MichaelBrenden
Copy link
Author

MichaelBrenden commented Dec 27, 2019

ReflectionType::__toString() in PHP 7.4.1 deprecated per

php/php-src@b964298

@TRPB
Copy link
Member

TRPB commented Dec 27, 2019

I'll have to check which version getName was added in. I changed it from that to toString in an earlier commit because getName was only supported in the newest php versions at a time. Hopefully the depreciation means that getName is available in all supported php versions.

@jpirnat
Copy link

jpirnat commented Jan 26, 2020

Is there a planned time frame for when this issue (i.e., issue #177) will be addressed?

@TRPB
Copy link
Member

TRPB commented Jan 28, 2020

This couldn't be automatically merged due to the pull coming from an earlier branch so I haven't merged it.

I had also recently come across a bug when using $args and constructParams together which required changing this logic so this has now been fixed in master with a 4.0.2 release shortly.

@TRPB TRPB closed this Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants