phpactor/language-server-psalm-extension

This package is abandoned and no longer maintained. No replacement package was suggested.

Standalone Language Server and Phpactor Extension

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Type:phpactor-extension

dev-master / 0.1.x-dev 2020-12-12 14:56 UTC

This package is auto-updated.

Last update: 2022-04-12 17:40:12 UTC


README

Build Status

Psalm Language Server and Phpactor Extension.

Provides Language Server diagnostics from Psalm.

Usage

Phpactor Extension

If you are using the Phpactor Language Server

$ phpactor extension:install "phpactor/language-server-psalm-extension"

Standalone

Manually install it:

$ git clone git@github.com:phpactor/language-server-psalm-extension some/path
$ cd language-server-psalm-extension
$ composer install

The process of enabling the server with your client will vary. If you are using VIM and CoC it will look something like (:CocConfig):

{
    "languageserver": {
        "psalm": {
            "enable": true,
            "command": "/some/path/bin/psalm-ls",
            "args": ["language-server"],
            "filetypes": ["php"]
        }
    }
}

Configuration

  • language_server_psalm.bin: Relative or absolute path to Psalm. Default is '%project_root%/vendor/bin/psalm'