Completed
Push — master ( a43f15...9f195d )
by Kacper
03:18
created
Language/Perl.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             'string.nowdoc'  => new Rule(
67 67
                 new RegexMatcher('/<<\s*\'(\w+)\';(?P<string>.*?)\n\1/sm', [
68 68
                     'string' => Token::NAME,
69
-                          0  => 'keyword.nowdoc'
69
+                            0  => 'keyword.nowdoc'
70 70
                 ]), ['context' => ['!comment']]
71 71
             ),
72 72
 
Please login to merge, or discard this patch.
Parser/Token/Token.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         return $this->_end === null;
86 86
     }
87 87
 
88
-     public function isValid(Context $context)
88
+        public function isValid(Context $context)
89 89
     {
90 90
         if ($this->_valid === null) {
91 91
             $this->validate($context);
Please login to merge, or discard this patch.
Config/metadata.php 1 patch
Indentation   +228 added lines, -228 removed lines patch added patch discarded remove patch
@@ -1,188 +1,188 @@  discard block
 block discarded – undo
1 1
 <?php return array (
2
-  0 => 
3
-  array (
2
+    0 => 
3
+    array (
4 4
     0 => 'Kadet\\Highlighter\\Language\\C',
5 5
     'name' => 
6 6
     array (
7
-      0 => 'c',
7
+        0 => 'c',
8 8
     ),
9 9
     'mime' => 
10 10
     array (
11
-      0 => 'text/x-csrc',
12
-      1 => 'text/x-chdr',
11
+        0 => 'text/x-csrc',
12
+        1 => 'text/x-chdr',
13 13
     ),
14 14
     'extension' => 
15 15
     array (
16
-      0 => '*.c',
17
-      1 => '*.h',
18
-      2 => '*.idc',
16
+        0 => '*.c',
17
+        1 => '*.h',
18
+        2 => '*.idc',
19 19
     ),
20 20
     'standalone' => true,
21 21
     'injectable' => false,
22
-  ),
23
-  1 => 
24
-  array (
22
+    ),
23
+    1 => 
24
+    array (
25 25
     0 => 'Kadet\\Highlighter\\Language\\Cpp',
26 26
     'name' => 
27 27
     array (
28
-      0 => 'cpp',
29
-      1 => 'c++',
28
+        0 => 'cpp',
29
+        1 => 'c++',
30 30
     ),
31 31
     'mime' => 
32 32
     array (
33
-      0 => 'text/x-c++src',
34
-      1 => 'text/x-c++hdr',
33
+        0 => 'text/x-c++src',
34
+        1 => 'text/x-c++hdr',
35 35
     ),
36 36
     'extension' => 
37 37
     array (
38
-      0 => '*.cpp',
39
-      1 => '*.hpp',
40
-      2 => '*.hxx',
41
-      3 => '*.cxx',
42
-      4 => '*.cc',
43
-      5 => '*.hh',
38
+        0 => '*.cpp',
39
+        1 => '*.hpp',
40
+        2 => '*.hxx',
41
+        3 => '*.cxx',
42
+        4 => '*.cc',
43
+        5 => '*.hh',
44 44
     ),
45 45
     'standalone' => true,
46 46
     'injectable' => false,
47
-  ),
48
-  2 => 
49
-  array (
47
+    ),
48
+    2 => 
49
+    array (
50 50
     0 => 'Kadet\\Highlighter\\Language\\CSharp',
51 51
     'name' => 
52 52
     array (
53
-      0 => 'CSharp',
54
-      1 => 'C#',
53
+        0 => 'CSharp',
54
+        1 => 'C#',
55 55
     ),
56 56
     'mime' => 
57 57
     array (
58
-      0 => 'text/x-csharp',
58
+        0 => 'text/x-csharp',
59 59
     ),
60 60
     'extension' => 
61 61
     array (
62
-      0 => '*.cs',
62
+        0 => '*.cs',
63 63
     ),
64 64
     'standalone' => true,
65 65
     'injectable' => false,
66
-  ),
67
-  3 => 
68
-  array (
66
+    ),
67
+    3 => 
68
+    array (
69 69
     0 => 'Kadet\\Highlighter\\Language\\Css\\Less',
70 70
     'name' => 
71 71
     array (
72
-      0 => 'less',
72
+        0 => 'less',
73 73
     ),
74 74
     'mime' => 
75 75
     array (
76
-      0 => 'text/x-less',
76
+        0 => 'text/x-less',
77 77
     ),
78 78
     'extension' => 
79 79
     array (
80
-      0 => '*.less',
80
+        0 => '*.less',
81 81
     ),
82 82
     'standalone' => true,
83 83
     'injectable' => false,
84
-  ),
85
-  4 => 
86
-  array (
84
+    ),
85
+    4 => 
86
+    array (
87 87
     0 => 'Kadet\\Highlighter\\Language\\Css\\Sass',
88 88
     'name' => 
89 89
     array (
90
-      0 => 'sass',
90
+        0 => 'sass',
91 91
     ),
92 92
     'mime' => 
93 93
     array (
94
-      0 => 'text/x-sass',
94
+        0 => 'text/x-sass',
95 95
     ),
96 96
     'extension' => 
97 97
     array (
98
-      0 => '*.sass',
98
+        0 => '*.sass',
99 99
     ),
100 100
     'standalone' => true,
101 101
     'injectable' => false,
102
-  ),
103
-  5 => 
104
-  array (
102
+    ),
103
+    5 => 
104
+    array (
105 105
     0 => 'Kadet\\Highlighter\\Language\\Css\\Scss',
106 106
     'name' => 
107 107
     array (
108
-      0 => 'scss',
108
+        0 => 'scss',
109 109
     ),
110 110
     'mime' => 
111 111
     array (
112
-      0 => 'text/x-scss',
112
+        0 => 'text/x-scss',
113 113
     ),
114 114
     'extension' => 
115 115
     array (
116
-      0 => '*.scss',
116
+        0 => '*.scss',
117 117
     ),
118 118
     'standalone' => true,
119 119
     'injectable' => false,
120
-  ),
121
-  6 => 
122
-  array (
120
+    ),
121
+    6 => 
122
+    array (
123 123
     0 => 'Kadet\\Highlighter\\Language\\Css',
124 124
     'name' => 
125 125
     array (
126
-      0 => 'css',
126
+        0 => 'css',
127 127
     ),
128 128
     'mime' => 
129 129
     array (
130
-      0 => 'text/css',
130
+        0 => 'text/css',
131 131
     ),
132 132
     'extension' => 
133 133
     array (
134
-      0 => '*.css',
134
+        0 => '*.css',
135 135
     ),
136 136
     'standalone' => true,
137 137
     'injectable' => false,
138
-  ),
139
-  7 => 
140
-  array (
138
+    ),
139
+    7 => 
140
+    array (
141 141
     0 => 'Kadet\\Highlighter\\Language\\Go',
142 142
     'name' => 
143 143
     array (
144
-      0 => 'go',
145
-      1 => 'golang',
144
+        0 => 'go',
145
+        1 => 'golang',
146 146
     ),
147 147
     'mime' => 
148 148
     array (
149
-      0 => 'text/x-go',
150
-      1 => 'application/x-go',
151
-      2 => 'text/x-golang',
152
-      3 => 'application/x-golang',
149
+        0 => 'text/x-go',
150
+        1 => 'application/x-go',
151
+        2 => 'text/x-golang',
152
+        3 => 'application/x-golang',
153 153
     ),
154 154
     'extension' => 
155 155
     array (
156
-      0 => '*.go',
156
+        0 => '*.go',
157 157
     ),
158 158
     'standalone' => true,
159 159
     'injectable' => false,
160
-  ),
161
-  8 => 
162
-  array (
160
+    ),
161
+    8 => 
162
+    array (
163 163
     0 => 'Kadet\\Highlighter\\Language\\Html',
164 164
     'name' => 
165 165
     array (
166
-      0 => 'html',
166
+        0 => 'html',
167 167
     ),
168 168
     'mime' => 
169 169
     array (
170
-      0 => 'text/html',
170
+        0 => 'text/html',
171 171
     ),
172 172
     'extension' => 
173 173
     array (
174
-      0 => '*.html',
175
-      1 => '*.htm',
174
+        0 => '*.html',
175
+        1 => '*.htm',
176 176
     ),
177 177
     'standalone' => true,
178 178
     'injectable' => false,
179
-  ),
180
-  9 => 
181
-  array (
179
+    ),
180
+    9 => 
181
+    array (
182 182
     0 => 'Kadet\\Highlighter\\Language\\Http',
183 183
     'name' => 
184 184
     array (
185
-      0 => 'http',
185
+        0 => 'http',
186 186
     ),
187 187
     'mime' => 
188 188
     array (
@@ -192,363 +192,363 @@  discard block
 block discarded – undo
192 192
     ),
193 193
     'standalone' => true,
194 194
     'injectable' => false,
195
-  ),
196
-  10 => 
197
-  array (
195
+    ),
196
+    10 => 
197
+    array (
198 198
     0 => 'Kadet\\Highlighter\\Language\\Ini',
199 199
     'name' => 
200 200
     array (
201
-      0 => 'ini',
201
+        0 => 'ini',
202 202
     ),
203 203
     'mime' => 
204 204
     array (
205
-      0 => 'text/x-ini',
206
-      1 => 'text/inf',
205
+        0 => 'text/x-ini',
206
+        1 => 'text/inf',
207 207
     ),
208 208
     'extension' => 
209 209
     array (
210
-      0 => '*.ini',
211
-      1 => '*.cfg',
212
-      2 => '*.inf',
210
+        0 => '*.ini',
211
+        1 => '*.cfg',
212
+        2 => '*.inf',
213 213
     ),
214 214
     'standalone' => true,
215 215
     'injectable' => false,
216
-  ),
217
-  11 => 
218
-  array (
216
+    ),
217
+    11 => 
218
+    array (
219 219
     0 => 'Kadet\\Highlighter\\Language\\Java',
220 220
     'name' => 
221 221
     array (
222
-      0 => 'java',
222
+        0 => 'java',
223 223
     ),
224 224
     'mime' => 
225 225
     array (
226
-      0 => 'text/x-java',
226
+        0 => 'text/x-java',
227 227
     ),
228 228
     'extension' => 
229 229
     array (
230
-      0 => '*.java',
230
+        0 => '*.java',
231 231
     ),
232 232
     'standalone' => true,
233 233
     'injectable' => false,
234
-  ),
235
-  12 => 
236
-  array (
234
+    ),
235
+    12 => 
236
+    array (
237 237
     0 => 'Kadet\\Highlighter\\Language\\JavaScript',
238 238
     'name' => 
239 239
     array (
240
-      0 => 'js',
241
-      1 => 'jscript',
242
-      2 => 'javascript',
240
+        0 => 'js',
241
+        1 => 'jscript',
242
+        2 => 'javascript',
243 243
     ),
244 244
     'mime' => 
245 245
     array (
246
-      0 => 'application/javascript',
247
-      1 => 'application/x-javascript',
248
-      2 => 'text/x-javascript',
249
-      3 => 'text/javascript',
246
+        0 => 'application/javascript',
247
+        1 => 'application/x-javascript',
248
+        2 => 'text/x-javascript',
249
+        3 => 'text/javascript',
250 250
     ),
251 251
     'extension' => 
252 252
     array (
253
-      0 => '*.js',
254
-      1 => '*.jsx',
253
+        0 => '*.js',
254
+        1 => '*.jsx',
255 255
     ),
256 256
     'standalone' => true,
257 257
     'injectable' => false,
258
-  ),
259
-  13 => 
260
-  array (
258
+    ),
259
+    13 => 
260
+    array (
261 261
     0 => 'Kadet\\Highlighter\\Language\\Latex',
262 262
     'name' => 
263 263
     array (
264
-      0 => 'tex',
265
-      1 => 'latex',
264
+        0 => 'tex',
265
+        1 => 'latex',
266 266
     ),
267 267
     'mime' => 
268 268
     array (
269
-      0 => 'application/x-tex',
270
-      1 => 'application/x-latex',
269
+        0 => 'application/x-tex',
270
+        1 => 'application/x-latex',
271 271
     ),
272 272
     'extension' => 
273 273
     array (
274
-      0 => '*.tex',
275
-      1 => '*.aux',
276
-      2 => '*.toc',
274
+        0 => '*.tex',
275
+        1 => '*.aux',
276
+        2 => '*.toc',
277 277
     ),
278 278
     'standalone' => true,
279 279
     'injectable' => false,
280
-  ),
281
-  14 => 
282
-  array (
280
+    ),
281
+    14 => 
282
+    array (
283 283
     0 => 'Kadet\\Highlighter\\Language\\Markdown',
284 284
     'name' => 
285 285
     array (
286
-      0 => 'markdown',
287
-      1 => 'md',
286
+        0 => 'markdown',
287
+        1 => 'md',
288 288
     ),
289 289
     'mime' => 
290 290
     array (
291
-      0 => 'text/markdown',
291
+        0 => 'text/markdown',
292 292
     ),
293 293
     'extension' => 
294 294
     array (
295
-      0 => '*.markdown',
296
-      1 => '*.md',
295
+        0 => '*.markdown',
296
+        1 => '*.md',
297 297
     ),
298 298
     'standalone' => true,
299 299
     'injectable' => false,
300
-  ),
301
-  15 => 
302
-  array (
300
+    ),
301
+    15 => 
302
+    array (
303 303
     0 => 'Kadet\\Highlighter\\Language\\Perl',
304 304
     'name' => 
305 305
     array (
306
-      0 => 'perl',
306
+        0 => 'perl',
307 307
     ),
308 308
     'mime' => 
309 309
     array (
310
-      0 => 'text/x-perl',
311
-      1 => 'application/x-perl',
310
+        0 => 'text/x-perl',
311
+        1 => 'application/x-perl',
312 312
     ),
313 313
     'extension' => 
314 314
     array (
315
-      0 => '*.pl',
316
-      1 => '*.pm',
317
-      2 => '*.t',
315
+        0 => '*.pl',
316
+        1 => '*.pm',
317
+        2 => '*.t',
318 318
     ),
319 319
     'standalone' => true,
320 320
     'injectable' => false,
321
-  ),
322
-  16 => 
323
-  array (
321
+    ),
322
+    16 => 
323
+    array (
324 324
     0 => 'Kadet\\Highlighter\\Language\\Php',
325 325
     'name' => 
326 326
     array (
327
-      0 => 'php',
327
+        0 => 'php',
328 328
     ),
329 329
     'mime' => 
330 330
     array (
331
-      0 => 'text/x-php',
332
-      1 => 'application/x-php',
331
+        0 => 'text/x-php',
332
+        1 => 'application/x-php',
333 333
     ),
334 334
     'extension' => 
335 335
     array (
336
-      0 => '*.php',
337
-      1 => '*.phtml',
338
-      2 => '*.inc',
339
-      3 => '*.php?',
336
+        0 => '*.php',
337
+        1 => '*.phtml',
338
+        2 => '*.inc',
339
+        3 => '*.php?',
340 340
     ),
341 341
     'standalone' => true,
342 342
     'injectable' => true,
343
-  ),
344
-  17 => 
345
-  array (
343
+    ),
344
+    17 => 
345
+    array (
346 346
     0 => 'Kadet\\Highlighter\\Language\\PlainText',
347 347
     'name' => 
348 348
     array (
349
-      0 => 'plaintext',
350
-      1 => 'text',
351
-      2 => 'none',
349
+        0 => 'plaintext',
350
+        1 => 'text',
351
+        2 => 'none',
352 352
     ),
353 353
     'mime' => 
354 354
     array (
355
-      0 => 'text/plain',
355
+        0 => 'text/plain',
356 356
     ),
357 357
     'extension' => 
358 358
     array (
359 359
     ),
360 360
     'standalone' => true,
361 361
     'injectable' => false,
362
-  ),
363
-  18 => 
364
-  array (
362
+    ),
363
+    18 => 
364
+    array (
365 365
     0 => 'Kadet\\Highlighter\\Language\\PowerShell',
366 366
     'name' => 
367 367
     array (
368
-      0 => 'powershell',
369
-      1 => 'posh',
368
+        0 => 'powershell',
369
+        1 => 'posh',
370 370
     ),
371 371
     'mime' => 
372 372
     array (
373
-      0 => 'text/x-powershell',
374
-      1 => 'application/x-powershell',
373
+        0 => 'text/x-powershell',
374
+        1 => 'application/x-powershell',
375 375
     ),
376 376
     'extension' => 
377 377
     array (
378
-      0 => '*.ps1',
379
-      1 => '*.psm1',
380
-      2 => '*.psd1',
378
+        0 => '*.ps1',
379
+        1 => '*.psm1',
380
+        2 => '*.psd1',
381 381
     ),
382 382
     'standalone' => true,
383 383
     'injectable' => false,
384
-  ),
385
-  19 => 
386
-  array (
384
+    ),
385
+    19 => 
386
+    array (
387 387
     0 => 'Kadet\\Highlighter\\Language\\Python\\Django',
388 388
     'name' => 
389 389
     array (
390
-      0 => 'django',
391
-      1 => 'jinja',
390
+        0 => 'django',
391
+        1 => 'jinja',
392 392
     ),
393 393
     'mime' => 
394 394
     array (
395
-      0 => 'application/x-django-templating',
396
-      1 => 'application/x-jinja',
395
+        0 => 'application/x-django-templating',
396
+        1 => 'application/x-jinja',
397 397
     ),
398 398
     'extension' => 
399 399
     array (
400 400
     ),
401 401
     'standalone' => false,
402 402
     'injectable' => true,
403
-  ),
404
-  20 => 
405
-  array (
403
+    ),
404
+    20 => 
405
+    array (
406 406
     0 => 'Kadet\\Highlighter\\Language\\Python',
407 407
     'name' => 
408 408
     array (
409
-      0 => 'python',
410
-      1 => 'py',
409
+        0 => 'python',
410
+        1 => 'py',
411 411
     ),
412 412
     'mime' => 
413 413
     array (
414
-      0 => 'text/x-python',
415
-      1 => 'application/x-python',
414
+        0 => 'text/x-python',
415
+        1 => 'application/x-python',
416 416
     ),
417 417
     'extension' => 
418 418
     array (
419
-      0 => '*.py',
419
+        0 => '*.py',
420 420
     ),
421 421
     'standalone' => true,
422 422
     'injectable' => false,
423
-  ),
424
-  21 => 
425
-  array (
423
+    ),
424
+    21 => 
425
+    array (
426 426
     0 => 'Kadet\\Highlighter\\Language\\Ruby',
427 427
     'name' => 
428 428
     array (
429
-      0 => 'ruby',
429
+        0 => 'ruby',
430 430
     ),
431 431
     'mime' => 
432 432
     array (
433
-      0 => 'text/x-ruby',
434
-      1 => 'application/x-ruby',
433
+        0 => 'text/x-ruby',
434
+        1 => 'application/x-ruby',
435 435
     ),
436 436
     'extension' => 
437 437
     array (
438
-      0 => '*.rb',
439
-      1 => '*.rbw',
440
-      2 => 'Rakefile',
441
-      3 => '*.rake',
442
-      4 => '*.gemspec',
443
-      5 => '*.rbx',
444
-      6 => '*.duby',
445
-      7 => 'Gemfile',
438
+        0 => '*.rb',
439
+        1 => '*.rbw',
440
+        2 => 'Rakefile',
441
+        3 => '*.rake',
442
+        4 => '*.gemspec',
443
+        5 => '*.rbx',
444
+        6 => '*.duby',
445
+        7 => 'Gemfile',
446 446
     ),
447 447
     'standalone' => true,
448 448
     'injectable' => false,
449
-  ),
450
-  22 => 
451
-  array (
449
+    ),
450
+    22 => 
451
+    array (
452 452
     0 => 'Kadet\\Highlighter\\Language\\Shell',
453 453
     'name' => 
454 454
     array (
455
-      0 => 'shell',
456
-      1 => 'bash',
457
-      2 => 'zsh',
458
-      3 => 'sh',
455
+        0 => 'shell',
456
+        1 => 'bash',
457
+        2 => 'zsh',
458
+        3 => 'sh',
459 459
     ),
460 460
     'mime' => 
461 461
     array (
462
-      0 => 'text/x-shellscript',
463
-      1 => 'application/x-shellscript',
462
+        0 => 'text/x-shellscript',
463
+        1 => 'application/x-shellscript',
464 464
     ),
465 465
     'extension' => 
466 466
     array (
467
-      0 => '*.sh',
468
-      1 => '*.zsh',
469
-      2 => '*.bash',
470
-      3 => '*.ebuild',
471
-      4 => '*.eclass',
472
-      5 => '*.exheres-0',
473
-      6 => '*.exlib',
474
-      7 => '.bashrc',
475
-      8 => 'bashrc',
476
-      9 => '.bash_*',
477
-      10 => 'bash_*',
478
-      11 => 'PKGBUILD',
467
+        0 => '*.sh',
468
+        1 => '*.zsh',
469
+        2 => '*.bash',
470
+        3 => '*.ebuild',
471
+        4 => '*.eclass',
472
+        5 => '*.exheres-0',
473
+        6 => '*.exlib',
474
+        7 => '.bashrc',
475
+        8 => 'bashrc',
476
+        9 => '.bash_*',
477
+        10 => 'bash_*',
478
+        11 => 'PKGBUILD',
479 479
     ),
480 480
     'standalone' => true,
481 481
     'injectable' => false,
482
-  ),
483
-  23 => 
484
-  array (
482
+    ),
483
+    23 => 
484
+    array (
485 485
     0 => 'Kadet\\Highlighter\\Language\\Sql\\MySql',
486 486
     'name' => 
487 487
     array (
488
-      0 => 'mysql',
488
+        0 => 'mysql',
489 489
     ),
490 490
     'mime' => 
491 491
     array (
492
-      0 => 'text/x-mysql',
492
+        0 => 'text/x-mysql',
493 493
     ),
494 494
     'extension' => 
495 495
     array (
496 496
     ),
497 497
     'standalone' => true,
498 498
     'injectable' => false,
499
-  ),
500
-  24 => 
501
-  array (
499
+    ),
500
+    24 => 
501
+    array (
502 502
     0 => 'Kadet\\Highlighter\\Language\\Sql',
503 503
     'name' => 
504 504
     array (
505
-      0 => 'sql',
505
+        0 => 'sql',
506 506
     ),
507 507
     'mime' => 
508 508
     array (
509
-      0 => 'text/x-sql',
509
+        0 => 'text/x-sql',
510 510
     ),
511 511
     'extension' => 
512 512
     array (
513
-      0 => '*.sql',
513
+        0 => '*.sql',
514 514
     ),
515 515
     'standalone' => true,
516 516
     'injectable' => false,
517
-  ),
518
-  25 => 
519
-  array (
517
+    ),
518
+    25 => 
519
+    array (
520 520
     0 => 'Kadet\\Highlighter\\Language\\Xaml',
521 521
     'name' => 
522 522
     array (
523
-      0 => 'xaml',
523
+        0 => 'xaml',
524 524
     ),
525 525
     'mime' => 
526 526
     array (
527 527
     ),
528 528
     'extension' => 
529 529
     array (
530
-      0 => '*.xaml',
530
+        0 => '*.xaml',
531 531
     ),
532 532
     'standalone' => true,
533 533
     'injectable' => false,
534
-  ),
535
-  26 => 
536
-  array (
534
+    ),
535
+    26 => 
536
+    array (
537 537
     0 => 'Kadet\\Highlighter\\Language\\Xml',
538 538
     'name' => 
539 539
     array (
540
-      0 => 'xml',
540
+        0 => 'xml',
541 541
     ),
542 542
     'mime' => 
543 543
     array (
544
-      0 => 'application/xml',
545
-      1 => 'text/xml',
544
+        0 => 'application/xml',
545
+        1 => 'text/xml',
546 546
     ),
547 547
     'extension' => 
548 548
     array (
549
-      0 => '*.xml',
549
+        0 => '*.xml',
550 550
     ),
551 551
     'standalone' => true,
552 552
     'injectable' => false,
553
-  ),
553
+    ),
554 554
 );
555 555
\ No newline at end of file
Please login to merge, or discard this patch.