phpDocumentor / ReflectionDocBlock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReflectionParameter::getClass() is deprecated on PHP 8

ondrejmirtes opened this issue · comments

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();

There is a pr for this 👍

#240

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