Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/szepeviktor/phpstan-editorlink
- Owner: szepeviktor
- Created: 2020-10-10T17:45:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-10T21:00:06.000Z (about 4 years ago)
- Last Synced: 2024-10-09T10:11:12.741Z (about 1 month ago)
- Topics: editor, line-number, phpstan, terminal
- Language: PHP
- Homepage: https://packagist.org/packages/szepeviktor/phpstan-editorlink
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
------ ----------------------------------------------
```