diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b333e2cb..72f1fd89 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,7 @@ jobs: - "27.2" - "28.1" - "28.2" + - release-snapshot - snapshot include: - emacs_version: snapshot diff --git a/CHANGELOG.md b/CHANGELOG.md index 3652ffd0..02e51eaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ 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 + + * **Support Emacs 29.1** ([#750]) + +[#750]: https://github.com/emacs-php/php-mode/pull/750 ## [1.24.3] - 2023-03-19 diff --git a/README.ja.md b/README.ja.md index 65e31d7f..b56a66a7 100644 --- a/README.ja.md +++ b/README.ja.md @@ -1,7 +1,7 @@

Emacs PHP Mode

-[![Emacs: 28.2](https://img.shields.io/badge/Emacs-28.2-blue.svg)](https://www.gnu.org/software/emacs/) +[![Emacs: 29.1](https://img.shields.io/badge/Emacs-29.1-blue.svg)](https://www.gnu.org/software/emacs/) [![lang: PHP 8.2](https://img.shields.io/badge/lang-PHP%208.2-brightgreen.svg)](https://php.net/manual/migration82.php) [![lang: PHP 7](https://img.shields.io/badge/lang-PHP%207-green.svg)](https://php.net/downloads.php) [![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions) diff --git a/README.md b/README.md index 9527810c..829199d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

Emacs PHP Mode

-[![Emacs: 28.2](https://img.shields.io/badge/Emacs-28.2-blue.svg)](https://www.gnu.org/software/emacs/) +[![Emacs: 29.1](https://img.shields.io/badge/Emacs-29.1-blue.svg)](https://www.gnu.org/software/emacs/) [![lang: PHP 8.2](https://img.shields.io/badge/lang-PHP%208.2-brightgreen.svg)](https://php.net/manual/migration82.php) [![lang: PHP 7](https://img.shields.io/badge/lang-PHP%207-green.svg)](https://php.net/downloads.php) [![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions) diff --git a/tests/php-mode-test.el b/tests/php-mode-test.el index 0dae822e..b827fcfc 100644 --- a/tests/php-mode-test.el +++ b/tests/php-mode-test.el @@ -596,7 +596,8 @@ style from Drupal." (ert-deftest php-mode-test-type-hints () "Test highlighting of type hints and return types." - (with-php-mode-test ("type-hints.php" :faces t))) + (with-php-mode-test ("type-hints.php" :faces (cond ((version<= "29" emacs-version) ".29.faces") + (t))))) (ert-deftest php-mode-test-static-method-calls () "Test highlighting of static method calls which are named the same diff --git a/tests/type-hints.php.29.faces b/tests/type-hints.php.29.faces new file mode 100644 index 00000000..14cf581e --- /dev/null +++ b/tests/type-hints.php.29.faces @@ -0,0 +1,590 @@ +;; -*- mode: emacs-lisp -*- +(("