This commit is contained in:
Jesse Portnoy
2023-07-29 23:41:49 +01:00
parent 0b42849ebd
commit e543f7f9f5
+1 -1
View File
@@ -28,7 +28,7 @@ rules:
- statement: "(^|[[:space:]])(implements|abstract|instanceof|if|else(if)?|endif|namespace|use|as|new|throw|catch|try|while|print|for|(end)?(foreach)?)\\b"
- identifier: "new\\s([a-zA-Z0-9\\\\]+)"
- special: "(break|continue|goto|return)"
- constant.bool: "(=|[[:space:]])(true|false|null|TRUE|FALSE|NULL)"
- constant.bool: "(\\:|\\?|=|[[:space:]])(true|false|null|TRUE|FALSE|NULL)"
- constant: "[\\s|=|\\s|\\(|/|+|-|\\*|\\[]"
- constant.number: "[0-9]"
- identifier: "(\\$this|parent|self|\\$this->)"