Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/szepeviktor/phpstan-editorlink

Editor link error formatter for PHPStan
https://github.com/szepeviktor/phpstan-editorlink

editor line-number phpstan terminal

Last synced: 25 days ago
JSON representation

Editor link error formatter for PHPStan

Awesome Lists containing this project

README

        

# Editor link error formatter for PHPStan

### Installation

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

```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
------ ----------------------------------------------
```