Hey,
I just updated phpactor through a :PlugUpdate. For some classes, it works right off the bat (I have completion for all the private / public members, and so on), but on another case, I don't have anything suggested. The case is the following ;
<?php declare(strict_types=1);
namespace Acme\Foo;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Bridge\Doctrine\RegistryInterface;
class UniqUnitReferenceValidator extends ConstraintValidator
{
/** @var RegistryInterface */
private $registry;
public function __construct(RegistryInterface $registry)
{
$this->registry = $registry;
}
public function validate($value, Constraint $constraint)
{
}
}
Trying to use the $this->registry, which should point to Symfony\Bridge\Doctrine\RegistryInterface, or even at least offer the properties / validate method or other methods in ContraintValidator), but instead I have only the basic autocompletion, based on the current tags.
Here are the logs ;
[2017-12-08T15:37:44.951645+01:00] phpactor.WARNING: Unable to locate class "Acme\Foo\UniqUnitReferenceValidator" for method "registry" [] []
[2017-12-08T15:37:45.058849+01:00] phpactor.WARNING: Unable to locate class "Acme\Foo\UniqUnitReferenceValidator" for method "registry" [] []
This is a new file unknown to git, but even with some files known to git, I have it seems the same error...
Hey,
I just updated phpactor through a
:PlugUpdate. For some classes, it works right off the bat (I have completion for all the private / public members, and so on), but on another case, I don't have anything suggested. The case is the following ;Trying to use the
$this->registry, which should point toSymfony\Bridge\Doctrine\RegistryInterface, or even at least offer the properties /validatemethod or other methods inContraintValidator), but instead I have only the basic autocompletion, based on the current tags.Here are the logs ;
This is a new file unknown to git, but even with some files known to git, I have it seems the same error...