Completed
Branch scrutinizer (4d54e2)
by Fabio
15:49
created
framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/HtmlTags.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
  * @ignore
27 27
  */
28 28
 
29
-require_once dirname(__FILE__).'/../Renderer.php';
30
-require_once dirname(__FILE__).'/../Renderer/Array.php';
29
+require_once dirname(__FILE__) . '/../Renderer.php';
30
+require_once dirname(__FILE__) . '/../Renderer/Array.php';
31 31
 
32 32
 /**
33 33
  * HTML basic tags renderer, based on Andrey Demenev's HTML renderer.
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 
157 157
             $iswhitespace = ctype_space($content);
158 158
             if (!$iswhitespace && !empty($this->_hilite_tags[$class])) {
159
-                $html_output .= '<'. $this->_hilite_tags[$class] . '>' . $content . '</'. $this->_hilite_tags[$class] . '>';
159
+                $html_output .= '<' . $this->_hilite_tags[$class] . '>' . $content . '</' . $this->_hilite_tags[$class] . '>';
160 160
             } else {
161 161
                 $html_output .= $content;
162 162
             }
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/Console.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
  * @ignore
25 25
  */
26 26
 
27
-require_once dirname(__FILE__).'/../Renderer.php';
27
+require_once dirname(__FILE__) . '/../Renderer.php';
28 28
 
29
-define ('HL_CONSOLE_DEFCOLOR', "\033[0m");
29
+define('HL_CONSOLE_DEFCOLOR', "\033[0m");
30 30
 
31 31
 /**
32 32
  * Console renderer
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
     function preprocess($str)
107 107
     {
108 108
         // normalize whitespace and tabs
109
-        $str = str_replace("\r\n","\n", $str);
110
-        $str = str_replace("\t",str_repeat(' ', $this->_tabsize), $str);
109
+        $str = str_replace("\r\n", "\n", $str);
110
+        $str = str_replace("\t", str_repeat(' ', $this->_tabsize), $str);
111 111
         return rtrim($str);
112 112
     }
113 113
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $this->_lastClass = '';
127 127
         if (isset($this->_options['numbers'])) {
128
-            $this->_numbers = (bool)$this->_options['numbers'];
128
+            $this->_numbers = (bool) $this->_options['numbers'];
129 129
         } else {
130 130
             $this->_numbers = false;
131 131
         }
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/BB.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  * @ignore
26 26
  */
27 27
 
28
-require_once dirname(__FILE__).'/../Renderer.php';
28
+require_once dirname(__FILE__) . '/../Renderer.php';
29 29
 
30 30
 /**
31 31
  * BB code renderer, based on Andrey Demenev's HTML renderer.
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      *
91 91
      * @var array
92 92
      */
