Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 3 additions and 3 deletions
Showing only changes of commit fb8db698a6 - Show all commits

View File

@ -71,7 +71,7 @@ class ElseOnNewLineSniff implements Sniff
$previous_non_blank_token = $tokens[$previous_non_blank_token_ptr]; $previous_non_blank_token = $tokens[$previous_non_blank_token_ptr];
if ($previous_non_blank_token['line'] === $else_token['line']) { if ($previous_non_blank_token['line'] === $else_token['line']) {
$error = '"' . $else_token['content'] . '" should be on a new line.'; $error = '"' . $else_token['content'] . '" should be on a new line.';
$phpcsFile->addError($error, $stackPtr); $phpcsFile->addError($error, $stackPtr, 123423);
} }
}//end process() }//end process()

View File

@ -12,7 +12,7 @@
</transformations> </transformations>
<files> <files>
<directory>src</directory> <directory>src</directory>
<!-- <directory>vendor/aviat/ion/src</directory> <directory>vendor/aviat/ion/src</directory>
<directory>vendor/container-interop/container-interop/src</directory> --> <directory>vendor/container-interop/container-interop/src</directory>
</files> </files>
</phpdoc> </phpdoc>