You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/08/30 01:26:53 UTC
[GitHub] [netbeans] junichi11 opened a new pull request #1466:
[NETBEANS-1861] Recognize @method static for documenting static methods
junichi11 opened a new pull request #1466: [NETBEANS-1861] Recognize @method static for documenting static methods
URL: https://github.com/apache/netbeans/pull/1466
https://issues.apache.org/jira/browse/NETBEANS-1861
Example:
```php
/**
* Example class.
*
* @method testVoid(Test $test) test comment
* @method int testType(Test $test) test comment
* @method static staticTestVoid(Test $test) test comment
* @method static int staticTestType(Test $param1, $param2) test comment
* @method static ?int staticTestNullable(?string $param, int $param2) test comment
* @method static ?Example getDefault() Description
*/
class Example {
public function test() {
self::staticTestVoid($test);
self::staticTestType($param1, $param2);
self::staticTestNullable($param1, $param2);
self::getDefault();
}
}
```
- Fix DeclarationFinderImpl and PHPDocCommentParser
- Fix MarkOccurences and GoToDeclaration features
- Add unit tests for CC, MarkOccurences, GoToDeclaration, Navigator, CommentExtractor, ASTPHP5Parser, and PHPDocCommentParser
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists