Skip to content

Version 1.23.0 Support PHP 8 Attribute

Compare
Choose a tag to compare
@zonuexe zonuexe released this 06 May 11:31
· 378 commits to master since this release
08c6e0f

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.

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's test code.
    • .stub is file extension for PHPStan's stub file.
  • Add php-mode-disable-c-auto-align-backslashes (#621)
  • Add PHP 8.0 Attribute syntax as vsemi (#626)
  • 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)