yamadashy/phpstan-friendly-formatter
PHPStan Friendly Formatter enhances PHPStan output with code frames around errors, a summary of error identifiers and counts, and clean, readable reports. Install via Composer, include the extension in phpstan.neon, and set errorFormat to friendly.
This release adds CI-detected error formatting and improved summary output!
The error summary has been redesigned with:
Thanks to @MatuzMark for this contribution! 🎉
When running in GitHub Actions or TeamCity, the friendly formatter now automatically outputs CI-specific error annotations alongside the friendly output!
This happens automatically when CI is detected - no configuration needed.
Thanks to @marcreichel for this contribution! 🎉
relativePathHelper argument (#32).gitattributes export-ignore entries (#42)Reduced the Composer package size by excluding unnecessary files (.devcontainer/, docs/, playground/, phpunit.xml, etc.) from the distribution archive.
Thanks @sasezaki for this contribution! 🎉
composer update yamadashy/phpstan-friendly-formatter
As always, if you have any issues or suggestions, please let us know on GitHub issues!
Full Changelog: https://github.com/yamadashy/phpstan-friendly-formatter/compare/v1.3.0...v1.4.0
This release adds PHP 8.4/8.5 support and introduces the %%relFile%% placeholder for editor URLs!
%%relFile%% Placeholder for Editor URLs (#19)Added %%relFile%% placeholder support, making editor URLs work correctly in Docker/container environments!
Before: Clicking the link opened an incorrect path because PHPStan ran in a container
After: Using %%relFile%% displays the relative file path, which works correctly
parameters:
friendly:
# For Docker environments - use relative path
editorUrl: 'phpstorm://open?file=%%relFile%%&line=%%line%%'
Thanks to @jdreesen for this contribution! 🎉
composer update yamadashy/phpstan-friendly-formatter
As always, if you have any issues or suggestions, please let us know on GitHub issues!
This release adds support for PHPStan 2.0 and includes several improvements to our internal processes.
We value your feedback and contributions in making phpstan-friendly-formatter better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
This release includes minor improvements to the formatting and readability of error outputs.
This release introduces a new Error Identifier Summary feature and several improvements to the formatting and readability of error outputs.
How can I help you explore Laravel packages today?