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

which rule is able to check missing comment for constant. #2946

Closed
pokemonhan opened this issue Apr 28, 2020 · 1 comment
Closed

which rule is able to check missing comment for constant. #2946

pokemonhan opened this issue Apr 28, 2020 · 1 comment

Comments

@pokemonhan
Copy link

I am finding the rule which can check the constant to avoid without comments or docs.
but I cannot find which rule to check missing comment for constants for e.g like
Squiz.Commenting.VariableComment .
Has there a rule to be able to check missing comment or doc for below constant, please

public const ENCRYPT_MODE_SECRET = 1;

@jrfnl
Copy link
Contributor

jrfnl commented Apr 28, 2020

Duplicate of #2221

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

3 participants