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 213108

Summary: Mark occurences of trait methods
Product: php Reporter: Ondrej Brejla <obrejla>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Ondrej Brejla 2012-05-28 15:14:37 UTC
In this code:

<?php

trait A
{
  public function get^Name () // caret here 
  {
    return 'A';
  }
}

trait B
{
  use A { getName as protected ; } // getName should be marked
}

?>

...and vice versa