93
-    var $_bb_tags = array (
93
+    var $_bb_tags = array(
94 94
         'color'     => 'color',
95 95
         'list'      => 'list',
96 96
         'list_item' => '*',
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      *
103 103
      * @var array
104 104
      */
105
-    var $_tag_brackets = array ('start' => '[', 'end' => ']');
105
+    var $_tag_brackets = array('start' => '[', 'end' => ']');
106 106
 
107 107
     /**
108 108
      * Colors map
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 
174 174
         $bb_output = '';
175 175
 
176
-        $color_start = $this->_tag_brackets['start'] . $this->_bb_tags['color'] . '=%s'  . $this->_tag_brackets['end'];
176
+        $color_start = $this->_tag_brackets['start'] . $this->_bb_tags['color'] . '=%s' . $this->_tag_brackets['end'];
177 177
         $color_end   = $this->_tag_brackets['start'] . '/' . $this->_bb_tags['color'] . $this->_tag_brackets['end'];
178 178
 
179 179
         // loop through each class=>content pair
@@ -203,13 +203,13 @@  discard block
 block discarded – undo
203 203
             $item_tag = $this->_tag_brackets['start'] .
204 204
                         $this->_bb_tags['list_item'] .
205 205
                         $this->_tag_brackets['end'];
206
-            $this->_output = $item_tag . str_replace("\n", "\n". $item_tag .' ', $bb_output);
206
+            $this->_output = $item_tag . str_replace("\n", "\n" . $item_tag . ' ', $bb_output);
207 207
             $this->_output = $this->_tag_brackets['start'] .
208 208
                              $this->_bb_tags['list'] .
209 209
                              $this->_tag_brackets['end'] .
210 210
                              $this->_output .
211 211
                              $this->_tag_brackets['start'] .
212
-                             '/'.
212
+                             '/' .
213 213
                              $this->_bb_tags['list'] .
214 214
                              $this->_tag_brackets['end']
215 215
                              ;
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/JSON.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
  * @ignore
25 25
  */
26 26
 
27
-require_once dirname(__FILE__).'/../Renderer.php';
28
-require_once dirname(__FILE__).'/../Renderer/Array.php';
27
+require_once dirname(__FILE__) . '/../Renderer.php';
28
+require_once dirname(__FILE__) . '/../Renderer/Array.php';
29 29
 
30 30
 /**
31 31
  * JSON renderer, based on Andrey Demenev's HTML renderer.
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         }
69 69
 
70
-        $this->_output  = '['. implode(',', $json_array) .']';
70
+        $this->_output = '[' . implode(',', $json_array) . ']';
71 71
         $this->_output = str_replace("\n", '\n', $this->_output);
72 72
 
73 73
     }
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/XML.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
  * @ignore
25 25
  */
26 26
 
27
-require_once dirname(__FILE__).'/../Renderer.php';
28
-require_once dirname(__FILE__).'/../Renderer/Array.php';
27
+require_once dirname(__FILE__) . '/../Renderer.php';
28
+require_once dirname(__FILE__) . '/../Renderer/Array.php';
29 29
 
30 30
 /**
31 31
  * XML renderer, based on Andrey Demenev's HTML renderer.
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/MYSQL.php 1 patch
Spacing   +69 added lines, -69 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@  discard block
 block discarded – undo
41 41
      * @param array  $options
42 42
      * @access public
43 43
      */
44
-    function __construct($options=array())
44
+    function __construct($options = array())
45 45
     {
46 46
 
47 47
         $this->_options = $options;
48
-        $this->_regs = array (
48
+        $this->_regs = array(
49 49
             -1 => '/((?i)`)|((?i)\\/\\*)|((?i)(#|--\\s).*)|((?i)[a-z_]\\w*(?=\\s*\\())|((?i)[a-z_]\\w*)|((?i)")|((?i)\\()|((?i)\')|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)\\d+l?|\\b0l?\\b)|((?i)0[xX][\\da-f]+l?)/',
50 50
             0 => '//',
51 51
             1 => '//',
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
             3 => '/((?i)`)|((?i)\\/\\*)|((?i)(#|--\\s).*)|((?i)[a-z_]\\w*(?=\\s*\\())|((?i)[a-z_]\\w*)|((?i)")|((?i)\\()|((?i)\')|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)\\d+l?|\\b0l?\\b)|((?i)0[xX][\\da-f]+l?)/',
54 54
             4 => '/((?i)\\\\.)/',
55 55
         );
56
-        $this->_counts = array (
56
+        $this->_counts = array(
57 57
             -1 =>
58
-            array (
58
+            array(
59 59
                 0 => 0,
60 60
                 1 => 0,
61 61
                 2 => 1,
@@ -70,17 +70,17 @@  discard block
 block discarded – undo
70 70
                 11 => 0,
71 71
             ),
72 72
             0 =>
73
-            array (
73
+            array(
74 74
             ),
75 75
             1 =>
76
-            array (
76
+            array(
77 77
             ),
78 78
             2 =>
79
-            array (
79
+            array(
80 80
                 0 => 0,
81 81
             ),
82 82
             3 =>
83
-            array (
83
+            array(
84 84
                 0 => 0,
85 85
                 1 => 0,
86 86
                 2 => 1,
@@ -95,13 +95,13 @@  discard block
 block discarded – undo
95 95
                 11 => 0,
96 96
             ),
97 97
             4 =>
98
-            array (
98
+            array(
99 99
                 0 => 0,
100 100
             ),
101 101
         );
102
-        $this->_delim = array (
102
+        $this->_delim = array(
103 103
             -1 =>
104
-            array (
104
+            array(
105 105
                 0 => 'quotes',
106 106
                 1 => 'comment',
107 107
                 2 => '',
@@ -116,17 +116,17 @@  discard block
 block discarded – undo
116 116
                 11 => '',
117 117
             ),
118 118
             0 =>
119
-            array (
119
+            array(
120 120
             ),
121 121
             1 =>
122
-            array (
122
+            array(
123 123
             ),
124 124
             2 =>
125
-            array (
125
+            array(
126 126
                 0 => '',
127 127
             ),
128 128
             3 =>
129
-            array (
129
+            array(
130 130
                 0 => 'quotes',
131 131
                 1 => 'comment',
132 132
                 2 => '',
@@ -141,13 +141,13 @@  discard block
 block discarded – undo
141 141
                 11 => '',
142 142
             ),
143 143
             4 =>
144
-            array (
144
+            array(
145 145
                 0 => '',
146 146
             ),
147 147
         );
148
-        $this->_inner = array (
148
+        $this->_inner = array(
149 149
             -1 =>
150
-            array (
150
+            array(
151 151
                 0 => 'identifier',
152 152
                 1 => 'comment',
153 153
                 2 => 'comment',
@@ -162,17 +162,17 @@  discard block
 block discarded – undo
162 162
                 11 => 'number',
163 163
             ),
164 164
             0 =>
165
-            array (
165
+            array(
166 166
             ),
167 167
             1 =>
168
-            array (
168
+            array(
169 169
             ),
170 170
             2 =>
171
-            array (
171
+            array(
172 172
                 0 => 'special',
173 173
             ),
174 174
             3 =>
175
-            array (
175
+            array(
176 176
                 0 => 'identifier',
177 177
                 1 => 'comment',
178 178
                 2 => 'comment',
@@ -187,20 +187,20 @@  discard block
 block discarded – undo
187 187
                 11 => 'number',
188 188
             ),
189 189
             4 =>
190
-            array (
190
+            array(
191 191
                 0 => 'special',
192 192
             ),
193 193
         );
194
-        $this->_end = array (
194
+        $this->_end = array(
195 195
             0 => '/(?i)`/',
196 196
             1 => '/(?i)\\*\\//',
197 197
             2 => '/(?i)"/',
198 198
             3 => '/(?i)\\)/',
199 199
             4 => '/(?i)\'/',
200 200
         );
201
-        $this->_states = array (
201
+        $this->_states = array(
202 202
             -1 =>
203
-            array (
203
+            array(
204 204
                 0 => 0,
205 205
                 1 => 1,
206 206
                 2 => -1,
@@ -215,17 +215,17 @@  discard block
 block discarded – undo
215 215
                 11 => -1,
216 216
             ),
217 217
             0 =>
218
-            array (
218
+            array(
219 219
             ),
220 220
             1 =>
221
-            array (
221
+            array(
222 222
             ),
223 223
             2 =>
224
-            array (
224
+            array(
225 225
                 0 => -1,
226 226
             ),
227 227
             3 =>
228
-            array (
228
+            array(
229 229
                 0 => 0,
230 230
                 1 => 1,
231 231
                 2 => -1,
@@ -240,105 +240,105 @@  discard block
 block discarded – undo
240 240
                 11 => -1,
241 241
             ),
242 242
             4 =>
243
-            array (
243
+            array(
244 244
                 0 => -1,
245 245
             ),
246 246
         );
247
-        $this->_keywords = array (
247
+        $this->_keywords = array(
248 248
             -1 =>
249
-            array (
249
+            array(
250 250
                 0 => -1,
251 251
                 1 => -1,
252 252
                 2 =>
253
-                array (
253
+                array(
254 254
                 ),
255 255
                 3 =>
256
-                array (
256
+                array(
257 257
                     'function' => '/^((?i)abs|acos|adddate|ascii|asin|atan|atan2|avg|benchmark|bin|ceiling|char|coalesce|concat|conv|cos|cot|count|curdate|curtime|database|dayname|dayofmonth|dayofweek|dayofyear|decode|degrees|elt|encode|encrypt|exp|extract|field|floor|format|greatest|hex|hour|if|ifnull|insert|instr|interval|isnull|lcase|least|left|length|locate|log|log10|lower|lpad|ltrim|max|md5|mid|min|minute|mod|month|monthname|now|nullif|oct|ord|password|pi|position|pow|power|prepare|quarter|radians|rand|repeat|replace|reverse|right|round|rpad|rtrim|second|sign|sin|soundex|space|sqrt|std|stddev|strcmp|subdate|substring|sum|sysdate|tan|trim|truncate|ucase|upper|user|version|week|weekday|year)$/',
258 258
                 ),
259 259
                 4 =>
260
-                array (
260
+                array(
261 261
                     'reserved' => '/^((?i)action|add|aggregate|all|alter|after|and|as|asc|avg|avg_row_length|auto_increment|between|bigint|bit|binary|blob|bool|both|by|cascade|case|char|character|change|check|checksum|column|columns|comment|constraint|create|cross|current_date|current_time|current_timestamp|data|database|databases|date|datetime|day|day_hour|day_minute|day_second|dayofmonth|dayofweek|dayofyear|dec|decimal|default|delayed|delay_key_write|delete|desc|describe|distinct|distinctrow|double|drop|end|else|escape|escaped|enclosed|enum|explain|exists|fields|file|first|float|float4|float8|flush|foreign|from|for|full|function|global|grant|grants|group|having|heap|high_priority|hour|hour_minute|hour_second|hosts|identified|ignore|in|index|infile|inner|insert|insert_id|int|integer|interval|int1|int2|int3|int4|int8|into|if|is|isam|join|key|keys|kill|last_insert_id|leading|left|length|like|lines|limit|load|local|lock|logs|long|longblob|longtext|low_priority|max|max_rows|match|mediumblob|mediumtext|mediumint|middleint|min_rows|minute|minute_second|modify|month|monthname|myisam|natural|numeric|no|not|null|on|optimize|option|optionally|or|order|outer|outfile|pack_keys|partial|password|precision|primary|procedure|process|processlist|privileges|read|real|references|reload|regexp|rename|replace|restrict|returns|revoke|rlike|row|rows|second|select|set|show|shutdown|smallint|soname|sql_big_tables|sql_big_selects|sql_low_priority_updates|sql_log_off|sql_log_update|sql_select_limit|sql_small_result|sql_big_result|sql_warnings|straight_join|starting|status|string|table|tables|temporary|terminated|text|then|time|timestamp|tinyblob|tinytext|tinyint|trailing|to|type|use|using|unique|unlock|unsigned|update|usage|values|varchar|variables|varying|varbinary|with|write|when|where|year|year_month|zerofill)$/',
262 262
                 ),
263 263
                 5 => -1,
264 264
                 6 => -1,
265 265
                 7 => -1,
266 266
                 8 =>
267
-                array (
267
+                array(
268 268
                 ),
269 269
                 9 =>
270
-                array (
270
+                array(
271 271
                 ),
272 272
                 10 =>
273
-                array (
273
+                array(
274 274
                 ),
275 275
                 11 =>
276
-                array (
276
+                array(
277 277
                 ),
278 278
             ),
279 279
             0 =>
280
-            array (
280
+            array(
281 281
             ),
282 282
             1 =>
283
-            array (
283
+            array(
284 284
             ),
285 285
             2 =>
286
-            array (
286
+            array(
287 287
                 0 =>
288
-                array (
288
+                array(
289 289
                 ),
290 290
             ),
291 291
             3 =>
292
-            array (
292
+            array(
293 293
                 0 => -1,
294 294
                 1 => -1,
295 295
                 2 =>
296
-                array (
296
+                array(
297 297
                 ),
298 298
                 3 =>
299
-                array (
299
+                array(
300 300
                     'function' => '/^((?i)abs|acos|adddate|ascii|asin|atan|atan2|avg|benchmark|bin|ceiling|char|coalesce|concat|conv|cos|cot|count|curdate|curtime|database|dayname|dayofmonth|dayofweek|dayofyear|decode|degrees|elt|encode|encrypt|exp|extract|field|floor|format|greatest|hex|hour|if|ifnull|insert|instr|interval|isnull|lcase|least|left|length|locate|log|log10|lower|lpad|ltrim|max|md5|mid|min|minute|mod|month|monthname|now|nullif|oct|ord|password|pi|position|pow|power|prepare|quarter|radians|rand|repeat|replace|reverse|right|round|rpad|rtrim|second|sign|sin|soundex|space|sqrt|std|stddev|strcmp|subdate|substring|sum|sysdate|tan|trim|truncate|ucase|upper|user|version|week|weekday|year)$/',
301 301
                 ),
302 302
                 4 =>
303
-                array (
303
+                array(
304 304
                     'reserved' => '/^((?i)action|add|aggregate|all|alter|after|and|as|asc|avg|avg_row_length|auto_increment|between|bigint|bit|binary|blob|bool|both|by|cascade|case|char|character|change|check|checksum|column|columns|comment|constraint|create|cross|current_date|current_time|current_timestamp|data|database|databases|date|datetime|day|day_hour|day_minute|day_second|dayofmonth|dayofweek|dayofyear|dec|decimal|default|delayed|delay_key_write|delete|desc|describe|distinct|distinctrow|double|drop|end|else|escape|escaped|enclosed|enum|explain|exists|fields|file|first|float|float4|float8|flush|foreign|from|for|full|function|global|grant|grants|group|having|heap|high_priority|hour|hour_minute|hour_second|hosts|identified|ignore|in|index|infile|inner|insert|insert_id|int|integer|interval|int1|int2|int3|int4|int8|into|if|is|isam|join|key|keys|kill|last_insert_id|leading|left|length|like|lines|limit|load|local|lock|logs|long|longblob|longtext|low_priority|max|max_rows|match|mediumblob|mediumtext|mediumint|middleint|min_rows|minute|minute_second|modify|month|monthname|myisam|natural|numeric|no|not|null|on|optimize|option|optionally|or|order|outer|outfile|pack_keys|partial|password|precision|primary|procedure|process|processlist|privileges|read|real|references|reload|regexp|rename|replace|restrict|returns|revoke|rlike|row|rows|second|select|set|show|shutdown|smallint|soname|sql_big_tables|sql_big_selects|sql_low_priority_updates|sql_log_off|sql_log_update|sql_select_limit|sql_small_result|sql_big_result|sql_warnings|straight_join|starting|status|string|table|tables|temporary|terminated|text|then|time|timestamp|tinyblob|tinytext|tinyint|trailing|to|type|use|using|unique|unlock|unsigned|update|usage|values|varchar|variables|varying|varbinary|with|write|when|where|year|year_month|zerofill)$/',
305 305
                 ),
306 306
                 5 => -1,
307 307
                 6 => -1,
308 308
                 7 => -1,
309 309
                 8 =>
310
-                array (
310
+                array(
311 311
                 ),
312 312
                 9 =>
313
-                array (
313
+                array(
314 314
                 ),
315 315
                 10 =>
316
-                array (
316
+                array(
317 317
                 ),
318 318
                 11 =>
319
-                array (
319
+                array(
320 320
                 ),
321 321
             ),
322 322
             4 =>
323
-            array (
323
+            array(
324 324
                 0 =>
325
-                array (
325
+                array(
326 326
                 ),
327 327
             ),
328 328
         );
329
-        $this->_parts = array (
329
+        $this->_parts = array(
330 330
             0 =>
331
-            array (
331
+            array(
332 332
             ),
333 333
             1 =>
334
-            array (
334
+            array(
335 335
             ),
336 336
             2 =>
337
-            array (
337
+            array(
338 338
                 0 => NULL,
339 339
             ),
340 340
             3 =>
341
-            array (
341
+            array(
342 342
                 0 => NULL,
343 343
                 1 => NULL,
344 344
                 2 => NULL,
@@ -353,13 +353,13 @@  discard block
 block discarded – undo
353 353
                 11 => NULL,
354 354
             ),
355 355
             4 =>
356
-            array (
356
+            array(
357 357
                 0 => NULL,
358 358
             ),
359 359
         );
360
-        $this->_subst = array (
360
+        $this->_subst = array(
361 361
             -1 =>
362
-            array (
362
+            array(
363 363
                 0 => false,
364 364
                 1 => false,
365 365
                 2 => false,
@@ -374,17 +374,17 @@  discard block
 block discarded – undo
374 374
                 11 => false,
375 375
             ),
376 376
             0 =>
377
-            array (
377
+            array(
378 378
             ),
379 379
             1 =>
380
-            array (
380
+            array(
381 381
             ),
382 382
             2 =>
383
-            array (
383
+            array(
384 384
                 0 => false,
385 385
             ),
386 386
             3 =>
387
-            array (
387
+            array(
388 388
                 0 => false,
389 389
                 1 => false,
390 390
                 2 => false,
@@ -399,13 +399,13 @@  discard block
 block discarded – undo
399 399
                 11 => false,
400 400
             ),
401 401
             4 =>
402
-            array (
402
+            array(
403 403
                 0 => false,
404 404
             ),
405 405
         );
406
-        $this->_conditions = array (
406
+        $this->_conditions = array(
407 407
         );
408
-        $this->_kwmap = array (
408
+        $this->_kwmap = array(
409 409
             'function' => 'reserved',
410 410
             'reserved' => 'reserved',
411 411
         );
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/PRADO.php 1 patch
Spacing   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -41,211 +41,211 @@
 block discarded – undo
41 41
      * @param array  $options
42 42
      * @access public
43 43
      */
44
-    function __construct($options=array())
44
+    function __construct($options = array())
45 45
     {
46 46
 
47 47
         $this->_options = $options;
48
-        $this->_regs = array (
48
+        $this->_regs = array(
49 49
             -1 => '/((?i)\\<\\!\\[CDATA\\[)|((?i)\\<!--)|((?i)\\<[\\?\\/]?)|((?i)(&|%)[\\w\\-\\.]+;)/',
50 50
             0 => '//',
51 51
             1 => '//',
52 52
             2 => '/((?i)(?<=[\\<\\/?])com:\\w+)|((?i)(?<=[\\<\\/?])[\\w\\-\\:]+)|((?i)[\\w\\-\\:]+)|((?i)")/',
53 53
             3 => '/((?i)(&|%)[\\w\\-\\.]+;)/',
54 54
         );
55
-        $this->_counts = array (
55
+        $this->_counts = array(
56 56
             -1 =>
57
-            array (
57
+            array(
58 58
                 0 => 0,
59 59
                 1 => 0,
60 60
                 2 => 0,
61 61
                 3 => 1,
62 62
             ),
63 63
             0 =>
64
-            array (
64
+            array(
65 65
             ),
66 66
             1 =>
67
-            array (
67
+            array(
68 68
             ),
69 69
             2 =>
70
-            array (
70
+            array(
71 71
                 0 => 0,
72 72
                 1 => 0,
73 73
                 2 => 0,
74 74
                 3 => 0,
75 75
             ),
76 76
             3 =>
77
-            array (
77
+            array(
78 78
                 0 => 1,
79 79
             ),
80 80
         );
81
-        $this->_delim = array (
81
+        $this->_delim = array(
82 82
             -1 =>
83
-            array (
83
+            array(
84 84
                 0 => 'comment',
85 85
                 1 => 'comment',
86 86
                 2 => 'brackets',
87 87
                 3 => '',
88 88
             ),
89 89
             0 =>
90
-            array (
90
+            array(
91 91
             ),
92 92
             1 =>
93
-            array (
93
+            array(
94 94
             ),
95 95
             2 =>
96
-            array (
96
+            array(
97 97
                 0 => '',
98 98
                 1 => '',
99 99
                 2 => '',
100 100
                 3 => 'quotes',
101 101
             ),
102 102
             3 =>
103
-            array (
103
+            array(
104 104
                 0 => '',
105 105
             ),
106 106
         );
107
-        $this->_inner = array (
107
+        $this->_inner = array(
108 108
             -1 =>
109
-            array (
109
+            array(
110 110
                 0 => 'comment',
111 111
                 1 => 'comment',
112 112
                 2 => 'code',
113 113
                 3 => 'special',
114 114
             ),
115 115
             0 =>
116
-            array (
116
+            array(
117 117
             ),
118 118
             1 =>
119
-            array (
119
+            array(
120 120
             ),
121 121
             2 =>
122
-            array (
122
+            array(
123 123
                 0 => 'special',
124 124
                 1 => 'reserved',
125 125
                 2 => 'var',
126 126
                 3 => 'string',
127 127
             ),
128 128
             3 =>
129
-            array (
129
+            array(
130 130
                 0 => 'special',
131 131
             ),
132 132
         );
133
-        $this->_end = array (
133
+        $this->_end = array(
134 134
             0 => '/(?i)\\]\\]\\>/',
135 135
             1 => '/(?i)--\\>/',
136 136
             2 => '/(?i)[\\/\\?]?\\>/',
137 137
             3 => '/(?i)"/',
138 138
         );
139
-        $this->_states = array (
139
+        $this->_states = array(
140 140
             -1 =>
141
-            array (
141
+            array(
142 142
                 0 => 0,
143 143
                 1 => 1,
144 144
                 2 => 2,
145 145
                 3 => -1,
146 146
             ),
147 147
             0 =>
148
-            array (
148
+            array(
149 149
             ),
150 150
             1 =>
151
-            array (
151
+            array(
152 152
             ),
153 153
             2 =>
154
-            array (
154
+            array(
155 155
                 0 => -1,
156 156
                 1 => -1,
157 157
                 2 => -1,
158 158
                 3 => 3,
159 159
             ),
160 160
             3 =>
161
-            array (
161
+            array(
162 162
                 0 => -1,
163 163
             ),
164 164
         );
165
-        $this->_keywords = array (
165
+        $this->_keywords = array(
166 166
             -1 =>
167
-            array (
167
+            array(
168 168
                 0 => -1,
169 169
                 1 => -1,
170 170
                 2 => -1,
171 171
                 3 =>
172
-                array (
172
+                array(
173 173
                 ),
174 174
             ),
175 175
             0 =>
176
-            array (
176
+            array(
177 177
             ),
178 178
             1 =>
179
-            array (
179
+            array(
180 180
             ),
181 181
             2 =>
182
-            array (
182
+            array(
183 183
                 0 =>
184
-                array (
184
+                array(
185 185
                 ),
186 186
                 1 =>
187
-                array (
187
+                array(
188 188
                 ),
189 189
                 2 =>
190
-                array (
190
+                array(
191 191
                 ),
192 192
                 3 => -1,
193 193
             ),
194 194
             3 =>
195
-            array (
195
+            array(
196 196
                 0 =>
197
-                array (
197
+                array(
198 198
                 ),
199 199
             ),
200 200
         );
201
-        $this->_parts = array (
201
+        $this->_parts = array(
202 202
             0 =>
203
-            array (
203
+            array(
204 204
             ),
205 205
             1 =>
206
-            array (
206
+            array(
207 207
             ),
208 208
             2 =>
209
-            array (
209
+            array(
210 210
                 0 => NULL,
211 211
                 1 => NULL,
212 212
                 2 => NULL,
213 213
                 3 => NULL,
214 214
             ),
215 215
             3 =>
216
-            array (
216
+            array(
217 217
                 0 => NULL,
218 218
             ),
219 219
         );
220
-        $this->_subst = array (
220
+        $this->_subst = array(
221 221
             -1 =>
222
-            array (
222
+            array(
223 223
                 0 => false,
224 224
                 1 => false,
225 225
                 2 => false,
226 226
                 3 => false,
227 227
             ),
228 228
             0 =>
229
-            array (
229
+            array(
230 230
             ),
231 231
             1 =>
232
-            array (
232
+            array(
233 233
             ),
234 234
             2 =>
235
-            array (
235
+            array(
236 236
                 0 => false,
237 237
                 1 => false,
238 238
                 2 => false,
239 239
                 3 => false,
240 240
             ),
241 241
             3 =>
242
-            array (
242
+            array(
243 243
                 0 => false,
244 244
             ),
245 245
         );
246
-        $this->_conditions = array (
246
+        $this->_conditions = array(
247 247
         );
248
-        $this->_kwmap = array (
248
+        $this->_kwmap = array(
249 249
         );
250 250
         $this->_defClass = 'code';
251 251
         $this->_checkDefines();
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/PERL.php 1 patch
Spacing   +176 added lines, -176 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
      * @param array  $options
49 49
      * @access public
50 50
      */
51
-    function __construct($options=array())
51
+    function __construct($options = array())
52 52
     {
53 53
 
54 54
         $this->_options = $options;
55
-        $this->_regs = array (
55
+        $this->_regs = array(
56 56
             -1 => '/((?m)^(#!)(.*))|((?m)^=\\w+)|(\\{)|(\\()|(\\[)|((use)\\s+([\\w:]*))|([& ](\\w{2,}::)+\\w{2,})|((?Us)\\b(q[wq]\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|((?Us)\\b(q\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|(#.*)|((?x)(s|tr) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2)((\\\\.|[^\\\\])*?)(\\2[ecgimosx]*))|((?x)(m) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2[ecgimosx]*))|( \\/)|(\\$#?[1-9\'`@!])|((?i)(\\$#?|[@%*])([a-z1-9_]+::)*([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)(&|\\w+)\'[\\w_\']+\\b)|((?i)(\\{)([a-z1-9]+)(\\}))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(`)|(\')|(")|((?i)[a-z_]\\w*)|(\\d*\\.?\\d+)/',
57 57
             0 => '//',
58 58
             1 => '/((?m)^(#!)(.*))|((?m)^=\\w+)|(\\{)|(\\()|(\\[)|((use)\\s+([\\w:]*))|([& ](\\w{2,}::)+\\w{2,})|((?Us)\\b(q[wq]\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|((?Us)\\b(q\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|(#.*)|((?x)(s|tr) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2)((\\\\.|[^\\\\])*?)(\\2[ecgimosx]*))|((?x)(m) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2[ecgimosx]*))|( \\/)|(\\$#?[1-9\'`@!])|((?i)(\\$#?|[@%*])([a-z1-9_]+::)*([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)(&|\\w+)\'[\\w_\']+\\b)|((?i)(\\{)([a-z1-9]+)(\\}))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(`)|(\')|(")|((?i)[a-z_]\\w*)|(\\d*\\.?\\d+)/',
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
             8 => '/(\\\\\\\\|\\\\"|\\\\\'|\\\\`)/',
66 66
             9 => '/(\\$#?[1-9\'`@!])|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(\\\\[\\\\"\'`tnr\\$\\{@])/',
67 67
         );
68
-        $this->_counts = array (
68
+        $this->_counts = array(
69 69
             -1 =>
70
-            array (
70
+            array(
71 71
                 0 => 2,
72 72
                 1 => 0,
73 73
                 2 => 0,
@@ -94,10 +94,10 @@  discard block
 block discarded – undo
94 94
                 23 => 0,
95 95
             ),
96 96
             0 =>
97
-            array (
97
+            array(
98 98
             ),
99 99
             1 =>
100
-            array (
100
+            array(
101 101
                 0 => 2,
102 102
                 1 => 0,
103 103
                 2 => 0,
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                 23 => 0,
125 125
             ),
126 126
             2 =>
127
-            array (
127
+            array(
128 128
                 0 => 2,
129 129
                 1 => 0,
130 130
                 2 => 0,
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 24 => 0,
153 153
             ),
154 154
             3 =>
155
-            array (
155
+            array(
156 156
                 0 => 2,
157 157
                 1 => 0,
158 158
                 2 => 0,
@@ -179,42 +179,42 @@  discard block
 block discarded – undo
179 179
                 23 => 0,
180 180
             ),
181 181
             4 =>
182
-            array (
182
+            array(
183 183
                 0 => 0,
184 184
                 1 => 1,
185 185
                 2 => 0,
186 186
                 3 => 0,
187 187
             ),
188 188
             5 =>
189
-            array (
189
+            array(
190 190
                 0 => 0,
191 191
             ),
192 192
             6 =>
193
-            array (
193
+            array(
194 194
                 0 => 0,
195 195
             ),
196 196
             7 =>
197
-            array (
197
+            array(
198 198
                 0 => 0,
199 199
                 1 => 1,
200 200
                 2 => 0,
201 201
                 3 => 0,
202 202
             ),
203 203
             8 =>
204
-            array (
204
+            array(
205 205
                 0 => 0,
206 206
             ),
207 207
             9 =>
208
-            array (
208
+            array(
209 209
                 0 => 0,
210 210
                 1 => 1,
211 211
                 2 => 0,
212 212
                 3 => 0,
213 213
             ),
214 214
         );
215
-        $this->_delim = array (
215
+        $this->_delim = array(
216 216
             -1 =>
217
-            array (
217
+            array(
218 218
                 0 => '',
219 219
                 1 => 'comment',
220 220
                 2 => 'brackets',
@@ -241,10 +241,10 @@  discard block
 block discarded – undo
241 241
                 23 => '',
242 242
             ),
243 243
             0 =>
244
-            array (
244
+            array(
245 245
             ),
246 246
             1 =>
247
-            array (
247
+            array(
248 248
                 0 => '',
249 249
                 1 => 'comment',
250 250
                 2 => 'brackets',
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
                 23 => '',
272 272
             ),
273 273
             2 =>
274
-            array (
274
+            array(
275 275
                 0 => '',
276 276
                 1 => 'comment',
277 277
                 2 => 'brackets',
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
                 24 => '',
300 300
             ),
301 301
             3 =>
302
-            array (
302
+            array(
303 303
                 0 => '',
304 304
                 1 => 'comment',
305 305
                 2 => 'brackets',
@@ -326,42 +326,42 @@  discard block
 block discarded – undo
326 326
                 23 => '',
327 327
             ),
328 328
             4 =>
329
-            array (
329
+            array(
330 330
                 0 => '',
331 331
                 1 => '',
332 332
                 2 => '',
333 333
                 3 => '',
334 334
             ),
335 335
             5 =>
336
-            array (
336
+            array(
337 337
                 0 => '',
338 338
             ),
339 339
             6 =>
340
-            array (
340
+            array(
341 341
                 0 => '',
342 342
             ),
343 343
             7 =>
344
-            array (
344
+            array(
345 345
                 0 => '',
346 346
                 1 => '',
347 347
                 2 => '',
348 348
                 3 => '',
349 349
             ),
350 350
             8 =>
351
-            array (
351
+            array(
352 352
                 0 => '',
353 353
             ),
354 354
             9 =>
355
-            array (
355
+            array(
356 356
                 0 => '',
357 357
                 1 => '',
358 358
                 2 => '',
359 359
                 3 => '',
360 360
             ),
361 361
         );
362
-        $this->_inner = array (
362
+        $this->_inner = array(
363 363
             -1 =>
364
-            array (
364
+            array(
365 365
                 0 => 'special',
366 366
                 1 => 'comment',
367 367
                 2 => 'code',
@@ -388,10 +388,10 @@  discard block
 block discarded – undo
388 388
                 23 => 'number',
389 389
             ),
390 390
             0 =>
391
-            array (
391
+            array(
392 392
             ),
393 393
             1 =>
394
-            array (
394
+            array(
395 395
                 0 => 'special',
396 396
                 1 => 'comment',
397 397
                 2 => 'code',
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
                 23 => 'number',
419 419
             ),
420 420
             2 =>
421
-            array (
421
+            array(
422 422
                 0 => 'special',
423 423
                 1 => 'comment',
424 424
                 2 => 'code',
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
                 24 => 'number',
447 447
             ),
448 448
             3 =>
449
-            array (
449
+            array(
450 450
                 0 => 'special',
451 451
                 1 => 'comment',
452 452
                 2 => 'code',
@@ -473,40 +473,40 @@  discard block
 block discarded – undo
473 473
                 23 => 'number',
474 474
             ),
475 475
             4 =>
476
-            array (
476
+            array(
477 477
                 0 => 'var',
478 478
                 1 => 'var',
479 479
                 2 => 'var',
480 480
                 3 => 'special',
481 481
             ),
482 482
             5 =>
483
-            array (
483
+            array(
484 484
                 0 => 'special',
485 485
             ),
486 486
             6 =>
487
-            array (
487
+            array(
488 488
                 0 => 'string',
489 489
             ),
490 490
             7 =>
491
-            array (
491
+            array(
492 492
                 0 => 'var',
493 493
                 1 => 'var',
494 494
                 2 => 'var',
495 495
                 3 => 'special',
496 496
             ),
497 497
             8 =>
498
-            array (
498
+            array(
499 499
                 0 => 'special',
500 500
             ),
501 501
             9 =>
502
-            array (
502
+            array(
503 503
                 0 => 'var',
504 504
                 1 => 'var',
505 505
                 2 => 'var',
506 506
                 3 => 'special',
507 507
             ),
508 508
         );
509
-        $this->_end = array (
509
+        $this->_end = array(
510 510
             0 => '/(?m)^=cut[^\\n]*/',
511 511
             1 => '/\\}/',
512 512
             2 => '/\\)/',
@@ -518,9 +518,9 @@  discard block
 block discarded – undo
518 518
             8 => '/\'/',
519 519
             9 => '/"/',
520 520
         );
521
-        $this->_states = array (
521
+        $this->_states = array(
522 522
             -1 =>
523
-            array (
523
+            array(
524 524
                 0 => -1,
525 525
                 1 => 0,
526 526
                 2 => 1,
@@ -547,10 +547,10 @@  discard block
 block discarded – undo
547 547
                 23 => -1,
548 548
             ),
549 549
             0 =>
550
-            array (
550
+            array(
551 551
             ),
552 552
             1 =>
553
-            array (
553
+            array(
554 554
                 0 => -1,
555 555
                 1 => 0,
556 556
                 2 => 1,
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
                 23 => -1,
578 578
             ),
579 579
             2 =>
580
-            array (
580
+            array(
581 581
                 0 => -1,
582 582
                 1 => 0,
583 583
                 2 => 1,
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
                 24 => -1,
606 606
             ),
607 607
             3 =>
608
-            array (
608
+            array(
609 609
                 0 => -1,
610 610
                 1 => 0,
611 611
                 2 => 1,
@@ -632,350 +632,350 @@  discard block
 block discarded – undo
632 632
                 23 => -1,
633 633
             ),
634 634
             4 =>
635
-            array (
635
+            array(
636 636
                 0 => -1,
637 637
                 1 => -1,
638 638
                 2 => -1,
639 639
                 3 => -1,
640 640
             ),
641 641
             5 =>
642
-            array (
642
+            array(
643 643
                 0 => -1,
644 644
             ),
645 645
             6 =>
646
-            array (
646
+            array(
647 647
                 0 => -1,
648 648
             ),
649 649
             7 =>
650
-            array (
650
+            array(
651 651
                 0 => -1,
652 652
                 1 => -1,
653 653
                 2 => -1,
654 654
                 3 => -1,
655 655
             ),
656 656
             8 =>
657
-            array (
657
+            array(
658 658
                 0 => -1,
659 659
             ),
660 660
             9 =>
661
-            array (
661
+            array(
662 662
                 0 => -1,
663 663
                 1 => -1,
664 664
                 2 => -1,
665 665
                 3 => -1,
666 666
             ),
667 667
         );
668
-        $this->_keywords = array (
668
+        $this->_keywords = array(
669 669
             -1 =>
670
-            array (
670
+            array(
671 671
                 0 =>
672
-                array (
672
+                array(
673 673
                 ),
674 674
                 1 => -1,
675 675
                 2 => -1,
676 676
                 3 => -1,
677 677
                 4 => -1,
678 678
                 5 =>
679
-                array (
679
+                array(
680 680
                 ),
681 681
                 6 =>
682
-                array (
682
+                array(
683 683
                 ),
684 684
                 7 => -1,
685 685
                 8 => -1,
686 686
                 9 =>
687
-                array (
687
+                array(
688 688
                 ),
689 689
                 10 =>
690
-                array (
690
+                array(
691 691
                 ),
692 692
                 11 =>
693
-                array (
693
+                array(
694 694
                 ),
695 695
                 12 => -1,
696 696
                 13 =>
697
-                array (
697
+                array(
698 698
                 ),
699 699
                 14 =>
700
-                array (
700
+                array(
701 701
                 ),
702 702
                 15 =>
703
-                array (
703
+                array(
704 704
                 ),
705 705
                 16 =>
706
-                array (
706
+                array(
707 707
                 ),
708 708
                 17 =>
709
-                array (
709
+                array(
710 710
                 ),
711 711
                 18 =>
712
-                array (
712
+                array(
713 713
                 ),
714 714
                 19 => -1,
715 715
                 20 => -1,
716 716
                 21 => -1,
717 717
                 22 =>
718
-                array (
718
+                array(
719 719
                     'reserved' => '/^(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eval|exec|exists|exit|exp|fcntl|fileno|flock|fork|format|formline|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|local|localtime|lock|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ord|our|pack|package|pipe|pop|pos|print|printf|prototype|push|quotemeta|rand|read|readdir|readline|readlink|readpipe|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|sub|substr|symlink|syscall|sysopen|sysread|sysseek|system|syswrite|tell|telldir|tie|tied|time|times|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|use|utime|values|vec|wait|waitpid|wantarray|warn|write|y)$/',
720 720
                     'missingreserved' => '/^(new)$/',
721 721
                     'flowcontrol' => '/^(if|else|elsif|while|unless|for|foreach|until|do|continue|not|or|and|eq|ne|gt|lt)$/',
722 722
                 ),
723 723
                 23 =>
724
-                array (
724
+                array(
725 725
                 ),
726 726
             ),
727 727
             0 =>
728
-            array (
728
+            array(
729 729
             ),
730 730
             1 =>
731
-            array (
731
+            array(
732 732
                 0 =>
733
-                array (
733
+                array(
734 734
                 ),
735 735
                 1 => -1,
736 736
                 2 => -1,
737 737
                 3 => -1,
738 738
                 4 => -1,
739 739
                 5 =>
740
-                array (
740
+                array(
741 741
                 ),
742 742
                 6 =>
743
-                array (
743
+                array(
744 744
                 ),
745 745
                 7 => -1,
746 746
                 8 => -1,
747 747
                 9 =>
748
-                array (
748
+                array(
749 749
                 ),
750 750
                 10 =>
751
-                array (
751
+                array(
752 752
                 ),
753 753
                 11 =>
754
-                array (
754
+                array(
755 755
                 ),
756 756
                 12 => -1,
757 757
                 13 =>
758
-                array (
758
+                array(
759 759
                 ),
760 760
                 14 =>
761
-                array (
761
+                array(
762 762
                 ),
763 763
                 15 =>
764
-                array (
764
+                array(
765 765
                 ),
766 766
                 16 =>
767
-                array (
767
+                array(
768 768
                 ),
769 769
                 17 =>
770
-                array (
770
+                array(
771 771
                 ),
772 772
                 18 =>
773
-                array (
773
+                array(
774 774
                 ),
775 775
                 19 => -1,
776 776
                 20 => -1,
777 777
                 21 => -1,
778 778
                 22 =>
779
-                array (
779
+                array(
780 780
                     'reserved' => '/^(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eval|exec|exists|exit|exp|fcntl|fileno|flock|fork|format|formline|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|local|localtime|lock|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ord|our|pack|package|pipe|pop|pos|print|printf|prototype|push|quotemeta|rand|read|readdir|readline|readlink|readpipe|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|sub|substr|symlink|syscall|sysopen|sysread|sysseek|system|syswrite|tell|telldir|tie|tied|time|times|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|use|utime|values|vec|wait|waitpid|wantarray|warn|write|y)$/',
781 781
                     'missingreserved' => '/^(new)$/',
782 782
                     'flowcontrol' => '/^(if|else|elsif|while|unless|for|foreach|until|do|continue|not|or|and|eq|ne|gt|lt)$/',
783 783
                 ),
784 784
                 23 =>
785
-                array (
785
+                array(
786 786
                 ),
787 787
             ),
788 788
             2 =>
789
-            array (
789
+            array(
790 790
                 0 =>
791
-                array (
791
+                array(
792 792
                 ),
793 793
                 1 => -1,
794 794
                 2 => -1,
795 795
                 3 => -1,
796 796
                 4 => -1,
797 797
                 5 =>
798
-                array (
798
+                array(
799 799
                 ),
800 800
                 6 =>
801
-                array (
801
+                array(
802 802
                 ),
803 803
                 7 => -1,
804 804
                 8 => -1,
805 805
                 9 =>
806
-                array (
806
+                array(
807 807
                 ),
808 808
                 10 =>
809
-                array (
809
+                array(
810 810
                 ),
811 811
                 11 =>
812
-                array (
812
+                array(
813 813
                 ),
814 814
                 12 => -1,
815 815
                 13 =>
816
-                array (
816
+                array(
817 817
                 ),
818 818
                 14 =>
819
-                array (
819
+                array(
820 820
                 ),
821 821
                 15 =>
822
-                array (
822
+                array(
823 823
                 ),
824 824
                 16 =>
825
-                array (
825
+                array(
826 826
                 ),
827 827
                 17 =>
828
-                array (
828
+                array(
829 829
                 ),
830 830
                 18 =>
831
-                array (
831
+                array(
832 832
                 ),
833 833
                 19 =>
834
-                array (
834
+                array(
835 835
                 ),
836 836
                 20 => -1,
837 837
                 21 => -1,
838 838
                 22 => -1,
839 839
                 23 =>
840
-                array (
840
+                array(
841 841
                     'reserved' => '/^(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eval|exec|exists|exit|exp|fcntl|fileno|flock|fork|format|formline|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|local|localtime|lock|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ord|our|pack|package|pipe|pop|pos|print|printf|prototype|push|quotemeta|rand|read|readdir|readline|readlink|readpipe|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|sub|substr|symlink|syscall|sysopen|sysread|sysseek|system|syswrite|tell|telldir|tie|tied|time|times|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|use|utime|values|vec|wait|waitpid|wantarray|warn|write|y)$/',
842 842
                     'missingreserved' => '/^(new)$/',
843 843
                     'flowcontrol' => '/^(if|else|elsif|while|unless|for|foreach|until|do|continue|not|or|and|eq|ne|gt|lt)$/',
844 844
                 ),
845 845
                 24 =>
846
-                array (
846
+                array(
847 847
                 ),
848 848
             ),
849 849
             3 =>
850
-            array (
850
+            array(
851 851
                 0 =>
852
-                array (
852
+                array(
853 853
                 ),
854 854
                 1 => -1,
855 855
                 2 => -1,
856 856
                 3 => -1,
857 857
                 4 => -1,
858 858
                 5 =>
859
-                array (
859
+                array(
860 860
                 ),
861 861
                 6 =>
862
-                array (
862
+                array(
863 863
                 ),
864 864
                 7 => -1,
865 865
                 8 => -1,
866 866
                 9 =>
867
-                array (
867
+                array(
868 868
                 ),
869 869
                 10 =>
870
-                array (
870
+                array(
871 871
                 ),
872 872
                 11 =>
873
-                array (
873
+                array(
874 874
                 ),
875 875
                 12 => -1,
876 876
                 13 =>
877
-                array (
877
+                array(
878 878
                 ),
879 879
                 14 =>
880
-                array (
880
+                array(
881 881
                 ),
882 882
                 15 =>
883
-                array (
883
+                array(
884 884
                 ),
885 885
                 16 =>
886
-                array (
886
+                array(
887 887
                 ),
888 888
                 17 =>
889
-                array (
889
+                array(
890 890
                 ),
891 891
                 18 =>
892
-                array (
892
+                array(
893 893
                 ),
894 894
                 19 => -1,
895 895
                 20 => -1,
896 896
                 21 => -1,
897 897
                 22 =>
898
-                array (
898
+                array(
899 899
                     'reserved' => '/^(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eval|exec|exists|exit|exp|fcntl|fileno|flock|fork|format|formline|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|local|localtime|lock|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ord|our|pack|package|pipe|pop|pos|print|printf|prototype|push|quotemeta|rand|read|readdir|readline|readlink|readpipe|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|sub|substr|symlink|syscall|sysopen|sysread|sysseek|system|syswrite|tell|telldir|tie|tied|time|times|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|use|utime|values|vec|wait|waitpid|wantarray|warn|write|y)$/',
900 900
                     'missingreserved' => '/^(new)$/',
901 901
                     'flowcontrol' => '/^(if|else|elsif|while|unless|for|foreach|until|do|continue|not|or|and|eq|ne|gt|lt)$/',
902 902
                 ),
903 903
                 23 =>
904
-                array (
904
+                array(
905 905
                 ),
906 906
             ),
907 907
             4 =>
908
-            array (
908
+            array(
909 909
                 0 =>
910
-                array (
910
+                array(
911 911
                 ),
912 912
                 1 =>
913
-                array (
913
+                array(
914 914
                 ),
915 915
                 2 =>
916
-                array (
916
+                array(
917 917
                 ),
918 918
                 3 =>
919
-                array (
919
+                array(
920 920
                 ),
921 921
             ),
922 922
             5 =>
923
-            array (
923
+            array(
924 924
                 0 =>
925
-                array (
925
+                array(
926 926
                 ),
927 927
             ),
928 928
             6 =>
929
-            array (
929
+            array(
930 930
                 0 =>
931
-                array (
931
+                array(
932 932
                 ),
933 933
             ),
934 934
             7 =>
935
-            array (
935
+            array(
936 936
                 0 =>
937
-                array (
937
+                array(
938 938
                 ),
939 939
                 1 =>
940
-                array (
940
+                array(
941 941
                 ),
942 942
                 2 =>
943
-                array (
943
+                array(
944 944
                 ),
945 945
                 3 =>
946
-                array (
946
+                array(
947 947
                 ),
948 948
             ),
949 949
             8 =>
950
-            array (
950
+            array(
951 951
                 0 =>
952
-                array (
952
+                array(
953 953
                 ),
954 954
             ),
955 955
             9 =>
956
-            array (
956
+            array(
957 957
                 0 =>
958
-                array (
958
+                array(
959 959
                 ),
960 960
                 1 =>
961
-                array (
961
+                array(
962 962
                 ),
963 963
                 2 =>
964
-                array (
964
+                array(
965 965
                 ),
966 966
                 3 =>
967
-                array (
967
+                array(
968 968
                 ),
969 969
             ),
970 970
         );
971
-        $this->_parts = array (
971
+        $this->_parts = array(
972 972
             0 =>
973
-            array (
973
+            array(
974 974
             ),
975 975
             1 =>
976
-            array (
976
+            array(
977 977
                 0 =>
978
-                array (
978
+                array(
979 979
                     1 => 'special',
980 980
                     2 => 'string',
981 981
                 ),
@@ -984,7 +984,7 @@  discard block
 block discarded – undo
984 984
                 3 => NULL,
985 985
                 4 => NULL,
986 986
                 5 =>
987
-                array (
987
+                array(
988 988
                     1 => 'reserved',
989 989
                     2 => 'special',
990 990
                 ),
@@ -993,7 +993,7 @@  discard block
 block discarded – undo
993 993
                 8 => NULL,
994 994
                 9 => NULL,
995 995
                 10 =>
996
-                array (
996
+                array(
997 997
                     1 => 'quotes',
998 998
                     2 => 'quotes',
999 999
                     3 => 'string',
@@ -1002,7 +1002,7 @@  discard block
 block discarded – undo
1002 1002
                     8 => 'quotes',
1003 1003
                 ),
1004 1004
                 11 =>
1005
-                array (
1005
+                array(
1006 1006
                     1 => 'quotes',
1007 1007
                     2 => 'quotes',
1008 1008
                     3 => 'string',
@@ -1014,7 +1014,7 @@  discard block
 block discarded – undo
1014 1014
                 15 => NULL,
1015 1015
                 16 => NULL,
1016 1016
                 17 =>
1017
-                array (
1017
+                array(
1018 1018
                     1 => 'brackets',
1019 1019
                     2 => 'var',
1020 1020
                     3 => 'brackets',
@@ -1027,9 +1027,9 @@  discard block
 block discarded – undo
1027 1027
                 23 => NULL,
1028 1028
             ),
1029 1029
             2 =>
1030
-            array (
1030
+            array(
1031 1031
                 0 =>
1032
-                array (
1032
+                array(
1033 1033
                     1 => 'special',
1034 1034
                     2 => 'string',
1035 1035
                 ),
@@ -1038,7 +1038,7 @@  discard block
 block discarded – undo
1038 1038
                 3 => NULL,
1039 1039
                 4 => NULL,
1040 1040
                 5 =>
1041
-                array (
1041
+                array(
1042 1042
                     1 => 'reserved',
1043 1043
                     2 => 'special',
1044 1044
                 ),
@@ -1047,7 +1047,7 @@  discard block
 block discarded – undo
1047 1047
                 8 => NULL,
1048 1048
                 9 => NULL,
1049 1049
                 10 =>
1050
-                array (
1050
+                array(
1051 1051
                     1 => 'quotes',
1052 1052
                     2 => 'quotes',
1053 1053
                     3 => 'string',
@@ -1056,7 +1056,7 @@  discard block
 block discarded – undo
1056 1056
                     8 => 'quotes',
1057 1057
                 ),
1058 1058
                 11 =>
1059
-                array (
1059
+                array(
1060 1060
                     1 => 'quotes',
1061 1061
                     2 => 'quotes',
1062 1062
                     3 => 'string',
@@ -1064,7 +1064,7 @@  discard block
 block discarded – undo
1064 1064
                 ),
1065 1065
                 12 => NULL,
1066 1066
                 13 =>
1067
-                array (
1067
+                array(
1068 1068
                     1 => 'string',
1069 1069
                     2 => 'code',
1070 1070
                 ),
@@ -1073,7 +1073,7 @@  discard block
 block discarded – undo
1073 1073
                 16 => NULL,
1074 1074
                 17 => NULL,
1075 1075
                 18 =>
1076
-                array (
1076
+                array(
1077 1077
                     1 => 'brackets',
1078 1078
                     2 => 'var',
1079 1079
                     3 => 'brackets',
@@ -1086,9 +1086,9 @@  discard block
 block discarded – undo
1086 1086
                 24 => NULL,
1087 1087
             ),
1088 1088
             3 =>
1089
-            array (
1089
+            array(
1090 1090
                 0 =>
1091
-                array (
1091
+                array(
1092 1092
                     1 => 'special',
1093 1093
                     2 => 'string',
1094 1094
                 ),
@@ -1097,7 +1097,7 @@  discard block
 block discarded – undo
1097 1097
                 3 => NULL,
1098 1098
                 4 => NULL,
1099 1099
                 5 =>
1100
-                array (
1100
+                array(
1101 1101
                     1 => 'reserved',
1102 1102
                     2 => 'special',
1103 1103
                 ),
@@ -1106,7 +1106,7 @@  discard block
 block discarded – undo
1106 1106
                 8 => NULL,
1107 1107
                 9 => NULL,
1108 1108
                 10 =>
1109
-                array (
1109
+                array(
1110 1110
                     1 => 'quotes',
1111 1111
                     2 => 'quotes',
1112 1112
                     3 => 'string',
@@ -1115,7 +1115,7 @@  discard block
 block discarded – undo
1115 1115
                     8 => 'quotes',
1116 1116
                 ),
1117 1117
                 11 =>
1118
-                array (
1118
+                array(
1119 1119
                     1 => 'quotes',
1120 1120
                     2 => 'quotes',
1121 1121
                     3 => 'string',
@@ -1127,7 +1127,7 @@  discard block
 block discarded – undo
1127 1127
                 15 => NULL,
1128 1128
                 16 => NULL,
1129 1129
                 17 =>
1130
-                array (
1130
+                array(
1131 1131
                     1 => 'brackets',
1132 1132
                     2 => 'var',
1133 1133
                     3 => 'brackets',
@@ -1140,42 +1140,42 @@  discard block
 block discarded – undo
1140 1140
                 23 => NULL,
1141 1141
             ),
1142 1142
             4 =>
1143
-            array (
1143
+            array(
1144 1144
                 0 => NULL,
1145 1145
                 1 => NULL,
1146 1146
                 2 => NULL,
1147 1147
                 3 => NULL,
1148 1148
             ),
1149 1149
             5 =>
1150
-            array (
1150
+            array(
1151 1151
                 0 => NULL,
1152 1152
             ),
1153 1153
             6 =>
1154
-            array (
1154
+            array(
1155 1155
                 0 => NULL,
1156 1156
             ),
1157 1157
             7 =>
1158
-            array (
1158
+            array(
1159 1159
                 0 => NULL,
1160 1160
                 1 => NULL,
1161 1161
                 2 => NULL,
1162 1162
                 3 => NULL,
1163 1163
             ),
1164 1164
             8 =>
1165
-            array (
1165
+            array(
1166 1166
                 0 => NULL,
1167 1167
             ),
1168 1168
             9 =>
1169
-            array (
1169
+            array(
1170 1170
                 0 => NULL,
1171 1171
                 1 => NULL,
1172 1172
                 2 => NULL,
1173 1173
                 3 => NULL,
1174 1174
             ),
1175 1175
         );
1176
-        $this->_subst = array (
1176
+        $this->_subst = array(
1177 1177
             -1 =>
1178
-            array (
1178
+            array(
1179 1179
                 0 => false,
1180 1180
                 1 => false,
1181 1181
                 2 => false,
@@ -1202,10 +1202,10 @@  discard block
 block discarded – undo
1202 1202
                 23 => false,
1203 1203
             ),
1204 1204
             0 =>
1205
-            array (
1205
+            array(
1206 1206
             ),
1207 1207
             1 =>
1208
-            array (
1208
+            array(
1209 1209
                 0 => false,
1210 1210
                 1 => false,
1211 1211
                 2 => false,
@@ -1232,7 +1232,7 @@  discard block
 block discarded – undo
1232 1232
                 23 => false,
1233 1233
             ),
1234 1234
             2 =>
1235
-            array (
1235
+            array(
1236 1236
                 0 => false,
1237 1237
                 1 => false,
1238 1238
                 2 => false,
@@ -1260,7 +1260,7 @@  discard block
 block discarded – undo
1260 1260
                 24 => false,
1261 1261
             ),
1262 1262
             3 =>
1263
-            array (
1263
+            array(
1264 1264
                 0 => false,
1265 1265
                 1 => false,
1266 1266
                 2 => false,
@@ -1287,42 +1287,42 @@  discard block
 block discarded – undo
1287 1287
                 23 => false,
1288 1288
             ),
1289 1289
             4 =>
1290
-            array (
1290
+            array(
1291 1291
                 0 => false,
1292 1292
                 1 => false,
1293 1293
                 2 => false,
1294 1294
                 3 => false,
1295 1295
             ),
1296 1296
             5 =>
1297
-            array (
1297
+            array(
1298 1298
                 0 => false,
1299 1299
             ),
1300 1300
             6 =>
1301
-            array (
1301
+            array(
1302 1302
                 0 => false,
1303 1303
             ),
1304 1304
             7 =>
1305
-            array (
1305
+            array(
1306 1306
                 0 => false,
1307 1307
                 1 => false,
1308 1308
                 2 => false,
1309 1309
                 3 => false,
1310 1310
             ),
1311 1311
             8 =>
1312
-            array (
1312
+            array(
1313 1313
                 0 => false,
1314 1314
             ),
1315 1315
             9 =>
1316
-            array (
1316
+            array(
1317 1317
                 0 => false,
1318 1318
                 1 => false,
1319 1319
                 2 => false,
1320 1320
                 3 => false,
1321 1321
             ),
1322 1322
         );
1323
-        $this->_conditions = array (
1323
+        $this->_conditions = array(
1324 1324
         );
1325
-        $this->_kwmap = array (
1325
+        $this->_kwmap = array(
1326 1326
             'reserved' => 'reserved',
1327 1327
             'missingreserved' => 'reserved',
1328 1328
             'flowcontrol' => 'reserved',
Please login to merge, or discard this patch.
framework/3rdParty/TextHighlighter/Text/Highlighter/CPP.php 1 patch
Spacing   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
      * @param array  $options
49 49
      * @access public
50 50
      */
51
-    function __construct($options=array())
51
+    function __construct($options = array())
52 52
     {
53 53
 
54 54
         $this->_options = $options;
55
-        $this->_regs = array (
55
+        $this->_regs = array(
56 56
             -1 => '/((?i)")|((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)[a-z_]\\w*)|((?mi)^[ \\t]*#include)|((?mii)^[ \\t]*#[ \\t]*[a-z]+)|((?i)\\d*\\.?\\d+)|((?i)\\/\\*)|((?i)\\/\\/.+)/',
57 57
             0 => '/((?i)\\\\)/',
58 58
             1 => '/((?i)")|((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)[a-z_]\\w*)|((?i)\\b0[xX][\\da-f]+)|((?i)\\b\\d\\d*|\\b0\\b)|((?i)\\b0[0-7]+)|((?i)\\b(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?mi)^[ \\t]*#include)|((?mii)^[ \\t]*#[ \\t]*[a-z]+)|((?i)\\d*\\.?\\d+)|((?i)\\/\\*)|((?i)\\/\\/.+)/',
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
             7 => '/((?i)\\$\\w+\\s*:.+\\$)/',
65 65
             8 => '/((?i)\\$\\w+\\s*:.+\\$)/',
66 66
         );
67
-        $this->_counts = array (
67
+        $this->_counts = array(
68 68
             -1 =>
69
-            array (
69
+            array(
70 70
                 0 => 0,
71 71
                 1 => 0,
72 72
                 2 => 0,
@@ -79,11 +79,11 @@  discard block
 block discarded – undo
79 79
                 9 => 0,
80 80
             ),
81 81
             0 =>
82
-            array (
82
+            array(
83 83
                 0 => 0,
84 84
             ),
85 85
             1 =>
86
-            array (
86
+            array(
87 87
                 0 => 0,
88 88
                 1 => 0,
89 89
                 2 => 0,
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
                 13 => 0,
101 101
             ),
102 102
             2 =>
103
-            array (
103
+            array(
104 104
                 0 => 0,
105 105
                 1 => 0,
106 106
                 2 => 0,
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
                 13 => 0,
118 118
             ),
119 119
             3 =>
120
-            array (
120
+            array(
121 121
                 0 => 0,
122 122
                 1 => 0,
123 123
                 2 => 0,
@@ -134,15 +134,15 @@  discard block
 block discarded – undo
134 134
                 13 => 0,
135 135
             ),
136 136
             4 =>
137
-            array (
137
+            array(
138 138
             ),
139 139
             5 =>
140
-            array (
140
+            array(
141 141
                 0 => 0,
142 142
                 1 => 0,
143 143
             ),
144 144
             6 =>
145
-            array (
145
+            array(
146 146
                 0 => 0,
147 147
                 1 => 0,
148 148
                 2 => 0,
@@ -155,17 +155,17 @@  discard block
 block discarded – undo
155 155
                 9 => 0,
156 156
             ),
157 157
             7 =>
158
-            array (
158
+            array(
159 159
                 0 => 0,
160 160
             ),
161 161
             8 =>
162
-            array (
162
+            array(
163 163
                 0 => 0,
164 164
             ),
165 165
         );
166
-        $this->_delim = array (
166
+        $this->_delim = array(
167 167
             -1 =>
168
-            array (
168
+            array(
169 169
                 0 => 'quotes',
170 170
                 1 => 'brackets',
171 171
                 2 => 'brackets',
@@ -178,11 +178,11 @@  discard block
 block discarded – undo
178 178
                 9 => 'comment',
179 179
             ),
180 180
             0 =>
181
-            array (
181
+            array(
182 182
                 0 => '',
183 183
             ),
184 184
             1 =>
185
-            array (
185
+            array(
186 186
                 0 => 'quotes',
187 187
                 1 => 'brackets',
188 188
                 2 => 'brackets',
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
                 13 => 'comment',
200 200
             ),
201 201
             2 =>
202
-            array (
202
+            array(
203 203
                 0 => 'quotes',
204 204
                 1 => 'brackets',
205 205
                 2 => 'brackets',
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
                 13 => 'comment',
217 217
             ),
218 218
             3 =>
219
-            array (
219
+            array(
220 220
                 0 => 'quotes',
221 221
                 1 => 'brackets',
222 222
                 2 => 'brackets',
@@ -233,15 +233,15 @@  discard block
 block discarded – undo
233 233
                 13 => 'comment',
234 234
             ),
235 235
             4 =>
236
-            array (
236
+            array(
237 237
             ),
238 238
             5 =>
239
-            array (
239
+            array(
240 240
                 0 => 'quotes',
241 241
                 1 => 'quotes',
242 242
             ),
243 243
             6 =>
244
-            array (
244
+            array(
245 245
                 0 => 'quotes',
246 246
                 1 => 'brackets',
247 247
                 2 => 'brackets',
@@ -254,17 +254,17 @@  discard block
 block discarded – undo
254 254
                 9 => 'comment',
255 255
             ),
256 256
             7 =>
257
-            array (
257
+            array(
258 258
                 0 => '',
259 259
             ),
260 260
             8 =>
261
-            array (
261
+            array(
262 262
                 0 => '',
263 263
             ),
264 264
         );
265
-        $this->_inner = array (
265
+        $this->_inner = array(
266 266
             -1 =>
267
-            array (
267
+            array(
268 268
                 0 => 'string',
269 269
                 1 => 'code',
270 270
                 2 => 'code',
@@ -277,11 +277,11 @@  discard block
 block discarded – undo
277 277
                 9 => 'comment',
278 278
             ),
279 279
             0 =>
280
-            array (
280
+            array(
281 281
                 0 => 'special',
282 282
             ),
283 283
             1 =>
284
-            array (
284
+            array(
285 285
                 0 => 'string',
286 286
                 1 => 'code',
287 287
                 2 => 'code',
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
                 13 => 'comment',
299 299
             ),
300 300
             2 =>
301
-            array (
301
+            array(
302 302
                 0 => 'string',
303 303
                 1 => 'code',
304 304
                 2 => 'code',
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
                 13 => 'comment',
316 316
             ),
317 317
             3 =>
318
-            array (
318
+            array(
319 319
                 0 => 'string',
320 320
                 1 => 'code',
321 321
                 2 => 'code',
@@ -332,15 +332,15 @@  discard block
 block discarded – undo
332 332
                 13 => 'comment',
333 333
             ),
334 334
             4 =>
335
-            array (
335
+            array(
336 336
             ),
337 337
             5 =>
338
-            array (
338
+            array(
339 339
                 0 => 'string',
340 340
                 1 => 'string',
341 341
             ),
342 342
             6 =>
343
-            array (
343
+            array(
344 344
                 0 => 'string',
345 345
                 1 => 'code',
346 346
                 2 => 'code',
@@ -353,15 +353,15 @@  discard block
 block discarded – undo
353 353
                 9 => 'comment',
354 354
             ),
355 355
             7 =>
356
-            array (
356
+            array(
357 357
                 0 => 'inlinedoc',
358 358
             ),
359 359
             8 =>
360
-            array (
360
+            array(
361 361
                 0 => 'inlinedoc',
362 362
             ),
363 363
         );
364
-        $this->_end = array (
364
+        $this->_end = array(
365 365
             0 => '/(?i)"/',
366 366
             1 => '/(?i)\\}/',
367 367
             2 => '/(?i)\\)/',
@@ -372,9 +372,9 @@  discard block
 block discarded – undo
372 372
             7 => '/(?i)\\*\\//',
373 373
             8 => '/(?mi)$/',
374 374
         );
375
-        $this->_states = array (
375
+        $this->_states = array(
376 376
             -1 =>
377
-            array (
377
+            array(
378 378
                 0 => 0,
379 379
                 1 => 1,
380 380
                 2 => 2,
@@ -387,11 +387,11 @@  discard block
 block discarded – undo
387 387
                 9 => 8,
388 388
             ),
389 389
             0 =>
390
-            array (
390
+            array(
391 391
                 0 => -1,
392 392
             ),
393 393
             1 =>
394
-            array (
394
+            array(
395 395
                 0 => 0,
396 396
                 1 => 1,
397 397
                 2 => 2,
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
                 13 => 8,
409 409
             ),
410 410
             2 =>
411
-            array (
411
+            array(
412 412
                 0 => 0,
413 413
                 1 => 1,
414 414
                 2 => 2,
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
                 13 => 8,
426 426
             ),
427 427
             3 =>
428
-            array (
428
+            array(
429 429
                 0 => 0,
430 430
                 1 => 1,
431 431
                 2 => 2,
@@ -442,15 +442,15 @@  discard block
 block discarded – undo
442 442
                 13 => 8,
443 443
             ),
444 444
             4 =>
445
-            array (
445
+            array(
446 446
             ),
447 447
             5 =>
448
-            array (
448
+            array(
449 449
                 0 => 0,
450 450
                 1 => 4,
451 451
             ),
452 452
             6 =>
453
-            array (
453
+            array(
454 454
                 0 => 0,
455 455
                 1 => 1,
456 456
                 2 => 2,
@@ -463,23 +463,23 @@  discard block
 block discarded – undo
463 463
                 9 => 8,
464 464
             ),
465 465
             7 =>
466
-            array (
466
+            array(
467 467
                 0 => -1,
468 468
             ),
469 469
             8 =>
470
-            array (
470
+            array(
471 471
                 0 => -1,
472 472
             ),
473 473
         );
474
-        $this->_keywords = array (
474
+        $this->_keywords = array(
475 475
             -1 =>
476
-            array (
476
+            array(
477 477
                 0 => -1,
478 478
                 1 => -1,
479 479
                 2 => -1,
480 480
                 3 => -1,
481 481
                 4 =>
482
-                array (
482
+                array(
483 483
                     'reserved' => '/^(and|and_eq|asm|bitand|bitor|break|case|catch|compl|const_cast|continue|default|delete|do|dynamic_cast|else|for|fortran|friend|goto|if|new|not|not_eq|operator|or|or_eq|private|protected|public|reinterpret_cast|return|sizeof|static_cast|switch|this|throw|try|typeid|using|while|xor|xor_eq|false|true)$/',
484 484
                     'types' => '/^(auto|bool|char|class|const|double|enum|explicit|export|extern|float|inline|int|long|mutable|namespace|register|short|signed|static|struct|template|typedef|typename|union|unsigned|virtual|void|volatile|wchar_t)$/',
485 485
                     'Common Macros' => '/^(NULL|TRUE|FALSE|MAX|MIN|__LINE__|__DATA__|__FILE__|__TIME__|__STDC__)$/',
@@ -487,167 +487,167 @@  discard block
 block discarded – undo
487 487
                 5 => -1,
488 488
                 6 => -1,
489 489
                 7 =>
490
-                array (
490
+                array(
491 491
                 ),
492 492
                 8 => -1,
493 493
                 9 => -1,
494 494
             ),
495 495
             0 =>
496
-            array (
496
+            array(
497 497
                 0 =>
498
-                array (
498
+                array(
499 499
                 ),
500 500
             ),
501 501
             1 =>
502
-            array (
502
+            array(
503 503
                 0 => -1,
504 504
                 1 => -1,
505 505
                 2 => -1,
506 506
                 3 => -1,
507 507
                 4 =>
508
-                array (
508
+                array(
509 509
                     'reserved' => '/^(and|and_eq|asm|bitand|bitor|break|case|catch|compl|const_cast|continue|default|delete|do|dynamic_cast|else|for|fortran|friend|goto|if|new|not|not_eq|operator|or|or_eq|private|protected|public|reinterpret_cast|return|sizeof|static_cast|switch|this|throw|try|typeid|using|while|xor|xor_eq|false|true)$/',
510 510
                     'types' => '/^(auto|bool|char|class|const|double|enum|explicit|export|extern|float|inline|int|long|mutable|namespace|register|short|signed|static|struct|template|typedef|typename|union|unsigned|virtual|void|volatile|wchar_t)$/',
511 511
                     'Common Macros' => '/^(NULL|TRUE|FALSE|MAX|MIN|__LINE__|__DATA__|__FILE__|__TIME__|__STDC__)$/',
512 512
                 ),
513 513
                 5 =>
514
-                array (
514
+                array(
515 515
                 ),
516 516
                 6 =>
517
-                array (
517
+                array(
518 518
                 ),
519 519
                 7 =>
520
-                array (
520
+                array(
521 521
                 ),
522 522
                 8 =>
523
-                array (
523
+                array(
524 524
                 ),
525 525
                 9 => -1,
526 526
                 10 => -1,
527 527
                 11 =>
528
-                array (
528
+                array(
529 529
                 ),
530 530
                 12 => -1,
531 531
                 13 => -1,
532 532
             ),
533 533
             2 =>
534
-            array (
534
+            array(
535 535
                 0 => -1,
536 536
                 1 => -1,
537 537
                 2 => -1,
538 538
                 3 => -1,
539 539
                 4 =>
540
-                array (
540
+                array(
541 541
                     'reserved' => '/^(and|and_eq|asm|bitand|bitor|break|case|catch|compl|const_cast|continue|default|delete|do|dynamic_cast|else|for|fortran|friend|goto|if|new|not|not_eq|operator|or|or_eq|private|protected|public|reinterpret_cast|return|sizeof|static_cast|switch|this|throw|try|typeid|using|while|xor|xor_eq|false|true)$/',
542 542
                     'types' => '/^(auto|bool|char|class|const|double|enum|explicit|export|extern|float|inline|int|long|mutable|namespace|register|short|signed|static|struct|template|typedef|typename|union|unsigned|virtual|void|volatile|wchar_t)$/',
543 543
                     'Common Macros' => '/^(NULL|TRUE|FALSE|MAX|MIN|__LINE__|__DATA__|__FILE__|__TIME__|__STDC__)$/',
544 544
                 ),
545 545
                 5 =>
546
-                array (
546
+                array(
547 547
                 ),
548 548
                 6 =>
549
-                array (
549
+                array(
550 550
                 ),
551 551
                 7 =>
552
-                array (
552
+                array(
553 553
                 ),
554 554
                 8 =>
555
-                array (
555
+                array(
556 556
                 ),
557 557
                 9 => -1,
558 558
                 10 => -1,
559 559
                 11 =>
560
-                array (
560
+                array(
561 561
                 ),
562 562
                 12 => -1,
563 563
                 13 => -1,
564 564
             ),
565 565
             3 =>
566
-            array (
566
+            array(
567 567
                 0 => -1,
568 568
                 1 => -1,
569 569
                 2 => -1,
570 570
                 3 => -1,
571 571
                 4 =>
572
-                array (
572
+                array(
573 573
                     'reserved' => '/^(and|and_eq|asm|bitand|bitor|break|case|catch|compl|const_cast|continue|default|delete|do|dynamic_cast|else|for|fortran|friend|goto|if|new|not|not_eq|operator|or|or_eq|private|protected|public|reinterpret_cast|return|sizeof|static_cast|switch|this|throw|try|typeid|using|while|xor|xor_eq|false|true)$/',
574 574
                     'types' => '/^(auto|bool|char|class|const|double|enum|explicit|export|extern|float|inline|int|long|mutable|namespace|register|short|signed|static|struct|template|typedef|typename|union|unsigned|virtual|void|volatile|wchar_t)$/',
575 575
                     'Common Macros' => '/^(NULL|TRUE|FALSE|MAX|MIN|__LINE__|__DATA__|__FILE__|__TIME__|__STDC__)$/',
576 576
                 ),
577 577
                 5 =>
578
-                array (
578
+                array(
579 579
                 ),
580 580
                 6 =>
581
-                array (
581
+                array(
582 582
                 ),
583 583
                 7 =>
584
-                array (
584
+                array(
585 585
                 ),
586 586
                 8 =>
587
-                array (
587
+                array(
588 588
                 ),
589 589
                 9 => -1,
590 590
                 10 => -1,
591 591
                 11 =>
592
-                array (
592
+                array(
593 593
                 ),
594 594
                 12 => -1,
595 595
                 13 => -1,
596 596
             ),
597 597
             4 =>
598
-            array (
598
+            array(
599 599
             ),
600 600
             5 =>
601
-            array (
601
+            array(
602 602
                 0 => -1,
603 603
                 1 => -1,
604 604
             ),
605 605
             6 =>
606
-            array (
606
+            array(
607 607
                 0 => -1,
608 608
                 1 => -1,
609 609
                 2 => -1,
610 610
                 3 =>
611
-                array (
611
+                array(
612 612
                     'reserved' => '/^(and|and_eq|asm|bitand|bitor|break|case|catch|compl|const_cast|continue|default|delete|do|dynamic_cast|else|for|fortran|friend|goto|if|new|not|not_eq|operator|or|or_eq|private|protected|public|reinterpret_cast|return|sizeof|static_cast|switch|this|throw|try|typeid|using|while|xor|xor_eq|false|true)$/',
613 613
                     'types' => '/^(auto|bool|char|class|const|double|enum|explicit|export|extern|float|inline|int|long|mutable|namespace|register|short|signed|static|struct|template|typedef|typename|union|unsigned|virtual|void|volatile|wchar_t)$/',
614 614
                     'Common Macros' => '/^(NULL|TRUE|FALSE|MAX|MIN|__LINE__|__DATA__|__FILE__|__TIME__|__STDC__)$/',
615 615
                 ),
616 616
                 4 =>
617
-                array (
617
+                array(
618 618
                 ),
619 619
                 5 =>
620
-                array (
620
+                array(
621 621
                 ),
622 622
                 6 =>
623
-                array (
623
+                array(
624 624
                 ),
625 625
                 7 =>
626
-                array (
626
+                array(
627 627
                 ),
628 628
                 8 => -1,
629 629
                 9 => -1,
630 630
             ),
631 631
             7 =>
632
-            array (
632
+            array(
633 633
                 0 =>
634
-                array (
634
+                array(
635 635
                 ),
636 636
             ),
637 637
             8 =>
638
-            array (
638
+            array(
639 639
                 0 =>
640
-                array (
640
+                array(
641 641
                 ),
642 642
             ),
643 643
         );
644
-        $this->_parts = array (
644
+        $this->_parts = array(
645 645
             0 =>
646
-            array (
646
+            array(
647 647
                 0 => NULL,
648 648
             ),
649 649
             1 =>
650
-            array (
650
+            array(
651 651
                 0 => NULL,
652 652
                 1 => NULL,
653 653
                 2 => NULL,
@@ -664,7 +664,7 @@  discard block
 block discarded – undo
664 664
                 13 => NULL,
665 665
             ),
666 666
             2 =>
667
-            array (
667
+            array(
668 668
                 0 => NULL,
669 669
                 1 => NULL,
670 670
                 2 => NULL,
@@ -681,7 +681,7 @@  discard block
 block discarded – undo
681 681
                 13 => NULL,
682 682
             ),
683 683
             3 =>
684
-            array (
684
+            array(
685 685
                 0 => NULL,
686 686
                 1 => NULL,
687 687
                 2 => NULL,
@@ -698,15 +698,15 @@  discard block
 block discarded – undo
698 698
                 13 => NULL,
699 699
             ),
700 700
             4 =>
701
-            array (
701
+            array(
702 702
             ),
703 703
             5 =>
704
-            array (
704
+            array(
705 705
                 0 => NULL,
706 706
                 1 => NULL,
707 707
             ),
708 708
             6 =>
709
-            array (
709
+            array(
710 710
                 0 => NULL,
711 711
                 1 => NULL,
712 712
                 2 => NULL,
@@ -719,17 +719,17 @@  discard block
 block discarded – undo
719 719
                 9 => NULL,
720 720
             ),
721 721
             7 =>
722
-            array (
722
+            array(
723 723
                 0 => NULL,
724 724
             ),
725 725
             8 =>
726
-            array (
726
+            array(
727 727
                 0 => NULL,
728 728
             ),
729 729
         );
730
-        $this->_subst = array (
730
+        $this->_subst = array(
731 731
             -1 =>
732
-            array (
732
+            array(
733 733
                 0 => false,
734 734
                 1 => false,
735 735
                 2 => false,
@@ -742,11 +742,11 @@  discard block
 block discarded – undo
742 742
                 9 => false,
743 743
             ),
744 744
             0 =>
745
-            array (
745
+            array(
746 746
                 0 => false,
747 747
             ),
748 748
             1 =>
749
-            array (
749
+            array(
750 750
                 0 => false,
751 751
                 1 => false,
752 752
                 2 => false,
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
                 13 => false,
764 764
             ),
765 765
             2 =>
766
-            array (
766
+            array(
767 767
                 0 => false,
768 768
                 1 => false,
769 769
                 2 => false,
@@ -780,7 +780,7 @@  discard block
 block discarded – undo
780 780
                 13 => false,
781 781
             ),
782 782
             3 =>
783
-            array (
783
+            array(
784 784
                 0 => false,
785 785
                 1 => false,
786 786
                 2 => false,
@@ -797,15 +797,15 @@  discard block
 block discarded – undo
797 797
                 13 => false,
798 798
             ),
799 799
             4 =>
800
-            array (
800
+            array(
801 801
             ),
802 802
             5 =>
803
-            array (
803
+            array(
804 804
                 0 => false,
805 805
                 1 => false,
806 806
             ),
807 807
             6 =>
808
-            array (
808
+            array(
809 809
                 0 => false,
810 810
                 1 => false,
811 811
                 2 => false,
@@ -818,17 +818,17 @@  discard block
 block discarded – undo
818 818
                 9 => false,
819 819
             ),
820 820
             7 =>
821
-            array (
821
+            array(
822 822
                 0 => false,
823 823
             ),
824 824
             8 =>
825
-            array (
825
+            array(
826 826
                 0 => false,
827 827
             ),
828 828
         );
829
-        $this->_conditions = array (
829
+        $this->_conditions = array(
830 830
         );
831
-        $this->_kwmap = array (
831
+        $this->_kwmap = array(
832 832
             'reserved' => 'reserved',
833 833
             'types' => 'types',
834 834
             'Common Macros' => 'prepro',
Please login to merge, or discard this patch.