Browse Source

Fix some documentation generation issues

tags/v4.0.0-rc2
Timothy Warren 1 year ago
parent
commit
fb8db698a6
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      build/CodeIgniter/Sniffs/WhiteSpace/ElseOnNewLineSniff.php
  2. +2
    -2
      phpdoc.dist.xml

+ 1
- 1
build/CodeIgniter/Sniffs/WhiteSpace/ElseOnNewLineSniff.php View File

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

+ 2
- 2
phpdoc.dist.xml View File

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