Laravel Pint --bail Flag
Published on by Paul Redmond
With this week's v1.15.0 release of Laravel Pint, a new --bail
flag was introduced. The bail flag stops Laravel pint execution on the first failure like Pest:
This flag is useful in CI environments or pre-commit hooks to test for code-style errors without fixing them.
Hat tip to Nuno Maduro, who submitted the --bail
feature in Pull Request #261. It's exciting to see these continuous improvements around the Laravel ecosystem! To get started with Laravel Pint, check out the official documentation.