szepeviktor/phpstan-editorlink

PHPStan error formatter for terminal-based editors

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:phpstan-extension

v0.1.0 2020-10-10 18:00 UTC

This package is auto-updated.

Last update: 2024-04-11 04:28:52 UTC


README

Installation

Use phpstan/extension-installer or add this manually to your phpstan.neon

includes:
    - vendor/szepeviktor/phpstan-editorlink/extension.neon

Usage

Add this command line option: vendor/bin/phpstan analyze --error-format=editorLink

Example output

 ------ ----------------------------------------------
  Line   authorize.php
 ------ ----------------------------------------------
  20     Function register_activation_hook not found.
         authorize.php:20
  23     Instantiated class App_Auth not found.
         authorize.php:23
 ------ ----------------------------------------------