Skip to content

Commit 3e9c75a

Browse files
committed
Fix wrong defcustom
1 parent 062eb5c commit 3e9c75a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lisp/php-format.el

+6-6
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@
9797
(defcustom php-format-command 'auto
9898
"A formatter symbol, or a list of command and arguments."
9999
:tag "PHP Format Command"
100-
:type '(choice (const nil :tag "Disabled reformat codes")
101-
(const 'auto :tag "Auto")
102-
(const 'ecs :tag "Easy Coding Standard")
103-
(const 'php-cs-fixer :tag "PHP-CS-Fixer")
104-
(const 'phpcbf :tag "PHP Code Beautifier and Fixer")
105-
(repeat string :tag "Command and arguments"))
100+
:type '(choice (const :tag "Disabled reformat codes" nil)
101+
(const :tag "Auto" 'auto)
102+
(const :tag "Easy Coding Standard" 'ecs)
103+
(const :tag "PHP-CS-Fixer" 'php-cs-fixer)
104+
(const :tag "PHP Code Beautifier and Fixer" 'phpcbf)
105+
(repeat :tag "Command and arguments" string))
106106
:safe (lambda (v) (or (symbolp v) (listp v)))
107107
:group 'php-format)
108108

0 commit comments

Comments
 (0)