branch: elpa/php-mode commit 044ced8eb089cf1115f867fc14985ad0ab4c8169 Author: Piotr Kwiecinski <piotr.kwiecin...@codemanufacture.com> Commit: Piotr Kwiecinski <piotr.kwiecin...@codemanufacture.com>
fix byte compilation warnings --- lisp/php-face.el | 9 ++++++--- lisp/php-format.el | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/lisp/php-face.el b/lisp/php-face.el index 1d80c702c3..a9ce85f9c8 100644 --- a/lisp/php-face.el +++ b/lisp/php-face.el @@ -126,7 +126,8 @@ :tag "PHP Object Op") (defface php-paamayim-nekudotayim '((t ())) - "PHP Mode face used to highlight \"Paamayim Nekudotayim\" scope resolution operators (::)." + "PHP Mode face used to highlight scope resolution operators (::). +The operator is also knows as \"Paamayim Nekudotayim\"." :group 'php-faces :tag "PHP Paamayim Nekudotayim") @@ -209,7 +210,8 @@ :tag "PHP Class Declaration") (defface php-class-declaration-spec '((t (:inherit php-keyword))) - "PHP Mode Face used to highlight class declaration specification keywords (implements, extends)." + "PHP Mode Face used to highlight class declaration specification keywords. +The keywords include: implements, extends." :group 'php-faces :tag "PHP Class Declaration Specification") @@ -239,7 +241,8 @@ :tag "PHP Visibility Modifier") (defface php-control-structure '((t (:inherit php-keyword))) - "PHP Mode Face used to highlight control structures (if, foreach, while, switch, catch...)." + "PHP Mode Face used to highlight control structures. +The control structures include: if, foreach, while, switch, catch." :group 'php-faces :tag "PHP Control Structure") diff --git a/lisp/php-format.el b/lisp/php-format.el index 61ddceae66..cfa71a57e8 100644 --- a/lisp/php-format.el +++ b/lisp/php-format.el @@ -98,10 +98,10 @@ "A formatter symbol, or a list of command and arguments." :tag "PHP Format Command" :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) + (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)