Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363705

Summary: No CA in case of aliased classes/namespaces
Product: z_Archived Reporter: Sylvia Tancheva <silviya>
Component: PDTAssignee: 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:

Description Sylvia Tancheva CLA 2011-11-14 10:28:40 EST
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 */
	}
}
Comment 1 Dawid Pakula CLA 2020-01-21 11:40:20 EST
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 ***
Comment 2 Dawid Pakula CLA 2020-01-21 12:10:58 EST
wrong ID

*** This bug has been marked as a duplicate of bug 522550 ***