problemReporter.phpIncludeNotExistWarning(args, literal.sourceStart, literal.sourceEnd, referenceContext,
compilationUnit.compilationResult);
} else {
- impt.setFile( PHPFileUtil.createFile(path, project) );
+ try {
+ impt.setFile( PHPFileUtil.createFile(path, project) );
+ } catch (Exception e) {
+ // the file is outside of the workspace
+ }
}
}
}