From e543f7f9f5c191688e758ca32e051e727319e8b8 Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Sat, 29 Jul 2023 23:41:49 +0100 Subject: [PATCH] . --- syntax_files/php.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_files/php.yaml b/syntax_files/php.yaml index a5ab9ea..9f9742b 100644 --- a/syntax_files/php.yaml +++ b/syntax_files/php.yaml @@ -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->)"