@@ -106,11 +106,11 @@ discard block |
||
| 106 | 106 | $tidy->parseString( |
| 107 | 107 | $html, |
| 108 | 108 | array( |
| 109 | - 'indent'=> true, |
|
| 110 | - 'output-xhtml' => $this->_xhtml, |
|
| 111 | - 'show-body-only' => true, |
|
| 112 | - 'indent-spaces' => 2, |
|
| 113 | - 'wrap' => 68, |
|
| 109 | + 'indent'=> true, |
|
| 110 | + 'output-xhtml' => $this->_xhtml, |
|
| 111 | + 'show-body-only' => true, |
|
| 112 | + 'indent-spaces' => 2, |
|
| 113 | + 'wrap' => 68, |
|
| 114 | 114 | ), |
| 115 | 115 | 'utf8' |
| 116 | 116 | ); |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | $this->_flashStack[count($this->_flashStack)-1]->param[$token->attr['name']] = $token->attr['value']; |
| 169 | 169 | } |
| 170 | 170 | $attr = $this->generateAttributes($token->attr, $token->name); |
| 171 | - return '<' . $token->name . ($attr ? ' ' : '') . $attr . |
|
| 171 | + return '<' . $token->name . ($attr ? ' ' : '') . $attr . |
|
| 172 | 172 | ( $this->_xhtml ? ' /': '' ) // <br /> v. <br> |
| 173 | 173 | . '>'; |
| 174 | 174 | |
@@ -103,9 +103,9 @@ |
||
| 103 | 103 | $parent_def = $definition->info_parent_def; |
| 104 | 104 | $stack = array( |
| 105 | 105 | array($top_node, |
| 106 | - $parent_def->descendants_are_inline, |
|
| 107 | - $parent_def->excludes, // exclusions |
|
| 108 | - 0) |
|
| 106 | + $parent_def->descendants_are_inline, |
|
| 107 | + $parent_def->excludes, // exclusions |
|
| 108 | + 0) |
|
| 109 | 109 | ); |
| 110 | 110 | |
| 111 | 111 | while (!empty($stack)) { |
@@ -151,8 +151,8 @@ |
||
| 151 | 151 | |
| 152 | 152 | // isset is in loop because $tokens size changes during loop exec |
| 153 | 153 | for (;; |
| 154 | - // only increment if we don't need to reprocess |
|
| 155 | - $reprocess ? $reprocess = false : $token = $zipper->next($token)) { |
|
| 154 | + // only increment if we don't need to reprocess |
|
| 155 | + $reprocess ? $reprocess = false : $token = $zipper->next($token)) { |
|
| 156 | 156 | |
| 157 | 157 | // check for a rewind |
| 158 | 158 | if (is_int($i)) { |
@@ -139,7 +139,7 @@ |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | $mState = 0; // cached expected number of octets after the current octet |
| 142 | - // until the beginning of the next UTF8 character sequence |
|
| 142 | + // until the beginning of the next UTF8 character sequence |
|
| 143 | 143 | $mUcs4 = 0; // cached Unicode character |
| 144 | 144 | $mBytes = 1; // cached expected number of octets in the current sequence |
| 145 | 145 | |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | public function generateKey($config) |
| 33 | 33 | { |
| 34 | 34 | return $config->version . ',' . // possibly replace with function calls |
| 35 | - $config->getBatchSerial($this->type) . ',' . |
|
| 36 | - $config->get($this->type . '.DefinitionRev'); |
|
| 35 | + $config->getBatchSerial($this->type) . ',' . |
|
| 36 | + $config->get($this->type . '.DefinitionRev'); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | $content = array(); |
| 87 | 87 | |
| 88 | 88 | $tbody_mode = false; // if true, then we need to wrap any stray |
| 89 | - // <tr>s with a <tbody>. |
|
| 89 | + // <tr>s with a <tbody>. |
|
| 90 | 90 | |
| 91 | 91 | $ws_accum =& $initial_ws; |
| 92 | 92 | |
@@ -25,21 +25,21 @@ |
||
| 25 | 25 | |
| 26 | 26 | // ...in NEWS |
| 27 | 27 | if ($is_dev = (strpos($version, 'dev') === false)) { |
| 28 | - $date = date('Y-m-d'); |
|
| 29 | - $news_c = str_replace( |
|
| 30 | - $l = "$version, unknown release date", |
|
| 31 | - "$version, released $date", |
|
| 32 | - file_get_contents('NEWS'), |
|
| 33 | - $c |
|
| 34 | - ); |
|
| 35 | - if (!$c) { |
|
| 36 | - echo 'Could not update NEWS, missing ' . $l . PHP_EOL; |
|
| 37 | - exit; |
|
| 38 | - } elseif ($c > 1) { |
|
| 39 | - echo 'More than one release declaration in NEWS replaced' . PHP_EOL; |
|
| 40 | - exit; |
|
| 41 | - } |
|
| 42 | - file_put_contents('NEWS', $news_c); |
|
| 28 | + $date = date('Y-m-d'); |
|
| 29 | + $news_c = str_replace( |
|
| 30 | + $l = "$version, unknown release date", |
|
| 31 | + "$version, released $date", |
|
| 32 | + file_get_contents('NEWS'), |
|
| 33 | + $c |
|
| 34 | + ); |
|
| 35 | + if (!$c) { |
|
| 36 | + echo 'Could not update NEWS, missing ' . $l . PHP_EOL; |
|
| 37 | + exit; |
|
| 38 | + } elseif ($c > 1) { |
|
| 39 | + echo 'More than one release declaration in NEWS replaced' . PHP_EOL; |
|
| 40 | + exit; |
|
| 41 | + } |
|
| 42 | + file_put_contents('NEWS', $news_c); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | // ...in Doxyfile |