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 235285

Summary: Mark occurences for type constant usages in traits
Product: php Reporter: Ondrej Brejla <obrejla>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Ondrej Brejla 2013-08-30 07:23:02 UTC
<?php

trait Trt {
    public function bar() {
        echo static::FOO; // HERE
        echo static::FOO; // HERE
    }
}

class Cls {
    use Trt;

    const FOO = 1; // HERE
}
?>