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

Bug 318364

Summary: [syntax coloring] 'Parameter variables' syntax coloring does not work with objects
Product: z_Archived Reporter: Joshua Ross <joshualross>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gadi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Joshua Ross CLA 2010-06-29 14:26:47 EDT
The 'Parameter variables' syntax coloring does not work if the parameter is an object.  Specifically, when the object is accessing a property.  Here is an example.


function foo($someObject) 
{
    $someVariable = $someObject->bar;
}

'$someObject' does not have the correct syntax coloring inside the method in this example.
Comment 1 Zhongwei Zhao CLA 2010-07-05 08:40:36 EDT
fixed in head and branch
Comment 2 Gadi Goldbarg CLA 2010-08-26 10:16:21 EDT
[Petyo Tanchev]

Tested on 2.2.1 SR1
Fixed