Download the PHP package ticketswap/phpstan-error-formatter without Composer
On this page you can find all versions of the php package ticketswap/phpstan-error-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ticketswap/phpstan-error-formatter
More information about ticketswap/phpstan-error-formatter
Files in ticketswap/phpstan-error-formatter
Download ticketswap/phpstan-error-formatter
More information about ticketswap/phpstan-error-formatter
Files in ticketswap/phpstan-error-formatter
Vendor ticketswap
Package phpstan-error-formatter
Short Description A minimalistic error formatter for PHPStan
License MIT
Package phpstan-error-formatter
Short Description A minimalistic error formatter for PHPStan
License MIT
Please rate this library. Is it a good library?
Informations about the package phpstan-error-formatter
A minimalistic error formatter for PHPStan
Features
- Every error has it's own clickable file + line link (default formatter shows the file once, and then displays the line + errors)
- Errors don't wrap, so they take your while terminal (default formatter wraps in a table)
- Highlighting of variables, fully qualified class names and other common types. This is done naively and there are cases where it does not work.
- Long file paths are truncated visually (src/App/../Entity/User.php) while keeping the clickable link intact
- The filename + line is clickable depending on your terminal and their support for clickable links. For example, in PHPStorm's built-in editor, it doesn't work and there we print
file:///Volumes/CS/www/src/App/User.php
.
Installation
To use this extension, require it in Composer:
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:Usage
Configure PHPStan to use the ticketswap
error formatter:
When you haven't done so, make sure to configure the editorUrl:
parameters:
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
All versions of phpstan-error-formatter with dependencies
PHP Build Version
Package Version
The package ticketswap/phpstan-error-formatter contains the following files
Loading the files please wait ....