Skip to content

Commit

Permalink
Fix wrong defcustom
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Apr 11, 2023
1 parent a9404c4 commit bd0323d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lisp/php-format.el
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
(defcustom php-format-command 'auto
"A formatter symbol, or a list of command and arguments."
:tag "PHP Format Command"
:type '(choice (const nil :tag "Disabled reformat codes")
(const 'auto :tag "Auto")
(const 'ecs :tag "Easy Coding Standard")
(const 'php-cs-fixer :tag "PHP-CS-Fixer")
(const 'phpcbf :tag "PHP Code Beautifier and Fixer")
:type '(choice (const :tag "Disabled reformat codes" nil)
(const :tag "Auto" 'auto)
(const :tag "Easy Coding Standard" 'ecs)
(const :tag "PHP-CS-Fixer" 'php-cs-fixer)
(const :tag "PHP Code Beautifier and Fixer" 'phpcbf)
(repeat string :tag "Command and arguments"))
:safe (lambda (v) (or (symbolp v) (listp v)))
:group 'php-format)
Expand Down

0 comments on commit bd0323d

Please sign in to comment.