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.25.1


From: ELPA update
Subject: [NonGNU ELPA] Php-Mode version 1.25.1
Date: Sun, 31 Mar 2024 07:23:40 -0400

Version 1.25.1 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

## Summary:

  PHP Mode is a major mode for editing PHP script.  It's an extension
  of CC mode; thus it inherits all C mode's navigation functionality.
  But it colors according to the PHP syntax and indents according to the
  PSR-2 coding guidelines.  It also includes a couple handy IDE-type
  features such as documentation search and a source and class browser.

  Please read the manual for setting items compatible with CC Mode.
  https://www.gnu.org/software/emacs/manual/html_mono/ccmode.html

  This mode is designed for PHP scripts consisting of a single <?php block.
  We recommend the introduction of Web Mode for HTML and Blade templates 
combined with PHP.
  http://web-mode.org/

  Modern PHP Mode can be set on a project basis by .dir-locals.el.
  Please read php-project.el for details of directory local variables.

## 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

### Added

 * Add `php-base-mode` which is the base of php related modes ([#772])
   * `php-base-mode` is designed as a common parent mode for `php-mode` and 
[`php-ts-mode`](https://github.com/emacs-php/php-ts-mode).

### Changed

 * Make `php-mode` inherit from `php-base-mode` instead of `c-mode` ([#772])
 * Modify indentation of [PEAR Coding Standards] ([#774], [#777])
   * No longer overindent it by default, since we don't see any mention in the 
coding style that it should hang `.`. (refs [#227] and [#229])
   * **If you have any feedback on PEAR style, please let us know in [the 
discussion #776][#776].**

### Removed

 * Remove `php-mode-disable-c-mode-hook` custom variable and 
`php-mode-neutralize-cc-mode-effect` function ([#775])
   * `php-mode` no longer inherits `c-mode`, so this variable won't work.

[#227]: https://github.com/emacs-php/php-mode/pull/227
[#229]: https://github.com/emacs-php/php-mode/pull/229
[#772]: https://github.com/emacs-php/php-mode/pull/772
[#774]: https://github.com/emacs-php/php-mode/issues/774
[#775]: https://github.com/emacs-php/php-mode/pull/775
[#776]: https://github.com/emacs-php/php-mode/discussions/776
[#777]: https://github.com/emacs-php/php-mode/pull/777
[PEAR Coding Standards]: https://pear.php.net/manual/en/standards.php

## [1.25.1] - 2023-11-24

### Added

 * Add `php-topsy-beginning-of-defun-with-class` to display classname with 
function signature. ([#766])
 * Add missing `__DIR__` to `php-magical-constants` ([#756], thanks 
[@piotrkwiecinski])

### Changed

 * Make developer build task in Makefile now depends on Eask. ([#762], thanks 
[@jcs090218])
   * This change does not affect package installation users
   * Read [CONTRIBUTING.md] if you prefer to build it yourself from zip or tar 
ball

### Fixed

 * Fixed build failure in Emacs on master branch ([#764], [#765], [#767], 
thanks [@takeokunn])

### Removed

 * Removed Phan-specific features from `php-project` ([#754])
 * Removed [Cask](https://cask.readthedocs.io/) and 
[Keg](https://github.com/conao3/keg.el) metadata files for building ([#770])

[#754]: https://github.com/emacs-php/php-mode/pull/754
[#756]: https://github.com/emacs-php/php-mode/pull/756
[#762]: https://github.com/emacs-php/php-mode/pull/762
[#764]: https://github.com/emacs-php/php-mode/issues/764
[#765]: https://github.com/emacs-php/php-mode/pull/765
[#766]: https://github.com/emacs-php/php-mode/pull/766
[#767]: https://github.com/emacs-php/php-mode/pull/767
[#770]: https://github.com/emacs-php/php-mode/pull/770
[@jcs090218]: https://github.com/jcs090218
[@piotrkwiecinski]: https://github.com/piotrkwiecinski
[@takeokunn]: https://github.com/takeokunn
[CONTRIBUTING.md]: 
https://github.com/emacs-php/php-mode/blob/master/CONTRIBUTING.md

## [1.25.0] - 2023-07-24

### Added

 * **Support Emacs 29.1** ([#743], [#750])

### Fixed

 * Fixed many byte compilation errors on Emacs 29 and 30 by multiple patches 
contributed by [Stefan Monnier] ([#737], [#739] and [#740], thanks Stefan!)
 * Fixed PEAR method chaining wrong indentation ([#745] and [#746], thanks 
[@cweiske]!)
 * Fixed `php-mode-debug-reinstall` command ([#747], [#748])

### Removed

 * Drop Emacs 25 support ([#729], [736])

[Stefan Monnier]: https://www.iro.umontreal.ca/~monnier/
[#729]: https://github.com/emacs-php/php-mode/pull/729
[#736]: https://github.com/emacs-php/php-mode/pull/736
[#737]: https://github.com/emacs-php/php-mode/pull/737
[#739]: https://github.com/emacs-php/php-mode/pull/739
[#740]: https://github.com/emacs-php/php-mode/pull/740
[#741]: https://github.com/emacs-php/php-mode/pull/741
[#743]: https://github.com/emacs-php/php-mode/pull/743
[#745]: https://github.com/emacs-php/php-mode/pull/745
[#746]: https://github.com/emacs-php/php-mode/pull/746
[#747]: https://github.com/emacs-php/php-mode/pull/747
...
...



reply via email to

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