Completed
Push — master ( e025a9...54d0c4 )
by Kacper
04:20
created
Language/Apache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
                 new OpenRule(new RegexMatcher('/(<[\w\.-]+)[:\/>:\s]/')),
39 39
                 new CloseRule(new SubStringMatcher('>'), ['context' => ['!string', '!comment']]),
40 40
             ],
41
-            'tag.close' => new Rule(new RegexMatcher('/(<\/' . self::IDENTIFIER . '>)/')),
41
+            'tag.close' => new Rule(new RegexMatcher('/(<\/'.self::IDENTIFIER.'>)/')),
42 42
 
43
-            'symbol.tag' => new Rule(new RegexMatcher('/<\\/?' . self::IDENTIFIER . '/', [
43
+            'symbol.tag' => new Rule(new RegexMatcher('/<\\/?'.self::IDENTIFIER.'/', [
44 44
                 'name'      => Token::NAME,
45 45
                 'namespace' => '$.namespace',
46 46
             ]), ['context' => ['symbol.directive', '!string']]),
Please login to merge, or discard this patch.
Config/metadata.php 1 patch
Spacing   +129 added lines, -129 removed lines patch added patch discarded remove patch
@@ -1,56 +1,56 @@  discard block
 block discarded – undo
1
-<?php return array (
1
+<?php return array(
2 2
   0 => 
3
-  array (
3
+  array(
4 4
     0 => 'Kadet\\Highlighter\\Language\\Apache',
5 5
     'name' => 
6
-    array (
6
+    array(
7 7
       0 => 'apache',
8 8
     ),
9 9
     'mime' => 
10
-    array (
10
+    array(
11 11
       0 => 'application/xml',
12 12
       1 => 'text/xml',
13 13
     ),
14 14
     'extension' => 
15
-    array (
15
+    array(
16 16
       0 => '.htaccess',
17 17
     ),
18 18
     'standalone' => true,
19 19
     'injectable' => false,
20 20
   ),
21 21
   1 => 
22
-  array (
22
+  array(
23 23
     0 => 'Kadet\\Highlighter\\Language\\Assembler',
24 24
     'name' => 
25
-    array (
25
+    array(
26 26
       0 => 'asm',
27 27
       1 => 'assembler',
28 28
     ),
29 29
     'mime' => 
30
-    array (
30
+    array(
31 31
       0 => 'text/x-asm',
32 32
     ),
33 33
     'extension' => 
34
-    array (
34
+    array(
35 35
       0 => '*.asm',
36 36
     ),
37 37
     'standalone' => true,
38 38
     'injectable' => false,
39 39
   ),
40 40
   2 => 
41
-  array (
41
+  array(
42 42
     0 => 'Kadet\\Highlighter\\Language\\C',
43 43
     'name' => 
44
-    array (
44
+    array(
45 45
       0 => 'c',
46 46
     ),
47 47
     'mime' => 
48
-    array (
48
+    array(
49 49
       0 => 'text/x-csrc',
50 50
       1 => 'text/x-chdr',
51 51
     ),
52 52
     'extension' => 
53
-    array (
53
+    array(
54 54
       0 => '*.c',
55 55
       1 => '*.h',
56 56
       2 => '*.idc',
@@ -59,38 +59,38 @@  discard block
 block discarded – undo
59 59
     'injectable' => false,
60 60
   ),
61 61
   3 => 
62
-  array (
62
+  array(
63 63
     0 => 'Kadet\\Highlighter\\Language\\Cobol',
64 64
     'name' => 
65
-    array (
65
+    array(
66 66
       0 => 'cobol',
67 67
     ),
68 68
     'mime' => 
69
-    array (
69
+    array(
70 70
       0 => 'text/x-cobol',
71 71
     ),
72 72
     'extension' => 
73
-    array (
73
+    array(
74 74
       0 => '*.cbl',
75 75
     ),
76 76
     'standalone' => true,
77 77
     'injectable' => false,
78 78
   ),
79 79
   4 => 
80
-  array (
80
+  array(
81 81
     0 => 'Kadet\\Highlighter\\Language\\Cpp',
82 82
     'name' => 
83
-    array (
83
+    array(
84 84
       0 => 'cpp',
85 85
       1 => 'c++',
86 86
     ),
87 87
     'mime' => 
88
-    array (
88
+    array(
89 89
       0 => 'text/x-c++src',
90 90
       1 => 'text/x-c++hdr',
91 91
     ),
92 92
     'extension' => 
93
-    array (
93
+    array(
94 94
       0 => '*.cpp',
95 95
       1 => '*.hpp',
96 96
       2 => '*.hxx',
@@ -102,149 +102,149 @@  discard block
 block discarded – undo
102 102
     'injectable' => false,
103 103
   ),
104 104
   5 => 
105
-  array (
105
+  array(
106 106
     0 => 'Kadet\\Highlighter\\Language\\CSharp',
107 107
     'name' => 
108
-    array (
108
+    array(
109 109
       0 => 'CSharp',
110 110
       1 => 'C#',
111 111
     ),
112 112
     'mime' => 
113
-    array (
113
+    array(
114 114
       0 => 'text/x-csharp',
115 115
     ),
116 116
     'extension' => 
117
-    array (
117
+    array(
118 118
       0 => '*.cs',
119 119
     ),
120 120
     'standalone' => true,
121 121
     'injectable' => false,
122 122
   ),
123 123
   6 => 
124
-  array (
124
+  array(
125 125
     0 => 'Kadet\\Highlighter\\Language\\Css\\Less',
126 126
     'name' => 
127
-    array (
127
+    array(
128 128
       0 => 'less',
129 129
     ),
130 130
     'mime' => 
131
-    array (
131
+    array(
132 132
       0 => 'text/x-less',
133 133
     ),
134 134
     'extension' => 
135
-    array (
135
+    array(
136 136
       0 => '*.less',
137 137
     ),
138 138
     'standalone' => true,
139 139
     'injectable' => false,
140 140
   ),
141 141
   7 => 
142
-  array (
142
+  array(
143 143
     0 => 'Kadet\\Highlighter\\Language\\Css\\Sass',
144 144
     'name' => 
145
-    array (
145
+    array(
146 146
       0 => 'sass',
147 147
     ),
148 148
     'mime' => 
149
-    array (
149
+    array(
150 150
       0 => 'text/x-sass',
151 151
     ),
152 152
     'extension' => 
153
-    array (
153
+    array(
154 154
       0 => '*.sass',
155 155
     ),
156 156
     'standalone' => true,
157 157
     'injectable' => false,
158 158
   ),
159 159
   8 => 
160
-  array (
160
+  array(
161 161
     0 => 'Kadet\\Highlighter\\Language\\Css\\Scss',
162 162
     'name' => 
163
-    array (
163
+    array(
164 164
       0 => 'scss',
165 165
     ),
166 166
     'mime' => 
167
-    array (
167
+    array(
168 168
       0 => 'text/x-scss',
169 169
     ),
170 170
     'extension' => 
171
-    array (
171
+    array(
172 172
       0 => '*.scss',
173 173
     ),
174 174
     'standalone' => true,
175 175
     'injectable' => false,
176 176
   ),
177 177
   9 => 
178
-  array (
178
+  array(
179 179
     0 => 'Kadet\\Highlighter\\Language\\Css',
180 180
     'name' => 
181
-    array (
181
+    array(
182 182
       0 => 'css',
183 183
     ),
184 184
     'mime' => 
185
-    array (
185
+    array(
186 186
       0 => 'text/css',
187 187
     ),
188 188
     'extension' => 
189
-    array (
189
+    array(
190 190
       0 => '*.css',
191 191
     ),
192 192
     'standalone' => true,
193 193
     'injectable' => false,
194 194
   ),
195 195
   10 => 
196
-  array (
196
+  array(
197 197
     0 => 'Kadet\\Highlighter\\Language\\Go',
198 198
     'name' => 
199
-    array (
199
+    array(
200 200
       0 => 'go',
201 201
       1 => 'golang',
202 202
     ),
203 203
     'mime' => 
204
-    array (
204
+    array(
205 205
       0 => 'text/x-go',
206 206
       1 => 'application/x-go',
207 207
       2 => 'text/x-golang',
208 208
       3 => 'application/x-golang',
209 209
     ),
210 210
     'extension' => 
211
-    array (
211
+    array(
212 212
       0 => '*.go',
213 213
     ),
214 214
     'standalone' => true,
215 215
     'injectable' => false,
216 216
   ),
217 217
   11 => 
218
-  array (
218
+  array(
219 219
     0 => 'Kadet\\Highlighter\\Language\\Haskell',
220 220
     'name' => 
221
-    array (
221
+    array(
222 222
       0 => 'haskell',
223 223
     ),
224 224
     'mime' => 
225
-    array (
225
+    array(
226 226
       0 => 'text/x-haskell',
227 227
     ),
228 228
     'extension' => 
229
-    array (
229
+    array(
230 230
       0 => '*.hs',
231 231
     ),
232 232
     'standalone' => true,
233 233
     'injectable' => false,
234 234
   ),
235 235
   12 => 
236
-  array (
236
+  array(
237 237
     0 => 'Kadet\\Highlighter\\Language\\Html',
238 238
     'name' => 
239
-    array (
239
+    array(
240 240
       0 => 'html',
241 241
     ),
242 242
     'mime' => 
243
-    array (
243
+    array(
244 244
       0 => 'text/html',
245 245
     ),
246 246
     'extension' => 
247
-    array (
247
+    array(
248 248
       0 => '*.html',
249 249
       1 => '*.htm',
250 250
     ),
@@ -252,35 +252,35 @@  discard block
 block discarded – undo
252 252
     'injectable' => false,
253 253
   ),
254 254
   13 => 
255
-  array (
255
+  array(
256 256
     0 => 'Kadet\\Highlighter\\Language\\Http',
257 257
     'name' => 
258
-    array (
258
+    array(
259 259
       0 => 'http',
260 260
     ),
261 261
     'mime' => 
262
-    array (
262
+    array(
263 263
     ),
264 264
     'extension' => 
265
-    array (
265
+    array(
266 266
     ),
267 267
     'standalone' => true,
268 268
     'injectable' => false,
269 269
   ),
270 270
   14 => 
271
-  array (
271
+  array(
272 272
     0 => 'Kadet\\Highlighter\\Language\\Ini',
273 273
     'name' => 
274
-    array (
274
+    array(
275 275
       0 => 'ini',
276 276
     ),
277 277
     'mime' => 
278
-    array (
278
+    array(
279 279
       0 => 'text/x-ini',
280 280
       1 => 'text/inf',
281 281
     ),
282 282
     'extension' => 
283
-    array (
283
+    array(
284 284
       0 => '*.ini',
285 285
       1 => '*.cfg',
286 286
       2 => '*.inf',
@@ -289,34 +289,34 @@  discard block
 block discarded – undo
289 289
     'injectable' => false,
290 290
   ),
291 291
   15 => 
292
-  array (
292
+  array(
293 293
     0 => 'Kadet\\Highlighter\\Language\\Java',
294 294
     'name' => 
295
-    array (
295
+    array(
296 296
       0 => 'java',
297 297
     ),
298 298
     'mime' => 
299
-    array (
299
+    array(
300 300
       0 => 'text/x-java',
301 301
     ),
302 302
     'extension' => 
303
-    array (
303
+    array(
304 304
       0 => '*.java',
305 305
     ),
306 306
     'standalone' => true,
307 307
     'injectable' => false,
308 308
   ),
309 309
   16 => 
310
-  array (
310
+  array(
311 311
     0 => 'Kadet\\Highlighter\\Language\\JavaScript',
312 312
     'name' => 
313
-    array (
313
+    array(
314 314
       0 => 'js',
315 315
       1 => 'jscript',
316 316
       2 => 'javascript',
317 317
     ),
318 318
     'mime' => 
319
-    array (
319
+    array(
320 320
       0 => 'application/javascript',
321 321
       1 => 'application/x-javascript',
322 322
       2 => 'text/x-javascript',
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
       4 => 'application/json',
325 325
     ),
326 326
     'extension' => 
327
-    array (
327
+    array(
328 328
       0 => '*.js',
329 329
       1 => '*.jsx',
330 330
     ),
@@ -332,20 +332,20 @@  discard block
 block discarded – undo
332 332
     'injectable' => false,
333 333
   ),
334 334
   17 => 
335
-  array (
335
+  array(
336 336
     0 => 'Kadet\\Highlighter\\Language\\Latex',
337 337
     'name' => 
338
-    array (
338
+    array(
339 339
       0 => 'tex',
340 340
       1 => 'latex',
341 341
     ),
342 342
     'mime' => 
343
-    array (
343
+    array(
344 344
       0 => 'application/x-tex',
345 345
       1 => 'application/x-latex',
346 346
     ),
347 347
     'extension' => 
348
-    array (
348
+    array(
349 349
       0 => '*.tex',
350 350
       1 => '*.aux',
351 351
       2 => '*.toc',
@@ -354,19 +354,19 @@  discard block
 block discarded – undo
354 354
     'injectable' => false,
355 355
   ),
356 356
   18 => 
357
-  array (
357
+  array(
358 358
     0 => 'Kadet\\Highlighter\\Language\\Markdown',
359 359
     'name' => 
360
-    array (
360
+    array(
361 361
       0 => 'markdown',
362 362
       1 => 'md',
363 363
     ),
364 364
     'mime' => 
365
-    array (
365
+    array(
366 366
       0 => 'text/markdown',
367 367
     ),
368 368
     'extension' => 
369
-    array (
369
+    array(
370 370
       0 => '*.markdown',
371 371
       1 => '*.md',
372 372
     ),
@@ -374,19 +374,19 @@  discard block
 block discarded – undo
374 374
     'injectable' => false,
375 375
   ),
376 376
   19 => 
377
-  array (
377
+  array(
378 378
     0 => 'Kadet\\Highlighter\\Language\\Perl',
379 379
     'name' => 
380
-    array (
380
+    array(
381 381
       0 => 'perl',
382 382
     ),
383 383
     'mime' => 
384
-    array (
384
+    array(
385 385
       0 => 'text/x-perl',
386 386
       1 => 'application/x-perl',
387 387
     ),
388 388
     'extension' => 
389
-    array (
389
+    array(
390 390
       0 => '*.pl',
391 391
       1 => '*.pm',
392 392
       2 => '*.t',
@@ -395,19 +395,19 @@  discard block
 block discarded – undo
395 395
     'injectable' => false,
396 396
   ),
397 397
   20 => 
398
-  array (
398
+  array(
399 399
     0 => 'Kadet\\Highlighter\\Language\\Php',
400 400
     'name' => 
401
-    array (
401
+    array(
402 402
       0 => 'php',
403 403
     ),
404 404
     'mime' => 
405
-    array (
405
+    array(
406 406
       0 => 'text/x-php',
407 407
       1 => 'application/x-php',
408 408
     ),
409 409
     'extension' => 
410
-    array (
410
+    array(
411 411
       0 => '*.php',
412 412
       1 => '*.phtml',
413 413
       2 => '*.inc',
@@ -417,39 +417,39 @@  discard block
 block discarded – undo
417 417
     'injectable' => true,
418 418
   ),
419 419
   21 => 
420
-  array (
420
+  array(
421 421
     0 => 'Kadet\\Highlighter\\Language\\PlainText',
422 422
     'name' => 
423
-    array (
423
+    array(
424 424
       0 => 'plaintext',
425 425
       1 => 'text',
426 426
       2 => 'none',
427 427
     ),
428 428
     'mime' => 
429
-    array (
429
+    array(
430 430
       0 => 'text/plain',
431 431
     ),
432 432
     'extension' => 
433
-    array (
433
+    array(
434 434
     ),
435 435
     'standalone' => true,
436 436
     'injectable' => false,
437 437
   ),
438 438
   22 => 
439
-  array (
439
+  array(
440 440
     0 => 'Kadet\\Highlighter\\Language\\PowerShell',
441 441
     'name' => 
442
-    array (
442
+    array(
443 443
       0 => 'powershell',
444 444
       1 => 'posh',
445 445
     ),
446 446
     'mime' => 
447
-    array (
447
+    array(
448 448
       0 => 'text/x-powershell',
449 449
       1 => 'application/x-powershell',
450 450
     ),
451 451
     'extension' => 
452
-    array (
452
+    array(
453 453
       0 => '*.ps1',
454 454
       1 => '*.psm1',
455 455
       2 => '*.psd1',
@@ -458,58 +458,58 @@  discard block
 block discarded – undo
458 458
     'injectable' => false,
459 459
   ),
460 460
   23 => 
461
-  array (
461
+  array(
462 462
     0 => 'Kadet\\Highlighter\\Language\\Python\\Django',
463 463
     'name' => 
464
-    array (
464
+    array(
465 465
       0 => 'django',
466 466
       1 => 'jinja',
467 467
     ),
468 468
     'mime' => 
469
-    array (
469
+    array(
470 470
       0 => 'application/x-django-templating',
471 471
       1 => 'application/x-jinja',
472 472
     ),
473 473
     'extension' => 
474
-    array (
474
+    array(
475 475
     ),
476 476
     'standalone' => false,
477 477
     'injectable' => true,
478 478
   ),
479 479
   24 => 
480
-  array (
480
+  array(
481 481
     0 => 'Kadet\\Highlighter\\Language\\Python',
482 482
     'name' => 
483
-    array (
483
+    array(
484 484
       0 => 'python',
485 485
       1 => 'py',
486 486
     ),
487 487
     'mime' => 
488
-    array (
488
+    array(
489 489
       0 => 'text/x-python',
490 490
       1 => 'application/x-python',
491 491
     ),
492 492
     'extension' => 
493
-    array (
493
+    array(
494 494
       0 => '*.py',
495 495
     ),
496 496
     'standalone' => true,
497 497
     'injectable' => false,
498 498
   ),
499 499
   25 => 
500
-  array (
500
+  array(
501 501
     0 => 'Kadet\\Highlighter\\Language\\Ruby',
502 502
     'name' => 
503
-    array (
503
+    array(
504 504
       0 => 'ruby',
505 505
     ),
506 506
     'mime' => 
507
-    array (
507
+    array(
508 508
       0 => 'text/x-ruby',
509 509
       1 => 'application/x-ruby',
510 510
     ),
511 511
     'extension' => 
512
-    array (
512
+    array(
513 513
       0 => '*.rb',
514 514
       1 => '*.rbw',
515 515
       2 => 'Rakefile',
@@ -523,22 +523,22 @@  discard block
 block discarded – undo
523 523
     'injectable' => false,
524 524
   ),
525 525
   26 => 
526
-  array (
526
+  array(
527 527
     0 => 'Kadet\\Highlighter\\Language\\Shell',
528 528
     'name' => 
529
-    array (
529
+    array(
530 530
       0 => 'shell',
531 531
       1 => 'bash',
532 532
       2 => 'zsh',
533 533
       3 => 'sh',
534 534
     ),
535 535
     'mime' => 
536
-    array (
536
+    array(
537 537
       0 => 'text/x-shellscript',
538 538
       1 => 'application/x-shellscript',
539 539
     ),
540 540
     'extension' => 
541
-    array (
541
+    array(
542 542
       0 => '*.sh',
543 543
       1 => '*.zsh',
544 544
       2 => '*.bash',
@@ -556,89 +556,89 @@  discard block
 block discarded – undo
556 556
     'injectable' => false,
557 557
   ),
558 558
   27 => 
559
-  array (
559
+  array(
560 560
     0 => 'Kadet\\Highlighter\\Language\\Sql\\MySql',
561 561
     'name' => 
562
-    array (
562
+    array(
563 563
       0 => 'mysql',
564 564
     ),
565 565
     'mime' => 
566
-    array (
566
+    array(
567 567
       0 => 'text/x-mysql',
568 568
     ),
569 569
     'extension' => 
570
-    array (
570
+    array(
571 571
     ),
572 572
     'standalone' => true,
573 573
     'injectable' => false,
574 574
   ),
575 575
   28 => 
576
-  array (
576
+  array(
577 577
     0 => 'Kadet\\Highlighter\\Language\\Sql',
578 578
     'name' => 
579
-    array (
579
+    array(
580 580
       0 => 'sql',
581 581
     ),
582 582
     'mime' => 
583
-    array (
583
+    array(
584 584
       0 => 'text/x-sql',
585 585
     ),
586 586
     'extension' => 
587
-    array (
587
+    array(
588 588
       0 => '*.sql',
589 589
     ),
590 590
     'standalone' => true,
591 591
     'injectable' => false,
592 592
   ),
593 593
   29 => 
594
-  array (
594
+  array(
595 595
     0 => 'Kadet\\Highlighter\\Language\\Twig',
596 596
     'name' => 
597
-    array (
597
+    array(
598 598
       0 => 'twig',
599 599
     ),
600 600
     'mime' => 
601
-    array (
601
+    array(
602 602
       0 => 'text/x-twig',
603 603
     ),
604 604
     'extension' => 
605
-    array (
605
+    array(
606 606
       0 => '*.twig',
607 607
     ),
608 608
     'standalone' => false,
609 609
     'injectable' => true,
610 610
   ),
611 611
   30 => 
612
-  array (
612
+  array(
613 613
     0 => 'Kadet\\Highlighter\\Language\\Xaml',
614 614
     'name' => 
615
-    array (
615
+    array(
616 616
       0 => 'xaml',
617 617
     ),
618 618
     'mime' => 
619
-    array (
619
+    array(
620 620
     ),
621 621
     'extension' => 
622
-    array (
622
+    array(
623 623
       0 => '*.xaml',
624 624
     ),
625 625
     'standalone' => true,
626 626
     'injectable' => false,
627 627
   ),
628 628
   31 => 
629
-  array (
629
+  array(
630 630
     0 => 'Kadet\\Highlighter\\Language\\Xml',
631 631
     'name' => 
632
-    array (
632
+    array(
633 633
       0 => 'xml',
634 634
     ),
635 635
     'mime' => 
636
-    array (
636
+    array(
637 637
       0 => 'application/xml',
638 638
       1 => 'text/xml',
639 639
     ),
640 640
     'extension' => 
641
-    array (
641
+    array(
642 642
       0 => '*.xml',
643 643
     ),
644 644
     'standalone' => true,
Please login to merge, or discard this patch.