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

ReflectionParameter::getClass() is deprecated on PHP 8 #241

Closed
ondrejmirtes opened this issue Jul 6, 2020 · 2 comments
Closed

ReflectionParameter::getClass() is deprecated on PHP 8 #241

ondrejmirtes opened this issue Jul 6, 2020 · 2 comments

Comments

@ondrejmirtes
Copy link

From the UPGRADING guide in php-src:

  . ReflectionParameter::getClass(), ReflectionParameter::isArray(), and
    ReflectionParameter::isCallable() are deprecated.
    ReflectionParameter::getType() and the ReflectionType APIs should be used
    instead.

This is called in StandardTagFactory:

$class = $parameter->getClass();

@jaapio
Copy link
Member

jaapio commented Jul 6, 2020

There is a pr for this 👍

#240

@jaapio
Copy link
Member

jaapio commented Jul 20, 2020

This should be done now. Please try 5.2.0 let us know when you have any issues regarding php 8 support.

@jaapio jaapio closed this as completed Jul 20, 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

No branches or pull requests

2 participants