You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0e32f79
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,38 @@ This file documents notable changes to PHP Mode according to the [Keep a Changel
4
4
5
5
## Unreleased
6
6
7
+
### Added
8
+
9
+
***Rewrite `php-mode` as a CC Mode independent major mode**
10
+
* Indentation is handled by `php-indent.el`, a `syntax-ppss` based engine ported from `js.el` bundled with GNU Emacs
11
+
* Coding styles are handled by `php-style.el`, a variable-based style system that replaces CC Mode's `c-set-style`
12
+
* PHP language keyword tables are provided by `php-keywords.el`
13
+
* Preserve the legacy CC Mode based implementation as `php-cc-mode`
14
+
* This replaces the forward-compatibility alias introduced in 1.28.0 ([#828]) with the real renamed implementation
15
+
*`php-cc-mode` is in frozen maintenance: only regression fixes are accepted, and new development happens in the CC Mode independent `php-mode`
16
+
* For backward compatibility, `php-cc-mode` runs `php-mode-hook` in addition to its own `php-cc-mode-hook`
17
+
* Settings described in [the CC Mode manual] now apply only to `php-cc-mode`; see the commentary at the top of `lisp/php-cc-mode.el`
18
+
19
+
### Changed
20
+
21
+
* Change the default of `php-mode-coding-style` from `pear` to `per` ([PER Coding Style 2.0])
22
+
23
+
### Deprecated
24
+
25
+
*`c-basic-offset` is obsolete in `php-mode`; use `php-indent-offset` instead
26
+
* A migration layer still honors a buffer-local `c-basic-offset` (for example set via `.dir-locals.el`) by copying its value into `php-indent-offset` with a warning
27
+
*`php-mode-lineup-cascaded-calls` is obsolete; use `php-indent-chain-indent` instead
28
+
*`php-mode-enable-backup-style-variables` is obsolete; use `php-style-delete-trailing-whitespace` instead
29
+
7
30
### Removed
8
31
9
-
* Drop support for Emacs 27.x ([#811])
32
+
***Drop support for Emacs 27; PHP Mode now requires Emacs 28.1 or later** ([#811])
33
+
* Remove the `symfony2` coding style from `php-mode`, which is superseded by `per`
34
+
* The style remains available in `php-cc-mode`
35
+
*`php-enable-symfony2-coding-style` is now an obsolete alias for `php-enable-per-coding-style`
0 commit comments