From 78c11e6546f700bb4d52e9efeec1e3bb7802e17d Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 28 Apr 2026 12:20:41 +0200 Subject: [PATCH] Update agents.md --- AGENTS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 87cdedb21..e5fa60351 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -98,11 +98,13 @@ PHPUnit only (no Pest). Create tests: `php artisan make:test --phpunit {name}` **After every code change, run all of the following before considering a task done:** -### 1. Format changed PHP files +### 1. Apply style fixes to changed PHP files ```bash ./vendor/bin/pint --dirty # Format only changed files ``` +> If Pint changes files, keep those changes and rerun Pint until it reports clean output. + ### 2. Check for static analysis errors ```bash ./vendor/bin/phpstan analyse --memory-limit=2G # Run PHPStan static analysis