You are here

Classes, traits, and interfaces in Coder 7.2

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
Bar class coder_sniffer/Test/bad/bad.php
Bar class coder_sniffer/Test/good/good.php Class declaration
CoderReviewCommentTest class coder_review/tests/coder_review_comment.test Tests the functionality of comment review rules in Coder_review module.
CoderReviewI18nTest class coder_review/tests/coder_review_i18n.test Tests the Coder_review detection of internationalization functionality.
CoderReviewSecurityTest class coder_review/tests/coder_review_security.test Tests the Coder_review functionality to detect security-related rules.
CoderReviewSnifferTest class coder_review/tests/coder_review_sniffer.test Class to test for the coder sniffer rules.
CoderReviewSQLTest class coder_review/tests/coder_review_sql.test Tests the Coder_review dectection functionality related to SQL.
CoderReviewStyleTest class coder_review/tests/coder_review_style.test Class to test for the style of the required Drupal coding standards.
CoderReviewUpgrade6xTest class coder_review/tests/coder_review_6x.test ???
CoderReviewUpgrade7xTest class coder_review/tests/coder_review_7x.test ???
CoderSniffUnitTest abstract class coder_sniffer/Test/CoderSniffUnitTest.php An abstract class that all sniff unit tests must extend. 3
CoderTestCase class scripts/coder_format/tests/CoderTestCase.php
CoderTestFile class scripts/coder_format/tests/CoderTestFile.php Represents coder test file for full coder_format_string_all() tests.
CoderUpgradeUnitTestCase class coder_upgrade/coder_upgrade.test Unit tests for the upgrade routines. 2
CoderUpgradeUnitTestCase1 class coder_upgrade/coder_upgrade.test Unit tests on a single file in files/coder_upgrade/old/test.
CoderUpgradeUnitTestCase2 class coder_upgrade/coder_upgrade.test Unit tests on a sample module in files/coder_upgrade/old/samples.
CoderUpgradeWebTestCase class coder_upgrade/coder_upgrade.test Functional tests for the admin interface (settings and execution).
Drupal_BadUnitTest class coder_sniffer/Test/bad/BadUnitTest.php Unit test class for all bad files.
Drupal_CommentParser_FunctionCommentParser class coder_sniffer/Drupal/CommentParser/FunctionCommentParser.php Parses function doc comments.
Drupal_CommentParser_ParameterElement class coder_sniffer/Drupal/CommentParser/ParameterElement.php A class to represent param tags within a function comment.
Drupal_CommentParser_ReturnElement class coder_sniffer/Drupal/CommentParser/ReturnElement.php A class to represent return elements. We need this class because PHP_CodeSniffer_CommentParser_PairElement lacks the getWhitespaceBeforeComment() method.
Drupal_GoodUnitTest class coder_sniffer/Test/good/GoodUnitTest.php Unit test class for all good files that must not throw errors/warnings.
Drupal_Sniffs_Array_ArraySniff class coder_sniffer/Drupal/Sniffs/Array/ArraySniff.php Drupal_Sniffs_Array_ArraySniff.
Drupal_Sniffs_Classes_ClassCreateInstanceSniff class coder_sniffer/Drupal/Sniffs/Classes/ClassCreateInstanceSniff.php Class create instance Test.
Drupal_Sniffs_Classes_ClassDeclarationSniff class coder_sniffer/Drupal/Sniffs/Classes/ClassDeclarationSniff.php Class Declaration Test.
Drupal_Sniffs_Classes_InterfaceNameSniff class coder_sniffer/Drupal/Sniffs/Classes/InterfaceNameSniff.php Checks that interface names end with "Interface".
Drupal_Sniffs_Commenting_DocCommentAlignmentSniff class coder_sniffer/Drupal/Sniffs/Commenting/DocCommentAlignmentSniff.php Drupal_Sniffs_Commenting_DocCommentAlignmentSniff.
Drupal_Sniffs_Commenting_FileCommentSniff class coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php Parses and verifies the doc comments for files.
Drupal_Sniffs_Commenting_FileCommentUnitTest class coder_sniffer/Test/Commenting/FileCommentUnitTest.php
Drupal_Sniffs_Commenting_FunctionCommentSniff class coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php Parses and verifies the doc comments for functions. Largely copied from Squiz_Sniffs_Commenting_FunctionCommentSniff.
Drupal_Sniffs_Commenting_InlineCommentSniff class coder_sniffer/Drupal/Sniffs/Commenting/InlineCommentSniff.php PHP_CodeSniffer_Sniffs_Drupal_Commenting_InlineCommentSniff.
Drupal_Sniffs_ControlStructures_ControlSignatureSniff class coder_sniffer/Drupal/Sniffs/ControlStructures/ControlSignatureSniff.php Verifies that control statements conform to their coding standards.
Drupal_Sniffs_ControlStructures_ElseCatchNewlineSniff class coder_sniffer/Drupal/Sniffs/ControlStructures/ElseCatchNewlineSniff.php Checks that else/elseif/catch statements start on a new line.
Drupal_Sniffs_ControlStructures_ElseIfSniff class coder_sniffer/Drupal/Sniffs/ControlStructures/ElseIfSniff.php Verifies that control statements conform to their coding standards.
Drupal_Sniffs_ControlStructures_InlineControlStructureSniff class coder_sniffer/Drupal/Sniffs/ControlStructures/InlineControlStructureSniff.php Drupal_Sniffs_ControlStructures_InlineControlStructureSniff.
Drupal_Sniffs_ControlStructures_TemplateControlStructureSniff class coder_sniffer/Drupal/Sniffs/ControlStructures/TemplateControlStructureSniff.php Checks that control structures in template files use the alternative syntax with ":" and end statements.
Drupal_Sniffs_CSS_ClassDefinitionClosingBraceSpaceSniff class coder_sniffer/Drupal/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php Ensure that there is exactly one new line before a class closing brace. Copied from Squiz_Sniffs_CSS_ClassDefinitionClosingBraceSpaceSniff because of a bug: https://pear.php.net/bugs/bug.php?id=19283
Drupal_Sniffs_CSS_ClassDefinitionNameSpacingSniff class coder_sniffer/Drupal/Sniffs/CSS/ClassDefinitionNameSpacingSniff.php Ensure there are no blank lines between the names of classes/IDs. Copied from Squiz_Sniffs_CSS_ClassDefinitionNameSpacingSniff because of this bug: https://pear.php.net/bugs/bug.php?id=19256
Drupal_Sniffs_CSS_ClassDefinitionOpeningBraceSpaceSniff class coder_sniffer/Drupal/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php Ensure there is a single space before the opening brace in a class definition and the content starts on the next line. Copied from Squiz_Sniffs_CSS_ClassDefinitionOpeningBraceSpaceSniff.
Drupal_Sniffs_CSS_ColourDefinitionSniff class coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php Squiz_Sniffs_CSS_ColourDefinitionSniff.
Drupal_Sniffs_CSS_IndentationSniff class coder_sniffer/Drupal/Sniffs/CSS/IndentationSniff.php Copied from Squiz_Sniffs_CSS_IndentationSniff. Unfortunately we cannot use that class directly because it has the 4 spaces condition hardcoded.
Drupal_Sniffs_Files_LineLengthSniff class coder_sniffer/Drupal/Sniffs/Files/LineLengthSniff.php Checks comment lines in the file, and throws warnings if they are over 80 characters in length.
Drupal_Sniffs_Files_TxtFileLineLengthSniff class coder_sniffer/Drupal/Sniffs/Files/TxtFileLineLengthSniff.php Drupal_Sniffs_Files_TxtFileLineLengthSniff.
Drupal_Sniffs_Formatting_DisallowCloseTagSniff class coder_sniffer/Drupal/Sniffs/Formatting/DisallowCloseTagSniff.php "?>" at the end of files it not allowed.
Drupal_Sniffs_Formatting_MultiLineAssignmentSniff class coder_sniffer/Drupal/Sniffs/Formatting/MultiLineAssignmentSniff.php Drupal_Sniffs_Formatting_MultiLineAssignmentSniff.
Drupal_Sniffs_Formatting_SpaceInlineIfSniff class coder_sniffer/Drupal/Sniffs/Formatting/SpaceInlineIfSniff.php Checks short if caluses with "?" and ":" operator spacing.
Drupal_Sniffs_Formatting_SpaceUnaryOperatorSniff class coder_sniffer/Drupal/Sniffs/Formatting/SpaceUnaryOperatorSniff.php Drupal_Sniffs_Formatting_SpaceUnaryOperatorSniff.
Drupal_Sniffs_Functions_DiscouragedFunctionsSniff class coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php Discourage the use of debug functions.
Drupal_Sniffs_Functions_FunctionDeclarationSniff class coder_sniffer/Drupal/Sniffs/Functions/FunctionDeclarationSniff.php Ensure that there is only one space after the function keyword and no space before the opening parenthesis.
Drupal_Sniffs_InfoFiles_ClassFilesSniff class coder_sniffer/Drupal/Sniffs/InfoFiles/ClassFilesSniff.php Checks files[] entries in info files. Only files containing classes/interfaces should be listed.

Pages

Other projects