marlonfan / coc-phpls

🐭 php language server for coc.nvim
MIT License
212 stars 16 forks source link

Update intelephense version to 1.6.x (PHP8 support) #87

Closed yaegassy closed 3 years ago

yaegassy commented 3 years ago

Description

@marlonfan

"1.6.0" version of intelephense has been released and published to npm.

One notable topic of new features is "PHP8 support".

I checked 1.6.0 on my environment and it works fine, so I updated coc-phpls

Notes

If there is no problem, please "publish to npm" after merge

yaegassy commented 3 years ago

Update configuration options

Description

Adjusted the configuration based on the latest package.json of vscode-intelephense

yaegassy commented 3 years ago

intelephense v1.6.1 released.

Various bug fixes for PHP8 support have been updated.

https://www.npmjs.com/package/intelephense/v/1.6.1

[1.6.1 - 2021-01-04]

Changed

  • Deeper code diagnostics will only be run if file is free of parse errors.

Fixed

  • Endless parse loop when encountering parse error in argument lists in some contexts.
  • Named parameters not suggested in method, constructor, attribute calls.
  • Attribute formatting.
  • false, null, mixed reported as undefined types.
  • Attributes on methods breaks code intelligence.
  • False type error when return type is static.
  • implements name list always formatted on next line.

Changed the version to intelephense@~1.6 as there may be more bug fixes.

yaegassy commented 3 years ago

@marlonfan Thank you for the merge.

Please "publish" the latest version of coc-phpls to "npm", because I want to install it with :CocInstall.

marlonfan commented 3 years ago

done