Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332446 - [PHP 5.3] Namespaces defined in Include Path are not recognized
Summary: [PHP 5.3] Namespaces defined in Include Path are not recognized
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 10:32 EST by Ciaro CLA
Modified: 2020-05-14 11:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ciaro CLA 2010-12-13 10:32:19 EST
Build Identifier: 20100917-0705

It seems to me (or am I missing something?) that namespaces defined in an external library (referred in PHP include path) are not recognized by Eclipse PDT, giving errors and warnings* and no autocomplete capabilities... 

* Errors seem to be fixed in Helios Service Release 1, but PDT is still lacking autocomplete in the context stated above...

Reproducible: Always

Steps to Reproduce:
Grab a copy of the Lithium PHP 5.3 framework (http://www.lithify.me) and include the 'libraries' directory as an external source.
Comment 1 Ciaro CLA 2010-12-14 05:19:45 EST
Tested in M201010110334, same behavior...
Comment 2 xu jiaxi CLA 2010-12-15 00:23:23 EST
I tested it in the HEAD code, it works fine.
What's your project version?
Did you set the PHP Interpreter to PHP 5.3?
Comment 3 Zhongwei Zhao CLA 2011-05-11 03:35:28 EDT
works for me
Comment 4 Kalin CLA 2011-08-02 10:38:17 EDT
No longer reproducible.
Closing...