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

Bug 367050

Summary: duplicate constructors in CA after 'new' keyword
Product: z_Archived Reporter: Zhongwei Zhao <zhaozhongwei>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kalin.a, silviya, wywrzal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Zhongwei Zhao CLA 2011-12-19 00:26:07 EST
php file:
<?php
namespace foo;
class fooClass1 {
 function function_name() {
  ;
 }
}
namespace bar;
use foo\fooClass1;

class barClass1 extends fooClass1{
 function function_name() {
  ;
 }
}
new fooClass1| <- CA here

you will see there are 2 proposals for fooClass1,one is alias the other is the \foo\fooClass1.
Comment 1 Zhongwei Zhao CLA 2011-12-19 00:26:54 EST
fixed
Comment 2 Kalin CLA 2012-07-04 10:06:25 EDT
The problem is still reproduced.
See the new attachment.
Comment 3 Kalin CLA 2012-07-04 10:07:07 EDT
Created attachment 218275 [details]
screenshot
Comment 4 Michal Niewrzal CLA 2016-05-19 08:47:37 EDT
Works correctly with latest PDT. Fixed indirectly.
Comment 5 Sylvia Tancheva CLA 2016-06-21 09:46:03 EDT
Right, closing