Update agents.md

This commit is contained in:
DariusIII
2026-04-28 12:20:41 +02:00
parent 1b9d8803d5
commit 78c11e6546
+3 -1
View File
@@ -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