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

New checks: void type in functions #86

Closed
quasilyte opened this issue May 2, 2019 · 0 comments · Fixed by #234 or #235
Closed

New checks: void type in functions #86

quasilyte opened this issue May 2, 2019 · 0 comments · Fixed by #234 or #235
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest Simple issue that is suggested to be solved as a part of Hacktoberfest challenge help wanted Extra attention is needed

Comments

@quasilyte
Copy link
Contributor

quasilyte commented May 2, 2019

Code Example

// Warn that "void" is not a valid for input parameter.
/**
 * @param void $x
 * @return void
 */
function f($x) {}

Actual Behavior

No warnings.

Expected Behavior

Warning about void used as a type for "param"/"property" annotation.

@quasilyte quasilyte added the enhancement New feature or request label May 2, 2019
@quasilyte quasilyte added good first issue Good for newcomers Hacktoberfest Simple issue that is suggested to be solved as a part of Hacktoberfest challenge help wanted Extra attention is needed labels Oct 3, 2019
@quasilyte quasilyte reopened this Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest Simple issue that is suggested to be solved as a part of Hacktoberfest challenge help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant