[language-php] Remove firstLineRegex and contentRegex

They don’t gain us anything, and in fact actually cause this grammar to be ranked _below_ the TextMate PHP grammar when they fail.
This commit is contained in:
Andrew Dupont 2024-01-29 18:51:35 -08:00
parent 94d41ce82b
commit 2e36a24fc6

View File

@ -24,7 +24,3 @@ fileTypes: [
'phtml'
'profile'
]
firstLineRegex: "^\\#!.*(?:\\s|\\/)php\\d?(?:$|\\s)|^\\s*<\\?(php|=|\\s|$)"
contentRegex: "<\\?(php|=|\\s|$)"