Open Hubbitus opened 2 years ago
At master branch 32d5b78be50ba2ef6fb89334cea8646cce895c12
Please wait and do not merge request!
Situation became even worst, please look at the class Pimcore\Model\Listing\Dao\AbstractDao:
<?php
namespace Pimcore\Model\Listing\Dao;
use Pimcore\Model;
abstract class AbstractDao extends Model\Dao\AbstractDao
{
There use Pimcore\Model;
is not class use, but namespace! And class extend the same-named class from another namespace!
So, I see only single robust solution to resolve all such cases - use reflection instead of parsing...
Good find, i agree, this is probably the best way to go :+1:
Meantime that may be slow sometimes...
I think that's an acceptable trade off, since this is not something that needs to be super fast but accurate. Impact should be negligible 😁
And I have got error:
Problem happened on class declaration starting from:
Class
AbstractClassNameLoader
indeed did not listed in theuse
statements, but that present in the same namespace and directory.