Loading coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php +0 −5 Original line number Diff line number Diff line Loading @@ -189,11 +189,6 @@ class ScopeIndentSniff implements Sniff $checkAnnotations = $phpcsFile->config->annotations; for ($i = ($stackPtr + 1); $i < $phpcsFile->numTokens; $i++) { if ($i === false) { // Something has gone very wrong; maybe a parse error. break; } if ($checkAnnotations === true && $tokens[$i]['code'] === T_PHPCS_SET && isset($tokens[$i]['sniffCode']) === true Loading coder_sniffer/Drupal/Test/phpunit-bootstrap.php +2 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,5 @@ require 'vendor/autoload.php'; require 'CoderSniffUnitTest.php'; require 'vendor/squizlabs/php_codesniffer/autoload.php'; // PHPStan does not find the constants in this file, so load it manually. require_once 'vendor/squizlabs/php_codesniffer/src/Util/Tokens.php'; Loading
coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php +0 −5 Original line number Diff line number Diff line Loading @@ -189,11 +189,6 @@ class ScopeIndentSniff implements Sniff $checkAnnotations = $phpcsFile->config->annotations; for ($i = ($stackPtr + 1); $i < $phpcsFile->numTokens; $i++) { if ($i === false) { // Something has gone very wrong; maybe a parse error. break; } if ($checkAnnotations === true && $tokens[$i]['code'] === T_PHPCS_SET && isset($tokens[$i]['sniffCode']) === true Loading
coder_sniffer/Drupal/Test/phpunit-bootstrap.php +2 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,5 @@ require 'vendor/autoload.php'; require 'CoderSniffUnitTest.php'; require 'vendor/squizlabs/php_codesniffer/autoload.php'; // PHPStan does not find the constants in this file, so load it manually. require_once 'vendor/squizlabs/php_codesniffer/src/Util/Tokens.php';