[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/php-mode 08776c1b50 01/12: Changed variable name to php-ph
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/php-mode 08776c1b50 01/12: Changed variable name to php-phpdoc-type-names to avoid confusion |
Date: |
Thu, 3 Nov 2022 12:59:19 -0400 (EDT) |
branch: elpa/php-mode
commit 08776c1b50dc58622ff8da732bbbd6c1d99d78f3
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>
Changed variable name to php-phpdoc-type-names to avoid confusion
---
lisp/php-mode.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/lisp/php-mode.el b/lisp/php-mode.el
index 37f2ba602b..0336e8efa5 100644
--- a/lisp/php-mode.el
+++ b/lisp/php-mode.el
@@ -1275,7 +1275,7 @@ for \\[find-tag] (which see)."
(message "Unknown function: %s" tagname))))
;; Font Lock
-(defconst php-phpdoc-type-keywords
+(defconst php-phpdoc-type-names
(list "string" "integer" "int" "boolean" "bool" "float"
"double" "object" "mixed" "array" "resource"
"void" "null" "false" "true" "self" "static"
@@ -1287,7 +1287,10 @@ for \\[find-tag] (which see)."
"never" "never-return" "never-returns" "no-return" "non-empty-array"
"non-empty-list" "non-empty-string" "non-falsy-string"
"numeric" "numeric-string" "positive-int" "scalar"
- "trait-string" "truthy-string" "key-of" "value-of"))
+ "trait-string" "truthy-string" "key-of" "value-of")
+ "A list of type and pseudotype names that can be used in PHPDoc.")
+
+(make-obsolete-variable 'php-phpdoc-type-keywords 'php-phpdoc-type-names
"1.24.2")
(defconst php-phpdoc-type-tags
(list "package" "param" "property" "property-read" "property-write"
@@ -1305,7 +1308,7 @@ for \\[find-tag] (which see)."
"\\(" (rx (+ (? "?") (? "\\") (+ (in "0-9A-Z_a-z")) (? "[]") (?
"|"))) "\\)+")
1 'php-string prepend nil)
(,(concat "\\(?:|\\|\\?\\|\\s-\\)\\("
- (regexp-opt php-phpdoc-type-keywords 'words)
+ (regexp-opt php-phpdoc-type-names 'words)
"\\)")
1 font-lock-type-face prepend nil)
("https?://[^\n\t ]+"
- [nongnu] elpa/php-mode 44601ab2df 02/12: Add "phan" to type tag vendor prefix, (continued)
- [nongnu] elpa/php-mode 44601ab2df 02/12: Add "phan" to type tag vendor prefix, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 258d6c5460 04/12: Add Psalm template annotations to php-phpdoc-type-tags, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 9603a4f54f 10/12: Revert string-trim-right, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode f5c4016bb6 12/12: Update AUTHORS, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 0bbdc46e01 03/12: Add "type" to php-phpdoc-type-tags as "phpstan-type", ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 7853345918 05/12: Update CHANGELOG, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 865bc847f8 06/12: Merge pull request #717 from emacs-php/refactor/phpdoc-type-variables, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 08ef915dc3 09/12: Revert "Use compat-string-trim-* functions for compatibility", ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode b559c80a1e 11/12: Merge pull request #713 from emacs-php/feature/php-mode-version, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode cf10f7c217 08/12: Use compat-string-trim-* functions for compatibility, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 08776c1b50 01/12: Changed variable name to php-phpdoc-type-names to avoid confusion,
ELPA Syncer <=
- [nongnu] elpa/php-mode f35bf9a28c 07/12: Add php-mode-version-id and make obsolete php-mode-version-number, ELPA Syncer, 2022/11/03