Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPDOC: Unusal ending of comment #10

Closed
rugk opened this issue Dec 27, 2015 · 5 comments
Closed

PHPDOC: Unusal ending of comment #10

rugk opened this issue Dec 27, 2015 · 5 comments

Comments

@rugk
Copy link

rugk commented Dec 27, 2015

This is your PHPDOC snippet:

/**
 * undocumented function summary
 *
 * Undocumented function long description
 *
 * @param type var Description
 **/
public function FunctionName($value='')
{
    # code...
}

However the comment ending as **/ is quite unusual. Usually (and as defined by phpdoc) you just end it with */.

It would be nice if you could correct this.

@rugk rugk changed the title PHPDOC: Unusal ending PHPDOC: Unusal ending of comment Dec 27, 2015
@rugk
Copy link
Author

rugk commented Dec 27, 2015

Wait no... This is not from your extension: This issue if in doc_f (snippet).

Any idea where this snippet comes from? Is it part of the default Atom snippets?

@jonrohan
Copy link
Owner

Interesting, it may be some autocorrect behavior in Atom? Leave this issue open and I'll see if I could track down the cause.

@rugk
Copy link
Author

rugk commented Dec 27, 2015

Okay, so FYI I've installed atom-autocomplete-php.

@jonrohan
Copy link
Owner

jonrohan commented Jan 1, 2016

It looks like this is being completed by doc_f snippet from the official langauge-php package https://github.com/atom/language-php/blob/d0f4aca74877c932dd9090421ac6448afd497def/snippets/language-php.cson#L145-L147

I think it's a bug, however should be addressed there.

@rugk
Copy link
Author

rugk commented Jan 2, 2016

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants