Browse Source

Fix some documentation generation issues

Timothy J. Warren 11 months 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
71 71
         $previous_non_blank_token = $tokens[$previous_non_blank_token_ptr];
72 72
         if ($previous_non_blank_token['line'] === $else_token['line']) {
73 73
             $error = '"' . $else_token['content'] . '" should be on a new line.';
74
-            $phpcsFile->addError($error, $stackPtr);
74
+            $phpcsFile->addError($error, $stackPtr, 123423);
75 75
         }
76 76
 
77 77
     }//end process()

+ 2
- 2
phpdoc.dist.xml View File

@@ -12,7 +12,7 @@
12 12
 	</transformations>
13 13
 	<files>
14 14
 		<directory>src</directory>
15
-		<!-- <directory>vendor/aviat/ion/src</directory>
16
-		<directory>vendor/container-interop/container-interop/src</directory> -->
15
+		<directory>vendor/aviat/ion/src</directory>
16
+		<directory>vendor/container-interop/container-interop/src</directory>
17 17
 	</files>
18 18
 </phpdoc>