Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,50 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this

* Drop support for Emacs 24 and 25.1

## [1.23.0] - 2020-05-06

Initial support for PHP8 has been added. PHPMode has some issues for compatibility with Emacs 27.0.

The list of all past contributors has been moved to [`AUTHORS.md`](/AUTHORS.md).

This release is positioned as the last minor version of the PHP Mode 1.x series.

### Added

* Add `php-project-use-projectile-to-detect-root` ([#608])
* Add PHP file extensions to `auto-mode-alist` ([#609])
* `.php.inc` is file extension for [Rector](https://github.com/rectorphp/rector)'s test code.
* `.stub` is file extension for [PHPStan](https://github.com/phpstan/phpstan)'s stub file.
* Add `php-mode-disable-c-auto-align-backslashes` ([#621])
* Add PHP 8.0 Attribute syntax as vsemi (#)
* Add feature `php-align` from [tetsujin/emacs-php-align] ([#615], [melpa/melpa#6759])

### Changed

* Disable `c-auto-align-backslashes` by default. ([#621])
* Add new faces and font locking ([#611], [#614])

### Removed

* Remove `php-mode-extra-constants` variable and function. ([#605])
* This mechanism is for synchronizing the added user-defined constants with WebMode, but it hasn't worked since 2014.

### Fixed

* Fix indentation of object operator (->) at the beginning of line ([#623], [#624])

[#605]: https://github.com/emacs-php/php-mode/pull/605
[#608]: https://github.com/emacs-php/php-mode/pull/608
[#609]: https://github.com/emacs-php/php-mode/pull/609
[#611]: https://github.com/emacs-php/php-mode/pull/611
[#614]: https://github.com/emacs-php/php-mode/pull/614
[#615]: https://github.com/emacs-php/php-mode/pull/615
[#621]: https://github.com/emacs-php/php-mode/pull/621
[#623]: https://github.com/emacs-php/php-mode/issues/623
[#624]: https://github.com/emacs-php/php-mode/pull/624
[melpa/melpa#6759]: https://github.com/melpa/melpa/pull/6759
[tetsujin/emacs-php-align]: https://github.com/tetsujin/emacs-php-align

## [1.22.2] - 2019-12-23

A face has been added for coloring PHP syntax. Thank you [@minikN]!
Expand Down Expand Up @@ -63,7 +107,7 @@ PHP Mode 2.0 is planned to be released in January 2020.

## [1.22.0] - 2019-09-27

This release is positioned as the last minor version of the PHP Mode 1.x series.
~~This release is positioned as the last minor version of the PHP Mode 1.x series.~~
PHP Mode 2.0 is planned to be released in January 2020.

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cask
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(package "php-mode" "1.22.2" "Major mode for editing PHP code")
(package "php-mode" "1.23.0" "Major mode for editing PHP code")
(source melpa)

(package-file "php.el")
Expand Down
2 changes: 1 addition & 1 deletion php-align.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
;; Maintainer: USAMI Kenta <tadsan@zonu.me>
;; Keywords: php languages convenience align
;; Homepage: https://github.com/emacs-php/php-mode
;; Version: 1.22.2
;; Version: 1.23.0
;; Package-Requires: ((emacs "24.3"))
;; License: GPL-3.0-or-later

Expand Down
4 changes: 2 additions & 2 deletions php-face.el
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
;;; php-face.el --- Face definitions for PHP script -*- lexical-binding: t; -*-

;; Copyright (C) 2019 Friends of Emacs-PHP development
;; Copyright (C) 2020 Friends of Emacs-PHP development

;; Author: USAMI Kenta <tadsan@zonu.me>
;; Created: 5 May 2019
;; Version: 1.22.2
;; Version: 1.23.0
;; Keywords: faces, php
;; Homepage: https://github.com/emacs-php/php-mode
;; Package-Requires: ((emacs "24.3"))
Expand Down
4 changes: 2 additions & 2 deletions php-mode-debug.el
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
;;; php-mode-debug.el --- Debug functions for PHP Mode -*- lexical-binding: t; -*-

;; Copyright (C) 2018-2019 Friends of Emacs-PHP development
;; Copyright (C) 2020 Friends of Emacs-PHP development

;; Author: USAMI Kenta <tadsan@zonu.me>
;; URL: https://github.com/emacs-php/php-mode
;; Keywords: maint
;; Version: 1.22.2
;; Version: 1.23.0
;; Package-Requires: ((emacs "24.3"))
;; License: GPL-3.0-or-later

Expand Down
6 changes: 3 additions & 3 deletions php-mode.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; php-mode.el --- Major mode for editing PHP code

;; Copyright (C) 2018-2019 Friends of Emacs-PHP development
;; Copyright (C) 2020 Friends of Emacs-PHP development
;; Copyright (C) 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad
;; 2008 Aaron S. Hawley
;; 2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric James Michael Ritz
Expand All @@ -9,11 +9,11 @@
;; Maintainer: USAMI Kenta <tadsan@zonu.me>
;; URL: https://github.com/emacs-php/php-mode
;; Keywords: languages php
;; Version: 1.22.2
;; Version: 1.23.0
;; Package-Requires: ((emacs "24.3"))
;; License: GPL-3.0-or-later

(defconst php-mode-version-number "1.22.2"
(defconst php-mode-version-number "1.23.0"
"PHP Mode version number.")

;; This program is free software; you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions php-project.el
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
;;; php-project.el --- Project support for PHP application -*- lexical-binding: t; -*-

;; Copyright (C) 2018-2019 Friends of Emacs-PHP development
;; Copyright (C) 2020 Friends of Emacs-PHP development

;; Author: USAMI Kenta <tadsan@zonu.me>
;; Keywords: tools, files
;; URL: https://github.com/emacs-php/php-mode
;; Version: 1.22.2
;; Version: 1.23.0
;; Package-Requires: ((emacs "24.3"))
;; License: GPL-3.0-or-later

Expand Down
2 changes: 1 addition & 1 deletion php-util-buffer.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; php-util-buffer.el --- Utility function for buffer manipulation -*- lexical-binding: t; -*-

;; Copyright (C) 2018-2019 Friends of Emacs-PHP development
;; Copyright (C) 2020 Friends of Emacs-PHP development
;; Copyright 2013 The go-mode Authors. All rights reserved.

;; Author: Dominik Honnef
Expand Down
4 changes: 2 additions & 2 deletions php.el
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
;;; php.el --- PHP support for friends -*- lexical-binding: t; -*-

;; Copyright (C) 2019 Friends of Emacs-PHP development
;; Copyright (C) 2020 Friends of Emacs-PHP development

;; Author: USAMI Kenta <tadsan@zonu.me>
;; Created: 5 Dec 2018
;; Version: 1.22.2
;; Version: 1.23.0
;; Keywords: languages, php
;; Homepage: https://github.com/emacs-php/php-mode
;; Package-Requires: ((emacs "24.3"))
Expand Down