maximilian-kresse / phpstan-ignore-error-formatter
A error formatter wrapper to ignore the exit code of the wrapped error formatter and always return 0
1.0.0
2020-08-20 13:00 UTC
Requires
- php: ^7.4 || ^8.0
- phpstan/phpstan: ~0.12.37
This package is not auto-updated.
Last update: 2025-04-12 09:46:46 UTC
README
An error formatter wrapper to ignore the exit code of the wrapped error formatter and always return 0.
At the moment only a wrapper for the teamcity error formatter is implemented.
Usage
composer require maximilian-kresse/phpstan-ignore-error-formatter ^1.0
Before you can start using the error formatter, you have to register it in the configuration file:
services: errorFormatter.teamcity-ignore-error: class: MaximilianKresse\PhpstanIgnoreErrorFormatter\TeamcityIgnoreErrorFormatter
phpstan analyse --error-format teamcity-ignore-error