Do you wish to register an account?
Browse Source

Fix some documentation generation issues

pull/1/head
Timothy Warren 4 years ago
parent
commit
fb8db698a6
  1. 2
      build/CodeIgniter/Sniffs/WhiteSpace/ElseOnNewLineSniff.php
  2. 4
      phpdoc.dist.xml

2
build/CodeIgniter/Sniffs/WhiteSpace/ElseOnNewLineSniff.php

@ -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()

4
phpdoc.dist.xml

@ -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…
Cancel
Save