Skip to content

Commit 092ea70

Browse files
mappumjbvz
authored andcommitted
extension/php: detect language via shebang (microsoft#26581)
Fixes microsoft#26580
1 parent 513b3b4 commit 092ea70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extensions/php/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"PHP",
2828
"php"
2929
],
30+
"firstLine": "^#!/.*\\bphp\\b",
3031
"mimetypes": [
3132
"application/x-php"
3233
],
@@ -119,4 +120,4 @@
119120
"devDependencies": {
120121
"@types/node": "^7.0.4"
121122
}
122-
}
123+
}

0 commit comments

Comments
 (0)