Skip to content

Commit f913c67

Browse files
authored
Merge pull request #756 from piotrkwiecinski/php-consts-face-dir
php-magical-constant: align implementation with php-ts-mode
2 parents 38fd6ec + b9ada72 commit f913c67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lisp/php.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ a completion list."
206206

207207
;;; PHP Keywords
208208
(defconst php-magical-constants
209-
(list "__LINE__" "__FILE__" "__FUNCTION__" "__CLASS__" "__TRAIT__" "__METHOD__" "__NAMESPACE__")
209+
'("__CLASS__" "__DIR__" "__FILE__" "__FUNCTION__" "__LINE__"
210+
"__METHOD__" "__NAMESPACE__" "__TRAIT__")
210211
"Magical keyword that is expanded at compile time.
211212
212213
These are different from \"constants\" in strict terms.

0 commit comments

Comments
 (0)