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 062eb5c commit 3e9c75a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lisp/php-format.el
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@
(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")
(repeat string :tag "Command and arguments"))
: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 :tag "Command and arguments" string))
:safe (lambda (v) (or (symbolp v) (listp v)))
:group 'php-format)

Expand Down

0 comments on commit 3e9c75a

Please sign in to comment.