Updated git hooks to follow Laravel best practices:
- Pre-commit: Keep fast Pint formatting (already optimal)
- Pre-push: Make tests optional with user prompt (defaults to No)
- Sail detection now works for all project directory names
- Emphasizes that CI/CD will run comprehensive tests
- Faster developer workflow while maintaining quality gates
Fixed --parallel test execution:
- Set TMPDIR to /var/www/html/storage/tmp in docker-compose.yml
- Created storage/tmp directory for test cache
- Prevents "Permission denied" errors when running parallel tests
This approach:
✅ Speeds up local development (no mandatory slow pre-push tests)
✅ Maintains code quality (formatting is automatic, tests in CI)
✅ Works across all developer environments
✅ Follows Laravel/Pest CI/CD best practices
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>