Skip to content

Commit 044ced8

Browse files
fix byte compilation warnings
1 parent e906093 commit 044ced8

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

lisp/php-face.el

+6-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@
126126
:tag "PHP Object Op")
127127

128128
(defface php-paamayim-nekudotayim '((t ()))
129-
"PHP Mode face used to highlight \"Paamayim Nekudotayim\" scope resolution operators (::)."
129+
"PHP Mode face used to highlight scope resolution operators (::).
130+
The operator is also knows as \"Paamayim Nekudotayim\"."
130131
:group 'php-faces
131132
:tag "PHP Paamayim Nekudotayim")
132133

@@ -209,7 +210,8 @@
209210
:tag "PHP Class Declaration")
210211

211212
(defface php-class-declaration-spec '((t (:inherit php-keyword)))
212-
"PHP Mode Face used to highlight class declaration specification keywords (implements, extends)."
213+
"PHP Mode Face used to highlight class declaration specification keywords.
214+
The keywords include: implements, extends."
213215
:group 'php-faces
214216
:tag "PHP Class Declaration Specification")
215217

@@ -239,7 +241,8 @@
239241
:tag "PHP Visibility Modifier")
240242

241243
(defface php-control-structure '((t (:inherit php-keyword)))
242-
"PHP Mode Face used to highlight control structures (if, foreach, while, switch, catch...)."
244+
"PHP Mode Face used to highlight control structures.
245+
The control structures include: if, foreach, while, switch, catch."
243246
:group 'php-faces
244247
:tag "PHP Control Structure")
245248

lisp/php-format.el

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@
9898
"A formatter symbol, or a list of command and arguments."
9999
:tag "PHP Format Command"
100100
: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)
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)
105105
(repeat :tag "Command and arguments" string))
106106
:safe (lambda (v) (or (symbolp v) (listp v)))
107107
:group 'php-format)

0 commit comments

Comments
 (0)