We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0982913 commit 6abe2b5Copy full SHA for 6abe2b5
src/Templates/highlight.php/php.json
@@ -294,16 +294,24 @@
294
},
295
{
296
"className": "class",
297
- "beginKeywords": "class interface trait enum",
298
- "end": "{",
+ "variants": [
+ {
299
+ "beginKeywords": "enum",
300
+ "illegal": "[($\"]"
301
+ },
302
303
+ "beginKeywords": "class interface trait",
304
+ "illegal": "[:($\"]"
305
+ }
306
+ ],
307
+ "end": "\\{",
308
"excludeEnd": true,
- "illegal": "[:\\(\\$\"]",
309
"contains": [
310
311
"beginKeywords": "extends implements"
312
313
- "$ref": "#contains.10.contains.0"
314
+ "$ref": "#contains.10.contains.1"
315
}
316
]
317
0 commit comments