PHP Undefined Namespace
Hi, in some cases in php files i have "use" namespace like this:
use kateglo\application\faces\Equivalent;
use kateglo\application\faces\Hit;
use kateglo\application\faces\Document;
use Doctrine\Common\Collections\ArrayCollection;
use kateglo\application\daos;
//.. code ..
public function setEntry(daos\interfaces\Entry $entry) {
$this->entry = $entry;
}
//.. code ..
i bold the last namespace "application" and "interfaces" used as type safety in a method parameter. This namespace is showed in red color in my PHPStorm 2.0.1.
If i mouse over there it said "undefined namespace application" "referenced namespace is not found". This sytax is correct for php interpreter. But why not in PHPStorm 2.0.1?
how can i fixed the namespace reference?
regards,
Arthur
Attachment(s):
undefined_namespace.png
请先登录再写评论。
Please submit a bug report with self contained code example to project issue tracker http://youtrack.jetbrains.net/issues/WI
Done
http://youtrack.jetbrains.net/issue/WI-5966?projectKey=WI