Version 5.1 - All the GraphQL #32
@ -71,7 +71,7 @@ class ElseOnNewLineSniff implements Sniff
|
||||
$previous_non_blank_token = $tokens[$previous_non_blank_token_ptr];
|
||||
if ($previous_non_blank_token['line'] === $else_token['line']) {
|
||||
$error = '"' . $else_token['content'] . '" should be on a new line.';
|
||||
$phpcsFile->addError($error, $stackPtr);
|
||||
$phpcsFile->addError($error, $stackPtr, 123423);
|
||||
}
|
||||
|
||||
}//end process()
|
||||
|
@ -12,7 +12,7 @@
|
||||
</transformations>
|
||||
<files>
|
||||
<directory>src</directory>
|
||||
<!-- <directory>vendor/aviat/ion/src</directory>
|
||||
<directory>vendor/container-interop/container-interop/src</directory> -->
|
||||
<directory>vendor/aviat/ion/src</directory>
|
||||
<directory>vendor/container-interop/container-interop/src</directory>
|
||||
</files>
|
||||
</phpdoc>
|
Loading…
Reference in New Issue
Block a user