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

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

[GNU ELPA] Phpinspect version 2.0.1


From: ELPA update
Subject: [GNU ELPA] Phpinspect version 2.0.1
Date: Mon, 02 Sep 2024 17:04:59 -0400

Version 2.0.1 of package Phpinspect has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Phpinspect describes itself as:

  =========================================
  PHP parsing and code intelligence package
  =========================================

More at https://elpa.gnu.org/packages/phpinspect.html

## Summary:

  PHPInspect is a minor mode that provides code intelligence for PHP in Emacs.
  At its core is a PHP parser implemented in Emacs Lisp.  PHPInspect comes with
  backends for `completion-at-point`, `company-mode` and `eldoc`.  A backend
  for `xref` (which provides go-to-definition functionality) is planned to be
  implemented at a later date.

## Recent NEWS:

Version 2.0.1

- Fixed bug in `phpinspect-fix-imports' that caused it to not function
  properly for types used in within classes.

Version 2.0.0

- Implemented support for traits
- Implemented more accurate/nuanced in-memory representation of types and
  inherited properties/methods.  `phpinspect--class' has been removed and
  replaced with `phpinspect-typedef', the the function prefix of which is
  "phpi-typedef-".  This change is backwards-incompatible due to various name
  changes, refactorings and function/type removals.
- Improved completion performance by re-using completion lists when possible.
- Introduced new customizable variable: `phpinspect-imports-remove-unused',
  which enables/disables this behaviour for `phpinspect-fix-imports'.
  The default is disabled (nil).
- Increased test coverage for the parser and fixed various bugs discovered in
  the process.

Version 1.2.0

- Fixed bug in the resolving of function call return types.
- Implemented parsing of string concatenation tokens (.), allowing a more
  accurate determination of the statement to provide information about.
  (read: "\'a string\' . $foo->" now actually yields completion results
  instead of failing).



reply via email to

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