v1.24.2
Added
- New feature:
php-complete
- Add
php-complete-complete-function
to autocomplete function names (#708)
- Add
- New feature:
php-flymake
- Add
php-flymake
as 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-function
custom variable and default activated it (#718) - Add
php-mode-debug-reinstall
command 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-tag
inheritsfont-lock-doc-markup-face
if defined in Emacs 28 (#711)- Make
php-mode-version
function include a Git tag and revision (#713)- Like
"1.23.4-56-xxxxxx"
for example.
- Like
- Change
php-phpdoc-type-keywords
tophp-phpdoc-type-names
to avoid confusion (#717) - Make
php-flymake-php-init
append toflymake-allowed-file-name-masks
only in legacy Flymake (#718)
Deprecated
- Make obsolete
php-mode-version-number
contstant 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-hook
customize variable (#718)
Removed
- Remove
php-mode-disable-c-auto-align-backslashes
as 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