v1.24.2
Added
- New feature:
php-complete- Add
php-complete-complete-functionto autocomplete function names (#708)
- Add
- New feature:
php-flymake- Add
php-flymakeas a flymake backend compatible with Emacs 26 and above (#718)
- Add
- Supports PHPDoc tags and types for static analysis tools (#710, #715, #716], #717, thanks to @takeokunn)
- Please refer to the article below
- PHPStan: PHPDoc Types
- PHPStan: PHPDocs Basics
- Psalm: Atomic Type Reference
- Psalm: Supported Annotations
- Psalm: Template Annotations
- Please refer to the article below
- Add
php-mode-replace-flymake-diag-functioncustom variable and default activated it (#718) - Add
php-mode-debug-reinstallcommand to help users who update Emacs themselves (#721)
Changed
- Make continued expressions inside lists (arguments and arrays, etc.) have the same indent width as outside the list (#703)
- (internal) Improved readability of test failures about indentation (#707)
php-doc-annotation-taginheritsfont-lock-doc-markup-faceif defined in Emacs 28 (#711)- Make
php-mode-versionfunction include a Git tag and revision (#713)- Like
"1.23.4-56-xxxxxx"for example.
- Like
- Change
php-phpdoc-type-keywordstophp-phpdoc-type-namesto avoid confusion (#717) - Make
php-flymake-php-initappend toflymake-allowed-file-name-masksonly in legacy Flymake (#718)
Deprecated
- Make obsolete
php-mode-version-numbercontstant variable (#712)(php-mode-version :as-number t)is provided for use cases comparing as versions, but generally SHOULD NOT be dependent on the PHP Mode version.
- Make obsolete
php-mode-disable-c-mode-hookcustomize variable (#718)
Removed
- Remove
php-mode-disable-c-auto-align-backslashesas it doesn't make sense and is always disabled
Fixed
- Removed invalid definitions that caused errors in some expressions (#704)
Full Changelog: v1.24.1...v1.24.2