We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6abc996 commit fa8a969Copy full SHA for fa8a969
lisp/php-mode.el
@@ -1301,7 +1301,7 @@ for \\[find-tag] (which see)."
1301
(1 'php-doc-variable-sigil prepend nil)
1302
(2 'php-variable-name prepend nil))
1303
("\\(\\$\\)\\(this\\)\\>" (1 'php-doc-$this-sigil prepend nil) (2 'php-doc-$this prepend nil))
1304
- (,(concat "\\s-@" (regexp-opt php-phpdoc-type-tags) "\\s-+"
+ (,(concat "\\s-@" (rx (? (or "phpstan" "psalm") "-")) (regexp-opt php-phpdoc-type-tags) "\\s-+"
1305
"\\(" (rx (+ (? "?") (? "\\") (+ (in "0-9A-Z_a-z")) (? "[]") (? "|"))) "\\)+")
1306
1 'php-string prepend nil)
1307
(,(concat "\\(?:|\\|\\?\\|\\s-\\)\\("
0 commit comments