Note
This is the last release that supports Emacs 26.x. Please read Drop Emacs 26 Support · Issue #771.
Added
- Add
php-base-mode
which is the base of php related modes (#772)php-base-mode
is designed as a common parent mode forphp-mode
and.php-ts-mode
Changed
- Make
php-mode
inherit fromphp-base-mode
instead ofc-mode
(#772) - Modify indentation of PEAR Coding Standards (#774, #777)
- Remove
$
from face names for interoperability with treesit (#780, emacs-php/php-ts-mode#68)php-$this
→php-this
php-$this-sigil
→php-this-sigil
- Add
php-function-call-standard
face inheritfont-lock-function-call-face
on Emacs 29.1 and above (#782, thanks @bricka!) - Add
-tranditional
suffix to thephp-*-call
faces.php-function-call
→php-function-call-traditional
php-method-call
→php-method-call-traditional
php-static-method-call
→php-static-method-call-traditional
- Add variables for the
php-function-call
,php-method-call
, andphp-static-method-call
faces, defaulting to the-traditional
face. - Changes how
php-syntax-propertize-rules
are applied for the first time. (#785 and #786)- This change is expected to make heredoc and attribute coloring more stable and reduce flicker.
Removed
- Remove
php-mode-disable-c-mode-hook
custom variable andphp-mode-neutralize-cc-mode-effect
function (#775)php-mode
no longer inheritsc-mode
, so this variable won't work.
Full Changelog: v1.25.1...v1.26.1