News

Laravel Pint --bail Flag

Published
Laravel Pint --bail Flag image

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.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Image Dominant Color and HEIC Support in Laravel 13.24 image

Image Dominant Color and HEIC Support in Laravel 13.24

Read article
Official Laravel Zed Extension: LSP for PHP & Blade image

Official Laravel Zed Extension: LSP for PHP & Blade

Read article
Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD image

Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD

Read article
PhpStorm 2026.2 Released image

PhpStorm 2026.2 Released

Read article
Laravel Doctor: Diagnose Your App With One Artisan Command image

Laravel Doctor: Diagnose Your App With One Artisan Command

Read article
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article