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 - Mark occurences of trait methods
Summary: Mark occurences of trait methods
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 15:14 UTC by Ondrej Brejla
Modified: 2012-05-28 15:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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