Loading coder_sniffer/Drupal/Sniffs/Semantics/FunctionTriggerErrorSniff.php +7 −7 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ class FunctionTriggerErrorSniff extends FunctionCall /** * Processes this function call. * * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. * @param \PHP_CodeSniffer\Files\File $phpcsFile The file being scanned. * @param int $stackPtr The position of the function call in * the stack. * @param int $openBracket The position of the opening Loading coder_sniffer/Drupal/Sniffs/Semantics/RemoteAddressSniff.php +3 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ class RemoteAddressSniff implements Sniff /** * Processes this test, when one of its tokens is encountered. * * @param \HP_CodeSniffer\Files\File $phpcsFile The current file being processed. * @param \PHP_CodeSniffer\Files\File $phpcsFile The current file being processed. * @param int $stackPtr The position of the current token * in the stack passed in $tokens. * Loading coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php +4 −2 Original line number Diff line number Diff line Loading @@ -36,6 +36,8 @@ class ArrayUnitTest extends CoderSniffUnitTest ]; } return []; }//end getErrorList() Loading Loading @@ -64,10 +66,10 @@ class ArrayUnitTest extends CoderSniffUnitTest 59 => 1, 76 => 1, ]; case 'ArrayUnitTest.1.inc': return []; } return []; }//end getWarningList() Loading coder_sniffer/Drupal/Test/Classes/ClassFileNameUnitTest.php +2 −6 Original line number Diff line number Diff line Loading @@ -23,14 +23,10 @@ class ClassFileNameUnitTest extends CoderSniffUnitTest switch ($testFile) { case 'ClassFileNameUnitTest.php': return [3 => 1]; case 'drupal8.behat.inc': return []; case 'class_fle_name_test.module': return []; case 'markdownFile.md': return []; } return []; }//end getErrorList() Loading coder_sniffer/Drupal/Test/Classes/FullyQualifiedNamespaceUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -23,10 +23,10 @@ class FullyQualifiedNamespaceUnitTest extends CoderSniffUnitTest switch ($testFile) { case 'FullyQualifiedNamespaceUnitTest.inc': return [3 => 1]; case 'FullyQualifiedNamespaceUnitTest.api.php': return []; } return []; }//end getErrorList() Loading Loading
coder_sniffer/Drupal/Sniffs/Semantics/FunctionTriggerErrorSniff.php +7 −7 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ class FunctionTriggerErrorSniff extends FunctionCall /** * Processes this function call. * * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. * @param \PHP_CodeSniffer\Files\File $phpcsFile The file being scanned. * @param int $stackPtr The position of the function call in * the stack. * @param int $openBracket The position of the opening Loading
coder_sniffer/Drupal/Sniffs/Semantics/RemoteAddressSniff.php +3 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ class RemoteAddressSniff implements Sniff /** * Processes this test, when one of its tokens is encountered. * * @param \HP_CodeSniffer\Files\File $phpcsFile The current file being processed. * @param \PHP_CodeSniffer\Files\File $phpcsFile The current file being processed. * @param int $stackPtr The position of the current token * in the stack passed in $tokens. * Loading
coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php +4 −2 Original line number Diff line number Diff line Loading @@ -36,6 +36,8 @@ class ArrayUnitTest extends CoderSniffUnitTest ]; } return []; }//end getErrorList() Loading Loading @@ -64,10 +66,10 @@ class ArrayUnitTest extends CoderSniffUnitTest 59 => 1, 76 => 1, ]; case 'ArrayUnitTest.1.inc': return []; } return []; }//end getWarningList() Loading
coder_sniffer/Drupal/Test/Classes/ClassFileNameUnitTest.php +2 −6 Original line number Diff line number Diff line Loading @@ -23,14 +23,10 @@ class ClassFileNameUnitTest extends CoderSniffUnitTest switch ($testFile) { case 'ClassFileNameUnitTest.php': return [3 => 1]; case 'drupal8.behat.inc': return []; case 'class_fle_name_test.module': return []; case 'markdownFile.md': return []; } return []; }//end getErrorList() Loading
coder_sniffer/Drupal/Test/Classes/FullyQualifiedNamespaceUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -23,10 +23,10 @@ class FullyQualifiedNamespaceUnitTest extends CoderSniffUnitTest switch ($testFile) { case 'FullyQualifiedNamespaceUnitTest.inc': return [3 => 1]; case 'FullyQualifiedNamespaceUnitTest.api.php': return []; } return []; }//end getErrorList() Loading