This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209171

Summary: \GlobalClass should be selected by default
Product: php Reporter: Ondrej Brejla <obrejla>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ondrej Brejla 2012-03-05 13:21:30 UTC
<?php
namespace {
    
    class GlobalClass {}
    
}

namespace MySpace {
    
    class ^Blah extends GlobalClass {
        
    }
    
}
?>

\GlobalClass has to be used in this case, otherwise it's not a working script. So the default selected value has to be "\GlobalClass", not "Don't use type".
Comment 1 Ondrej Brejla 2012-03-05 13:22:03 UTC
I mean "Fix uses..." action invoked under "^" mark.
Comment 2 Ondrej Brejla 2012-03-05 13:53:09 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/3723636369a9
Comment 3 Quality Engineering 2012-03-07 18:11:44 UTC
Integrated into 'main-golden', will be available in build *201203071105* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3723636369a9
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #209171 - \GlobalClass should be selected by default