Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332554 - No class type or include file validation
Summary: No class type or include file validation
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 13:07 EST by dami dami CLA
Modified: 2020-05-14 11:18 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 dami dami CLA 2010-12-14 13:07:42 EST
Build Identifier: 20100617-1415

Eclipse doesn't complain about inexistent Classes or include files.

Original forum post: http://www.eclipse.org/forums/index.php?t=msg&th=201834&start=0&S=ba6e260cdf352dac1687d87e806f5876

Reproducible: Always

Steps to Reproduce:
1. Add a new php file to your prject.
2. Type: require_once 'some_inexistent_file.php';
3. Type: $instance= new SomeInexistentClass();
4. Open the problems view.
Comment 1 xu jiaxi CLA 2010-12-14 23:16:30 EST
PDT only has the syntax validation.
I think what mentioned should be a Runtime error.
We don't actually run the scripts only parse them.
Comment 2 dami dami CLA 2010-12-15 08:38:57 EST
I see, so this ticket should be an enhancement proposal actually.

(In reply to comment #1)
> PDT only has the syntax validation.
> I think what mentioned should be a Runtime error.
> We don't actually run the scripts only parse them.
Comment 3 Dawid Pakula CLA 2020-01-22 04:46:45 EST
PDT already have type validation. 

include/require validation isn't planned, it was replaced by class loaders.