From 8da92fbe92dd88ba0e7add4f62da61af9a760721 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Thu, 22 May 2025 12:43:14 +0900 Subject: [PATCH] Bump version 0.9.0 --- CHANGELOG.md | 19 +++++++++++++++++-- Eask | 2 +- README.org | 7 +++++++ flycheck-phpstan.el | 2 +- flymake-phpstan.el | 2 +- phpstan.el | 2 +- 6 files changed, 28 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b4b524..53ffd34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,26 @@ All notable changes of the `phpstan.el` are documented in this file using the [Keep a Changelog](https://keepachangelog.com/) principles. -## Unreleased + + +## [0.9.0] ### Added -* Add `phpstan-copy-dumped-type` command to copy the nearest dumped type from `PHPStan\dumpType()` or `PHPStan\dumpPhpDocType()` messages. +* Add `phpstan-copy-dumped-type` command to copy the nearest dumped type from `PHPStan\dumpType()` or `PHPStan\dumpPhpDocType()` messages +* Add support for PHPStan [Editor Mode](https://phpstan.org/user-guide/editor-mode) + +### Changed + +* Improved error handling when no JSON response is returned + +### Fixed + +* Fixed erroneous dependency from `flymake-phpstan` to Flycheck functions + +### Removed + +* Drop support for Emacs 25.3 ## [0.8.2] diff --git a/Eask b/Eask index 6e4d937..dfec247 100644 --- a/Eask +++ b/Eask @@ -1,7 +1,7 @@ ;; -*- mode: eask; lexical-binding: t -*- (package "phpstan" - "0.8.2" + "0.9.0" "Interface to PHPStan (PHP static analyzer)") (website-url "https://github.com/emacs-php/phpstan.el") diff --git a/README.org b/README.org index 3b7e48f..bbaf1e8 100644 --- a/README.org +++ b/README.org @@ -162,6 +162,13 @@ Use phpstan memory limit option when non-NIL. - ex) ~"1G"~ - ~nil~ :: Use memory limit in php.ini +*** Custom variable ~phpstan-activate-editor-mode~ +Determines whether PHPStan Editor Mode is available. + +- ~nil~ (default) :: Dynamically checks the PHPStan version by getting the path of the installed PHPStan executable. +- ~'enabled~ :: Always use Editor Mode (this will cause an error in older versions of PHPStan) +- ~'disabled~ :: Never use Editor Mode (no support for editors provided) + *** Custom variable ~phpstan-docker-image~ Docker image URL or Docker Hub image name or NIL. Default as ~"ghcr.io/phpstan/phpstan"~. See [[https://phpstan.org/user-guide/docker][Docker - PHPStan Documentation]] and [[https://github.com/orgs/phpstan/packages/container/package/phpstan][GitHub Container Registory - Package phpstan]]. diff --git a/flycheck-phpstan.el b/flycheck-phpstan.el index db650ae..5fd42b9 100644 --- a/flycheck-phpstan.el +++ b/flycheck-phpstan.el @@ -4,7 +4,7 @@ ;; Author: USAMI Kenta ;; Created: 15 Mar 2018 -;; Version: 0.8.2 +;; Version: 0.9.0 ;; Keywords: tools, php ;; Homepage: https://github.com/emacs-php/phpstan.el ;; Package-Requires: ((emacs "25.1") (flycheck "26") (phpstan "0.8.2")) diff --git a/flymake-phpstan.el b/flymake-phpstan.el index 8c54f12..9e89c5f 100644 --- a/flymake-phpstan.el +++ b/flymake-phpstan.el @@ -4,7 +4,7 @@ ;; Author: USAMI Kenta ;; Created: 31 Mar 2020 -;; Version: 0.8.2 +;; Version: 0.9.0 ;; Keywords: tools, php ;; Homepage: https://github.com/emacs-php/phpstan.el ;; Package-Requires: ((emacs "26.1") (phpstan "0.8.2")) diff --git a/phpstan.el b/phpstan.el index d373920..b0135d8 100644 --- a/phpstan.el +++ b/phpstan.el @@ -4,7 +4,7 @@ ;; Author: USAMI Kenta ;; Created: 15 Mar 2018 -;; Version: 0.8.2 +;; Version: 0.9.0 ;; Keywords: tools, php ;; Homepage: https://github.com/emacs-php/phpstan.el ;; Package-Requires: ((emacs "25.1") (compat "30") (php-mode "1.22.3") (php-runtime "0.2"))