From b9ada729f31c79e3daa75522d7da6af531fa59f6 Mon Sep 17 00:00:00 2001 From: Piotr Kwiecinski Date: Sat, 12 Aug 2023 18:03:44 +0200 Subject: [PATCH] php-magical-constant: align implementation with php-ts-mode --- lisp/php.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/php.el b/lisp/php.el index 74725973..71c6c09a 100644 --- a/lisp/php.el +++ b/lisp/php.el @@ -206,7 +206,8 @@ a completion list." ;;; PHP Keywords (defconst php-magical-constants - (list "__LINE__" "__FILE__" "__FUNCTION__" "__CLASS__" "__TRAIT__" "__METHOD__" "__NAMESPACE__") + '("__CLASS__" "__DIR__" "__FILE__" "__FUNCTION__" "__LINE__" + "__METHOD__" "__NAMESPACE__" "__TRAIT__") "Magical keyword that is expanded at compile time. These are different from \"constants\" in strict terms.