Open aik099 opened 9 years ago
In https://github.com/squizlabs/PHP_CodeSniffer/blob/f894e7e16009000af0db0d9951d91ba90d5f1796/CodeSniffer/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php#L96 sniff it can be seen how mass-process tags in a DocBlock.
DocBlock:
Following scenarios (for reporting) are possible:
@access
tag present - do nothing@access
tag present, but doesn't match method/property visibility (consider missing visibility aspublic
) - report mismatchFixing scenarios:
@access
tag and remove@access
tag@access
tag, then remove@access
tag