File tree 16 files changed +23
-46
lines changed
16 files changed +23
-46
lines changed Original file line number Diff line number Diff line change 28
28
steps :
29
29
- uses : actions/setup-python@v2
30
30
with :
31
- python-version : ' 3.6 '
31
+ python-version : ' 3.11 '
32
32
architecture : ' x64'
33
33
- uses : purcell/setup-emacs@master
34
34
with :
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes of the PHP Mode 1.19.1 release series are documented in this file using the [ Keep a CHANGELOG] ( https://keepachangelog.com/ ) principles.
4
4
5
- <!-- ## Unreleased -->
5
+ ## Unreleased
6
+
7
+ ### Removed
8
+
9
+ * No longer highlights ` 'link ` in PHPDoc ([ #724 ] )
10
+ * Please use ` goto-address-prog-mode ` minor mode
11
+
12
+ [ #724 ] : https://github.com/emacs-php/php-mode/pull/724
6
13
7
14
## [ 1.24.2] - 2022-11-13
8
15
Original file line number Diff line number Diff line change @@ -1371,8 +1371,6 @@ for \\[find-tag] (which see)."
1371
1371
(regexp-opt php-phpdoc-type-names 'words )
1372
1372
" \\ )" )
1373
1373
1 font-lock-type-face prepend nil )
1374
- (" https?://[^\n\t ]+"
1375
- 0 'link prepend nil )
1376
1374
(" ^\\ (?:/\\ *\\ )?\\ (?:\\ s \\ |\\ *\\ )*\\ (@[[:alpha:]][-[:alpha:]\\ ]*\\ )" ; "@foo ..." markup.
1377
1375
1 'php-doc-annotation-tag prepend nil )))
1378
1376
Original file line number Diff line number Diff line change 1
1
; ; -*- mode : emacs-lisp -*-
2
2
((" <?php" . php-php-tag)
3
3
(" \n\n " )
4
- (" /**\n * GitHub-Issue: " . font-lock-doc-face )
5
- (" https://github.com/emacs-php/php-mode/issues/506" link font-lock-doc-face )
6
- (" \n *\n * " . font-lock-doc-face )
4
+ (" /**\n * GitHub-Issue: https://github.com/emacs-php/php-mode/issues/506\n *\n * " . font-lock-doc-face )
7
5
(" @see" php-doc-annotation-tag font-lock-doc-face )
8
- (" " . font-lock-doc-face )
9
- (" https://wiki.php.net/rfc/arrow_functions_v2" link font-lock-doc-face )
10
- (" \n */" . font-lock-doc-face )
6
+ (" https://wiki.php.net/rfc/arrow_functions_v2\n */" . font-lock-doc-face )
11
7
(" \n\n " )
12
8
(" $" . php-variable-sigil)
13
9
(" fn1" . php-variable-name)
Original file line number Diff line number Diff line change 11
11
(" @author" php-doc-annotation-tag font-lock-doc-face )
12
12
(" USAMI Kenta <tadsan@pixiv.com>\n * " . font-lock-doc-face )
13
13
(" @link" php-doc-annotation-tag font-lock-doc-face )
14
- (" " . font-lock-doc-face )
15
- (" https://github.com/emacs-php/php-mode" link font-lock-doc-face )
16
- (" \n * " . font-lock-doc-face )
14
+ (" https://github.com/emacs-php/php-mode\n * " . font-lock-doc-face )
17
15
(" @package" php-doc-annotation-tag font-lock-doc-face )
18
16
(" " . font-lock-doc-face )
19
17
(" Emacs\\ PHPMode" php-string font-lock-doc-face )
Original file line number Diff line number Diff line change 1
1
; ; -*- mode : emacs-lisp -*-
2
2
((" <?php" . php-php-tag)
3
3
(" \n\n " )
4
- (" /**\n * GitHub Issue: " . font-lock-doc-face )
5
- (" https://github.com/emacs-php/php-mode/issues/197" link font-lock-doc-face )
6
- (" \n *\n * Test that member highlighting goes before highlighting of cc-mode\n * types\n */" . font-lock-doc-face )
4
+ (" /**\n * GitHub Issue: https://github.com/emacs-php/php-mode/issues/197\n *\n * Test that member highlighting goes before highlighting of cc-mode\n * types\n */" . font-lock-doc-face )
7
5
(" \n " )
8
6
(" $" . php-variable-sigil)
9
7
(" test" . php-variable-name)
Original file line number Diff line number Diff line change 1
1
; ; -*- mode : emacs-lisp -*-
2
2
((" <?php" . php-php-tag)
3
3
(" \n\n " )
4
- (" /**\n * GitHub Issue: " . font-lock-doc-face )
5
- (" https://github.com/emacs-php/php-mode/issues/201" link font-lock-doc-face )
6
- (" \n *\n * Test highighting of " . font-lock-doc-face )
4
+ (" /**\n * GitHub Issue: https://github.com/emacs-php/php-mode/issues/201\n *\n * Test highighting of " . font-lock-doc-face )
7
5
(" $" php-doc-$this-sigil php-doc-variable-sigil font-lock-doc-face )
8
6
(" this" php-doc-$this php-variable-name font-lock-doc-face )
9
7
(" \n */" . font-lock-doc-face )
Original file line number Diff line number Diff line change 1
1
; ; -*- mode : emacs-lisp -*-
2
2
((" <?php" . php-php-tag)
3
3
(" \n\n " )
4
- (" /**\n * GitHub Issue: " . font-lock-doc-face )
5
- (" https://github.com/emacs-php/php-mode/issues/305" link font-lock-doc-face )
6
- (" \n *\n * Test highighting of " . font-lock-doc-face )
4
+ (" /**\n * GitHub Issue: https://github.com/emacs-php/php-mode/issues/305\n *\n * Test highighting of " . font-lock-doc-face )
7
5
(" $" php-doc-variable-sigil font-lock-doc-face )
8
6
(" this_foo" php-variable-name font-lock-doc-face )
9
7
(" , " . font-lock-doc-face )
Original file line number Diff line number Diff line change 1
1
; ; -*- mode : emacs-lisp -*-
2
2
((" <?php" . php-php-tag)
3
3
(" \n\n " )
4
- (" /**\n * GitHub Issue: " . font-lock-doc-face )
5
- (" https://github.com/emacs-php/php-mode/issues/439" link font-lock-doc-face )
6
- (" \n */" . font-lock-doc-face )
4
+ (" /**\n * GitHub Issue: https://github.com/emacs-php/php-mode/issues/439\n */" . font-lock-doc-face )
7
5
(" \n\n " )
8
6
(" $" . php-variable-sigil)
9
7
(" a" . php-variable-name)
Original file line number Diff line number Diff line change 8
8
(" 1); " )
9
9
(" ?>" . php-php-tag)
10
10
(" \n " )
11
- (" /** GitHub Issue: " . font-lock-doc-face )
12
- (" https://github.com/emacs-php/php-mode/issues/443" link font-lock-doc-face )
13
- (" */" . font-lock-doc-face )
11
+ (" /** GitHub Issue: https://github.com/emacs-php/php-mode/issues/443 */" . font-lock-doc-face )
14
12
(" \n " )
15
13
(" <?xml" . php-php-tag)
16
14
(" version" )
Original file line number Diff line number Diff line change 8
8
(" 1); " )
9
9
(" ?>" . php-php-tag)
10
10
(" \n " )
11
- (" /** GitHub Issue: " . font-lock-doc-face )
12
- (" https://github.com/emacs-php/php-mode/issues/443" link font-lock-doc-face )
13
- (" */" . font-lock-doc-face )
11
+ (" /** GitHub Issue: https://github.com/emacs-php/php-mode/issues/443 */" . font-lock-doc-face )
14
12
(" \n " )
15
13
(" <?xml" . php-php-tag)
16
14
(" version" )
Original file line number Diff line number Diff line change 11
11
(" @author" php-doc-annotation-tag font-lock-doc-face )
12
12
(" USAMI Kenta <tadsan@pixiv.com>\n * " . font-lock-doc-face )
13
13
(" @link" php-doc-annotation-tag font-lock-doc-face )
14
- (" " . font-lock-doc-face )
15
- (" https://github.com/emacs-php/php-mode" link font-lock-doc-face )
16
- (" \n * " . font-lock-doc-face )
14
+ (" https://github.com/emacs-php/php-mode\n * " . font-lock-doc-face )
17
15
(" @package" php-doc-annotation-tag font-lock-doc-face )
18
16
(" " . font-lock-doc-face )
19
17
(" Emacs\\ PHPMode" php-string font-lock-doc-face )
Original file line number Diff line number Diff line change 11
11
(" @author" php-doc-annotation-tag font-lock-doc-face )
12
12
(" USAMI Kenta <tadsan@pixiv.com>\n * " . font-lock-doc-face )
13
13
(" @link" php-doc-annotation-tag font-lock-doc-face )
14
- (" " . font-lock-doc-face )
15
- (" https://github.com/emacs-php/php-mode" link font-lock-doc-face )
16
- (" \n * " . font-lock-doc-face )
14
+ (" https://github.com/emacs-php/php-mode\n * " . font-lock-doc-face )
17
15
(" @package" php-doc-annotation-tag font-lock-doc-face )
18
16
(" " . font-lock-doc-face )
19
17
(" Emacs\\ PHPMode" php-string font-lock-doc-face )
Original file line number Diff line number Diff line change 11
11
(" @author" php-doc-annotation-tag font-lock-doc-face )
12
12
(" USAMI Kenta <tadsan@pixiv.com>\n * " . font-lock-doc-face )
13
13
(" @link" php-doc-annotation-tag font-lock-doc-face )
14
- (" " . font-lock-doc-face )
15
- (" https://github.com/emacs-php/php-mode" link font-lock-doc-face )
16
- (" \n * " . font-lock-doc-face )
14
+ (" https://github.com/emacs-php/php-mode\n * " . font-lock-doc-face )
17
15
(" @package" php-doc-annotation-tag font-lock-doc-face )
18
16
(" " . font-lock-doc-face )
19
17
(" Emacs\\ PHPMode" php-string font-lock-doc-face )
Original file line number Diff line number Diff line change 1
1
; ; -*- mode : emacs-lisp -*-
2
2
((" <?php" . php-php-tag)
3
3
(" \n\n " )
4
- (" /**\n * Github Issue: " . font-lock-doc-face )
5
- (" https://github.com/emacs-php/php-mode/issues/8" link font-lock-doc-face )
6
- (" \n *\n * The code below contains annotations in the comments which begin\n * with the '@' character. The highlighting for these annotations\n * should be different from that used for comments. At the very least\n * php-mode should highlight the part up to the first backslash.\n */" . font-lock-doc-face )
4
+ (" /**\n * Github Issue: https://github.com/emacs-php/php-mode/issues/8\n *\n * The code below contains annotations in the comments which begin\n * with the '@' character. The highlighting for these annotations\n * should be different from that used for comments. At the very least\n * php-mode should highlight the part up to the first backslash.\n */" . font-lock-doc-face )
7
5
(" \n\n " )
8
6
(" /**\n * " . font-lock-doc-face )
9
7
(" @ORM\\ Entity" php-doc-annotation-tag font-lock-doc-face )
Original file line number Diff line number Diff line change 3
3
(" \n\n " )
4
4
(" /**\n * Test for type annotation in doc comment\n *\n * The specification is defined in PSR-5 (draft) Appendix A. Types.\n * This implementation contains unstandardized specification.\n *\n * " . font-lock-doc-face )
5
5
(" @see" php-doc-annotation-tag font-lock-doc-face )
6
- (" " . font-lock-doc-face )
7
- (" https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md#appendix-a-types" link font-lock-doc-face )
8
- (" \n */" . font-lock-doc-face )
6
+ (" https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md#appendix-a-types\n */" . font-lock-doc-face )
9
7
(" \n\n " )
10
8
(" // " . font-lock-comment-delimiter-face )
11
9
(" Test for premitive type (int)\n " . font-lock-comment-face )
You can’t perform that action at this time.
0 commit comments