| Summary: | No CA in case of aliased classes/namespaces | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Sylvia Tancheva <silviya> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | zhaozhongwei, zulus |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
newer bug 517863 have better description. In general PDT completely ignore class_alias calls *** This bug has been marked as a duplicate of bug 517863 *** wrong ID *** This bug has been marked as a duplicate of bug 522550 *** |
Check the following examples: <?php namespace foo; use bar\baz; class X { public function doSomething(baz\Hello $hello) { // Autocompletion will not suggest members/methods of \bar\baz\Hello class $hello-> /*no suggestions here */ } } And: <?php namespace foo; use bar\baz; class X { /** * @param \bar\baz\Hello $hello */ public function doSomething(baz\Hello $hello) { // Autocompletion will not suggest members/methods of \bar\baz\Hello class $hello-> /* no suggestions here either */ } }