shlogg · Early preview
Paul Redmond @paulredmond

Laravel Pint Introduces --Bail Flag For CI Environments

Laravel Pint v1.15.0 introduces a new `--bail` flag, stopping execution on first failure like Pest. Useful in CI environments or pre-commit hooks to test code-style errors without fixing them.

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.