gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NonGNU ELPA] Php-Mode version 1.24.2


From: ELPA update
Subject: [NonGNU ELPA] Php-Mode version 1.24.2
Date: Sat, 12 Nov 2022 17:04:50 -0500

Version 1.24.2 of package Php-Mode has just been released in NonGNU ELPA.
You can now find it in M-x list-packages RET.

Php-Mode describes itself as:
  Major mode for editing PHP code

More at https://elpa.nongnu.org/nongnu/php-mode.html

Recent NEWS:

# Changes for PHP Mode by Version

All notable changes of the PHP Mode 1.19.1 release series are documented in 
this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.

<!-- ## Unreleased -->

## [1.24.2] - 2022-11-13

### Added

 * **New feature: `php-complete`**
   * Add `php-complete-complete-function` to autocomplete function names 
([#708])
 * **New feature: `php-flymake`**
   * Add `php-flymake` as a flymake backend compatible with Emacs 26 and above 
([#718])
 * 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](https://phpstan.org/writing-php-code/phpdoc-types)
       * PHPStan: [PHPDocs 
Basics](https://phpstan.org/writing-php-code/phpdocs-basics)
       * Psalm: [Atomic Type 
Reference](https://psalm.dev/docs/annotating_code/type_syntax/atomic_types/)
       * Psalm: [Supported 
Annotations](https://psalm.dev/docs/annotating_code/supported_annotations/)
       * Psalm: [Template 
Annotations](https://psalm.dev/docs/annotating_code/templated_annotations/)
 * 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` inherits `font-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.
 * Change `php-phpdoc-type-keywords` to `php-phpdoc-type-names` to avoid 
confusion ([#717])
 * Make `php-flymake-php-init` append to `flymake-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])

[#703]: https://github.com/emacs-php/php-mode/pull/703
[#704]: https://github.com/emacs-php/php-mode/pull/704
[#707]: https://github.com/emacs-php/php-mode/pull/707
[#708]: https://github.com/emacs-php/php-mode/pull/708
[#710]: https://github.com/emacs-php/php-mode/pull/710
[#711]: https://github.com/emacs-php/php-mode/pull/711
[#713]: https://github.com/emacs-php/php-mode/pull/713
[#715]: https://github.com/emacs-php/php-mode/pull/715
[#716]: https://github.com/emacs-php/php-mode/pull/716
[#717]: https://github.com/emacs-php/php-mode/pull/717
[#718]: https://github.com/emacs-php/php-mode/pull/718
[#719]: https://github.com/emacs-php/php-mode/pull/719
[#721]: https://github.com/emacs-php/php-mode/pull/721

## [1.24.1] - 2022-10-08

### Added

 * Support new PHP 8.0 and 8.1 syntax highlighting and indentation
    * [8.0] `#[Attributes]`
    * [8.1] `readonly` property ([#680])
 * Add `php-imenu-generic-expression-default` for default value or 
`php-imenu-generic-expression`
   * Add `php-imenu-generic-expression-legacy` for compatibility
   * Add `php-imenu-generic-expression-simple` for simple display
 * Add `php-project-project-find-function` compatible with 
`project-find-functions` ([#693])

### Changed

 * Optimized propertize process ([#669])
   * Reimoplement `php-syntax-propertize-function` using 
`syntax-propertize-rules`
   * Make propertize PHP 8 `#[Attribute]` always enabled
   * Changed grouping of `php-heredoc-start-re`
 * Re-organized `php-imenu-generic-expression`
   * Added `Import`, `Constants` and `Properties`
...
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]