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 242356 - Auto docblock in interfaces
Summary: Auto docblock in interfaces
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 10:33 UTC by krzysztek
Modified: 2014-04-24 11:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krzysztek 2014-02-26 10:33:47 UTC
When i'm trying to add docblock for interface method there is no @param annotation.

    interface Filter {
  
        public function shouldFilter(SomeClass $value);
        
    }
Comment 1 Ondrej Brejla 2014-02-26 10:40:51 UTC
Doesn't work in 7.4 either.
Comment 2 Ondrej Brejla 2014-02-26 12:25:59 UTC
Do not modify meta info, thanks.
Comment 3 Ondrej Brejla 2014-02-26 14:07:37 UTC
Fixed in web-main #14fdf546b51d
Comment 4 Quality Engineering 2014-02-27 02:37:14 UTC
Integrated into 'main-silver', will be available in build *201402270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/14fdf546b51d
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #242356 - Auto docblock in interfaces

InterfaceScope is marked as variable scope, because it can contain another variable scopes (e.g. MethodDeclaration which contains method params).
Comment 5 krzysztek 2014-02-27 07:31:50 UTC
It works.
Comment 6 mmolda 2014-03-06 14:13:55 UTC
Verified. Thanks.

Product Version: NetBeans IDE Dev (Build 201403060001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b131
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 7 Ondrej Brejla 2014-04-18 10:53:57 UTC
Transplanted to release80 branch.
Comment 8 Quality Engineering 2014-04-24 02:13:14 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/cb1c1042cea4
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #242356 - Auto docblock in interfaces

InterfaceScope is marked as variable scope, because it can contain another variable scopes (e.g. MethodDeclaration which contains method params).
(transplanted from 14fdf546b51d87035beda5b7990d22b24f523640)
Comment 9 Vladimir Riha 2014-04-24 11:42:50 UTC
Verified in patch1

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)