Rockstar04 / SublimeLinter-contrib-phpstan

A SublimeLinter plugin for PHPStan static analysis

Home Page:https://packagecontrol.io/packages/SublimeLinter-contrib-phpstan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SublimeLinter-contrib-phpstan

Build Status Downloads

This linter plugin for SublimeLinter provides an interface to phpstan. This plugin is currently very basic, and pull requests to expand its functionality and configurability are welcome.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that phpstan is installed on your system.

Its suggested to install PHPStan globally with composer.

composer global require phpstan/phpstan-shim

In order for phpstan to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

Additional SublimeLinter-contrib-phpstan settings:

Setting Description
level The analysis level passed to PHPStan (Default: max)

About

A SublimeLinter plugin for PHPStan static analysis

https://packagecontrol.io/packages/SublimeLinter-contrib-phpstan

License:MIT License


Languages

Language:Python 100.0%