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

PHP7: Resource as classname is forbidden #2

Open
weierophinney opened this issue Dec 31, 2019 · 0 comments
Open

PHP7: Resource as classname is forbidden #2

weierophinney opened this issue Dec 31, 2019 · 0 comments

Comments

@weierophinney
Copy link
Contributor

ZF\Rest\Resource generates a soft warning (for now) referring to the classname. "Resource" is listed as restricted on php.net.

This is the list of reservered php7 keywords: http://php.net/manual/en/reserved.other-reserved-words.php

Is there a plan to rename this class in the foreseeable future?


Originally posted by @alextartan at zfcampus/zf-rest#104

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

No branches or pull requests

1 participant