Skip to content

Commit

Permalink
Merge pull request #756 from piotrkwiecinski/php-consts-face-dir
Browse files Browse the repository at this point in the history
php-magical-constant: align implementation with php-ts-mode
  • Loading branch information
zonuexe authored Aug 12, 2023
2 parents 38fd6ec + b9ada72 commit f913c67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lisp/php.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f913c67

Please sign in to comment.