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

PHP 8.0: NewInterfaces: add new Stringable interface to the sniff #1183

Merged
merged 1 commit into from
Aug 9, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 19, 2020

Added Stringable interface, which is automatically implemented if a class defines a __toString() method.

Refs:

Related to #809

> Added Stringable interface, which is automatically implemented if a class defines a __toString() method.

Refs:
* https://wiki.php.net/rfc/stringable
* php/php-src#5083
* php/php-src@336eb48
@jrfnl jrfnl added enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Jul 19, 2020
@jrfnl jrfnl added this to the 10.0.0 milestone Jul 19, 2020
@jrfnl jrfnl requested a review from wimg July 19, 2020 23:12
@wimg wimg merged commit 66fe96f into develop Aug 9, 2020
@wimg wimg deleted the PHP-8.0/newinterfaces-add-stringable branch August 9, 2020 15:29
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 9, 2020
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.

None yet

2 participants