wip(06-sonarqube-quality): 6 planów SonarQube Quality utworzonych

Plany dla php:S112, S1142, S1192, S3776, S1448, S138 — gotowe do APPLY.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 10:54:57 +01:00
parent 2d4b52adfc
commit 3a9cfcd4a2
9 changed files with 1545 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ orderPRO to narzędzie do wielokanałowego zarządzania sprzedażą. Projekt prz
**v0.1 Initial Release** (v0.1.0)
Status: In progress
Phases: 3 complete, Phase 4 planning
Phases: 5 complete, Phase 6 planning
## Phases
@@ -19,6 +19,7 @@ Phases: 3 complete, Phase 4 planning
| 3 | Tech Debt 2 | 1/1 | ✅ Complete | 2026-03-13 |
| 4 | Schema Docs | 1/1 | ✅ Complete | 2026-03-13 |
| 5 | Tech Debt 3 | 1/1 | ✅ Complete | 2026-03-13 |
| 6 | SonarQube Quality | 0/6 | 🔄 Planning | — |
## Phase Details
@@ -51,6 +52,16 @@ Migracja flash messages z bezpośrednich zapisów `$_SESSION` do abstrakcji `Fla
- **Plan 05-01** — Migrate $_SESSION flash writes to Flash class in OrdersController and ShipmentController — *Complete*
### Phase 6 — SonarQube Quality
Eliminacja 327 issues SonarQube (php:S112, S1142, S1192, S3776, S1448, S138) przez typowane wyjątki, ekstrakcję stałych, redukcję złożoności i podział god classes.
- **Plan 06-01** — php:S112 (95x) — Typowane klasy wyjątków zamiast RuntimeException — *Not started*
- **Plan 06-02** — php:S1142 (57x) — Redukcja liczby return w metodach — *Not started*
- **Plan 06-03** — php:S1192 (40x) — Ekstrakcja powtarzających się literałów do stałych — *Not started*
- **Plan 06-04** — php:S3776 (31x) — Redukcja złożoności kognitywnej metod — *Not started*
- **Plan 06-05** — php:S1448 (6x) — Podział god classes (ShopproOrdersSyncService, AllegroIntegrationController) — *Not started*
- **Plan 06-06** — php:S138 (4x) — Skrócenie zbyt długich metod — *Not started*
---
*Roadmap created: 2026-03-12*
*Last updated: 2026-03-13 after Phase 5 (Tech Debt 3 — Flash migration)*
*Last updated: 2026-03-13 after Phase 6 plans created (SonarQube Quality — 6 plans)*