Skip to content

Commit a8ee6ce

Browse files
authored
Merge pull request #541 from emacs-php/release/1.21.4
Release 1.21.4
2 parents 736a697 + 702a285 commit a8ee6ce

File tree

6 files changed

+47
-29
lines changed

6 files changed

+47
-29
lines changed

Diff for: Changelog.md renamed to CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
All notable changes of the PHP Mode 1.19.1 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5+
## [1.21.4] - 2019-05-29
6+
7+
This version contains unobtrusive changes for future compatibility. Also, `forward-page` /` backward-page` may improve your operation. Thank you [@takeokunn].
8+
9+
### Added
10+
11+
* A new command `php-mode-maybe` has been added to improve the compatibility of Blade templates and HTML templates with Web Mode. ([#532])
12+
* A new custom variable php-mode-page-delimiter is added, which is assigned to page-delimiter in PHP-Mode. It allows you to move smoothly to the previous and subsequent definition statements with `forward-page` (<kbd>C-x C-[</kbd>) and `backward-page` (<kbd>C-x C-]</kbd>). ([#540] by [@takeokunn])
13+
14+
### Change
15+
16+
* `php-maybe-mode` and `.php` files are associated with `auto-mode-alist` instead of `php-mode` ([#532])
17+
* Compatibility with [poly-php] has been improved. This has not yet been officially released.
18+
19+
### Deprecated
20+
21+
* PHP Mode does not support phpt files . Consider installing the [phpt-mode] package. This mode is a wrapper around Polymode based PHP-Mode.
22+
23+
[#532]: https://github.com/emacs-php/php-mode/pull/532
24+
[#539]: https://github.com/emacs-php/php-mode/pull/539
25+
[#540]: https://github.com/emacs-php/php-mode/pull/540
26+
[@takeokunn](https://github.com/takeokunn)
27+
528
## [1.21.3] - 2019-05-25
629

730
This version includes both PHP syntax support enhancements and performance improvements. See https://github.com/emacs-php/php-mode/projects/1 for all issues for this release. Also, [@mallt] has helped me improve it with a number of issues. thank you very much.
@@ -153,3 +176,5 @@ See [Changelog · emacs-php/php-mode Wiki](https://github.com/emacs-php/php-mode
153176
[@mallt]: https://github.com/mallt
154177
[@sergeyklay]: https://github.com/sergeyklay
155178
[PHP 7.2 arrow function]: https://wiki.php.net/rfc/arrow_functions_v2
179+
[poly-php]: https://github.com/emacs-php/poly-php
180+
[phpt-mode]: https://github.com/emacs-php/phpt-mode

Diff for: php-face.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
;; Author: USAMI Kenta <[email protected]>
66
;; Created: 5 May 2019
7-
;; Version: 1.21.3
7+
;; Version: 1.21.4
88
;; Keywords: faces, php
99
;; Homepage: https://github.com/emacs-php/php-mode
1010
;; Package-Requires: ((emacs "24.3"))

Diff for: php-mode-debug.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: USAMI Kenta <[email protected]>
66
;; URL: https://github.com/emacs-php/php-mode
77
;; Keywords: maint
8-
;; Version: 1.21.3
8+
;; Version: 1.21.4
99
;; Package-Requires: ((emacs "24.3") (cl-lib "0.5"))
1010
;; License: GPL-3.0-or-later
1111

Diff for: php-mode.el

+18-25
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
;; Maintainer: USAMI Kenta <[email protected]>
1010
;; URL: https://github.com/emacs-php/php-mode
1111
;; Keywords: languages php
12-
;; Version: 1.21.3
12+
;; Version: 1.21.4
1313
;; Package-Requires: ((emacs "24.3") (cl-lib "0.5"))
1414
;; License: GPL-3.0-or-later
1515

16-
(defconst php-mode-version-number "1.21.3"
16+
(defconst php-mode-version-number "1.21.4"
1717
"PHP Mode version number.")
1818

19-
(defconst php-mode-modified "2019-05-25"
19+
(defconst php-mode-modified "2019-05-29"
2020
"PHP Mode build date.")
2121

2222
;; This program is free software; you can redistribute it and/or modify
@@ -34,32 +34,25 @@
3434

3535
;;; Commentary:
3636

37-
;; PHP Mode is a major mode for editing PHP source code. It's an
38-
;; extension of C mode; thus it inherits all C mode's navigation
39-
;; functionality. But it colors according to the PHP grammar and
40-
;; indents according to the PEAR coding guidelines. It also includes
41-
;; a couple handy IDE-type features such as documentation search and a
42-
;; source and class browser.
37+
;; PHP Mode is a major mode for editing PHP script. It's an extension
38+
;; of CC mode; thus it inherits all C mode's navigation functionality.
39+
;; But it colors according to the PHP syntax and indents according to the
40+
;; PSR-2 coding guidelines. It also includes a couple handy IDE-type
41+
;; features such as documentation search and a source and class browser.
4342

44-
;; ## Usage
43+
;; Please read the manual for setting items compatible with CC Mode.
44+
;; https://www.gnu.org/software/emacs/manual/html_mono/ccmode.html
4545

46-
;; Put this file in your Emacs Lisp path (eg. site-lisp) and add to
47-
;; your .emacs file:
46+
;; This mode is designed for PHP scripts consisting of a single <?php block.
47+
;; We recommend the introduction of Web Mode for HTML and Blade templates combined with PHP.
48+
;; http://web-mode.org/
4849

49-
;; (require 'php-mode)
50+
;; Modern PHP Mode can be set on a project basis by .dir-locals.el.
51+
;; Please read php-project.el for details of directory local variables.
5052

51-
;; To use abbrev-mode, add lines like this:
52-
53-
;; (add-hook 'php-mode-hook
54-
;; '(lambda () (define-abbrev php-mode-abbrev-table "ex" "extends")))
55-
56-
;; To make php-mode compatible with html-mode, see http://php-mode.sf.net
57-
58-
;; Many options available under Help:Customize
59-
;; Options specific to php-mode are in
60-
;; Programming/Languages/PHP
61-
;; Since it inherits much functionality from c-mode, look there too
62-
;; Programming/Languages/C
53+
;; If you are using a package manager, you do not need (require 'php-mode) in
54+
;; your ~/.emacs.d/init.el. Read the README for installation instructions.
55+
;; https://github.com/emacs-php/php-mode
6356

6457
;;; Code:
6558

Diff for: php-project.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: USAMI Kenta <[email protected]>
66
;; Keywords: tools, files
77
;; URL: https://github.com/emacs-php/php-mode
8-
;; Version: 1.21.3
8+
;; Version: 1.21.4
99
;; Package-Requires: ((emacs "24.3") (cl-lib "0.5"))
1010
;; License: GPL-3.0-or-later
1111

Diff for: php.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
;; Author: USAMI Kenta <[email protected]>
66
;; Created: 5 Dec 2018
7-
;; Version: 1.21.3
7+
;; Version: 1.21.4
88
;; Keywords: languages, php
99
;; Homepage: https://github.com/emacs-php/php-mode
1010
;; Package-Requires: ((emacs "24.3") (cl-lib "0.5"))

0 commit comments

Comments
 (0)