atom-linter-phpstan Archived: ... Source Code has been archived

Lint PHP on the fly, using phpstan

AtomLinter

2,687

4

Bug Reports

2.2.0

MIT

GitHub

This package provides the following services:

atom-linter-phpstan

This linter plugin for Linter provides an interface to PHPStan. It will be used with files that have the "PHP" syntax or PHP embedded within HTML.

Installation

PHPStan installation

Before installing this plugin, you must ensure that phpstan is installed on your system. For detailed instructions see PHPStan Github, the simplified steps are:

  1. Install php.
  2. Install Composer.
  3. Install phpstan by typing the following in a terminal:
composer global require phpstan/phpstan

After verifying that phpstan works from your terminal, proceed to install the atom-linter-phpstan plugin.

Plugin installation

$ apm install atom-linter-phpstan