You are here

namespace Drupal\Sniffs\Commenting in Coder 8.2

Same name in other branches
  1. 8.3 Drupal\Sniffs\Commenting
  2. 8.3.x Drupal\Sniffs\Commenting
Classsort descending Location Description
ClassCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/ClassCommentSniff.php Checks that comment doc blocks exist on classes, interfaces and traits. Largely copied from PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\ClassCommentSniff.
ClassCommentUnitTest coder_sniffer/Drupal/Test/Commenting/ClassCommentUnitTest.php
DataTypeNamespaceSniff coder_sniffer/Drupal/Sniffs/Commenting/DataTypeNamespaceSniff.php Checks that data types in param, return, var tags are fully namespaced.
DataTypeNamespaceUnitTest coder_sniffer/Drupal/Test/Commenting/DataTypeNamespaceUnitTest.php
DocCommentAlignmentSniff coder_sniffer/Drupal/Sniffs/Commenting/DocCommentAlignmentSniff.php Largely copied from \PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\DocCommentAlignmentSniff to also handle the "var" keyword. See https://github.com/squizlabs/PHP_CodeSniffer/pull/1212
DocCommentAlignmentUnitTest coder_sniffer/Drupal/Test/Commenting/DocCommentAlignmentUnitTest.php
DocCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/DocCommentSniff.php Ensures doc blocks follow basic formatting.
DocCommentStarSniff coder_sniffer/Drupal/Sniffs/Commenting/DocCommentStarSniff.php Checks that a doc comment block has a doc comment star on every line.
DocCommentStarUnitTest coder_sniffer/Drupal/Test/Commenting/DocCommentStarUnitTest.php
DocCommentUnitTest coder_sniffer/Drupal/Test/Commenting/DocCommentUnitTest.php
FileCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php Parses and verifies the doc comments for files.
FileCommentUnitTest coder_sniffer/Drupal/Test/Commenting/FileCommentUnitTest.php
FunctionCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php Parses and verifies the doc comments for functions. Largely copied from PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\FunctionCommentSniff.
FunctionCommentUnitTest coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.php
HookCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/HookCommentSniff.php Ensures hook comments on function are correct.
InlineCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/InlineCommentSniff.php \Drupal\Sniffs\Commenting\InlineCommentSniff.
InlineCommentUnitTest coder_sniffer/Drupal/Test/Commenting/InlineCommentUnitTest.php
PostStatementCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/PostStatementCommentSniff.php Largely copied from \PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\PostStatementCommentSniff but we want the fixer to move the comment to the previous line.
PostStatementCommentUnitTest coder_sniffer/Drupal/Test/Commenting/PostStatementCommentUnitTest.php
VariableCommentSniff coder_sniffer/Drupal/Sniffs/Commenting/VariableCommentSniff.php Parses and verifies class property doc comments.
VariableCommentUnitTest coder_sniffer/Drupal/Test/Commenting/VariableCommentUnitTest.php