chore: major project cleanup and restructuring

## Dokumentation
- Entfernt AGENTS.md (redundant zu CLAUDE.md)
- Verschoben: 3 Dokumentationen von root → docs/
- Gelöscht: 8 historische Migrations-Pläne aus docs/archive/
- Entfernt: misc/ Ordner komplett (43 Dateien)

## Struktur
- Erstellt: database/queries/ für SQL Test-Queries (4 Dateien)
- Erstellt: database/schemas/ für Schema-Dokumentation (17 Dateien)
  - output_keys_mapping/ (8 CSV-Mappings)
  - migration-diagrams/ (4 Diagramme)

## Code-Qualität
- Formatiert: 7 Style-Issues in 74 Dateien mit Laravel Pint
- Gefixed: Migration für PostgreSQL/SQLite Kompatibilität
- Gefixed: 2 fehlgeschlagene Tests (CSRF + Text-Assertion)

## Tests
- Alle 73 Tests bestehen jetzt (100% Success Rate)
- AuthenticationTest: CSRF-Token Fix für Logout-Test
- CompanySearchTest: Text-Assertion aktualisiert

## Ergebnis
- Root ist sauber (nur CLAUDE.md)
- Dokumentation strukturiert in docs/
- Database-Dateien organisiert in database/
- Code entspricht Style-Guide
- Alle Tests bestehen
This commit is contained in:
2025-11-21 10:00:32 +01:00
parent 3a54f6cba3
commit 1cb38d7080
46 changed files with 112 additions and 5367 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ class Transaction extends Model
{
$risk = $this->getRiskAssessment();
if (!$risk) {
if (! $risk) {
return true; // Keine Risk-Assessment → Review
}
+1 -1
View File
@@ -69,7 +69,7 @@ class Transaction extends Model
}
} catch (\Exception $e) {
// If schema query fails (e.g., during migrations), just use standard casts
\Illuminate\Support\Facades\Log::warning('Failed to load JSONB column casts: ' . $e->getMessage());
\Illuminate\Support\Facades\Log::warning('Failed to load JSONB column casts: '.$e->getMessage());
}
// Cache for subsequent calls