File tree Expand file tree Collapse file tree 6 files changed +15
-2
lines changed Expand file tree Collapse file tree 6 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -1436,7 +1436,7 @@ a completion list."
14361436 " return" " throws" " var" ))
14371437
14381438(defconst php-phpdoc-font-lock-doc-comments
1439- `((" {@[-[:alpha:]]+\\ s-\\ ([^}]*\\ )}" ; "{@foo ...}" markup.
1439+ `((" {@[-[:alpha:]]+\\ s-* \\ ([^}]*\\ )}" ; "{@foo ...}" markup.
14401440 (0 'php-doc-annotation-tag prepend nil )
14411441 (1 'php-string prepend nil ))
14421442 (,(rx (group " $" ) (group (in " A-Za-z_" ) (* (in " 0-9A-Za-z_" ))))
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * {@inheritdoc}
5+ */
Original file line number Diff line number Diff line change 1+ ; ; -*- mode : emacs-lisp -*-
2+ ((" <?php" . php-php-tag)
3+ (" \n\n " )
4+ (" /**\n * " . font-lock-doc-face )
5+ (" {@inheritdoc}" php-doc-annotation-tag font-lock-doc-face )
6+ (" \n */" . font-lock-doc-face )
7+ (" \n " ))
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -672,7 +672,8 @@ Meant for `php-mode-test-issue-503'."
672672 :faces (cond ((eq emacs-major-version 24 ) " .24.faces" )
673673 ((version<= " 27" emacs-version) " .27.faces" )
674674 (t t ))))
675- (with-php-mode-test (" doc-comment-return-type.php" :faces t ))
675+ (with-php-mode-test (" doc-comment/return-type.php" :faces t ))
676+ (with-php-mode-test (" doc-comment/inheritdoc.php" :faces t ))
676677 (with-php-mode-test (" lang/types/cast.php" :faces t ))
677678 (with-php-mode-test (" lang/types/function.php" :faces t ))
678679 (with-php-mode-test (" lang/types/keywords.php" :faces t ))
You can’t perform that action at this time.
0 commit comments