mmoreram / GearmanBundle

GearmanBundle for Symfony2
MIT License
236 stars 104 forks source link

Update GearmanDescriber.php #200

Closed ro0NL closed 3 years ago

ro0NL commented 3 years ago

We still see The "Symfony\Component\HttpKernel\Kernel::getRootDir()" method is deprecated since Symfony 4.2, use getProjectDir() instead., coming from GearmanDescriber.php:178

I think the current state is a debug leftover from #196, or im missing it :)

dd(
    method_exists($this->kernel, 'getProjectDir') && false,
    method_exists($this->kernel, 'getProjectDir')
);

^ false
^ true