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 →
Laravel Auditor Audits Your App With Your Own AI Agent image

Laravel Auditor Audits Your App With Your Own AI Agent

Read article
A simple form builder that stays out of your way image

A simple form builder that stays out of your way

Read article
Laravel AI: Trace Agent Runs With Lifecycle Events image

Laravel AI: Trace Agent Runs With Lifecycle Events

Read article
Laravel AI: Get Raw HTTP Responses and Rate Limits image

Laravel AI: Get Raw HTTP Responses and Rate Limits

Read article
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article