@the-bearded-bear/claude-craft 8.8.1 → 8.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dev/i18n/de/Angular/commands/check-compliance.md +218 -168
- package/Dev/i18n/de/Common/agents/refactoring-specialist.md +146 -69
- package/Dev/i18n/de/Common/commands/add-technology.md +166 -68
- package/Dev/i18n/de/Common/commands/setup-ci.md +216 -33
- package/Dev/i18n/de/Laravel/commands/check-compliance.md +223 -115
- package/Dev/i18n/de/Python/checklists/new-feature.md +319 -44
- package/Dev/i18n/de/React/rules/02-architecture.md +483 -322
- package/Dev/i18n/de/React/rules/03-coding-standards.md +584 -368
- package/Dev/i18n/de/Symfony/commands/check-compliance.md +186 -114
- package/Dev/i18n/de/Symfony/rules/07-testing-symfony.md +679 -10
- package/Dev/i18n/de/UIUX/commands/a11y-component.md +284 -26
- package/Dev/i18n/de/UIUX/commands/design-tokens.md +199 -35
- package/Dev/i18n/de/UIUX/commands/user-flow.md +179 -16
- package/Dev/i18n/de/VueJS/commands/check-compliance.md +227 -102
- package/Dev/i18n/es/Angular/commands/check-compliance.md +217 -167
- package/Dev/i18n/es/Common/commands/add-technology.md +158 -60
- package/Dev/i18n/es/Laravel/commands/check-compliance.md +223 -115
- package/Dev/i18n/es/React/commands/check-testing.md +263 -169
- package/Dev/i18n/es/ReactNative/commands/check-testing.md +256 -198
- package/Dev/i18n/es/Symfony/commands/check-compliance.md +189 -117
- package/Dev/i18n/es/Symfony/commands/check-testing.md +301 -102
- package/Dev/i18n/es/Symfony/commands/migration-plan.md +267 -34
- package/Dev/i18n/es/UIUX/commands/a11y-component.md +274 -16
- package/Dev/i18n/es/UIUX/commands/design-tokens.md +186 -22
- package/Dev/i18n/es/UIUX/commands/user-flow.md +173 -10
- package/Dev/i18n/es/VueJS/commands/check-compliance.md +227 -102
- package/Dev/i18n/fr/Angular/commands/check-compliance.md +217 -167
- package/Dev/i18n/fr/Common/commands/ralph-run.md +138 -60
- package/Dev/i18n/fr/Laravel/commands/check-compliance.md +223 -115
- package/Dev/i18n/fr/React/commands/check-architecture.md +370 -53
- package/Dev/i18n/fr/React/commands/check-code-quality.md +454 -64
- package/Dev/i18n/fr/React/commands/check-testing.md +476 -102
- package/Dev/i18n/fr/Symfony/commands/check-compliance.md +188 -116
- package/Dev/i18n/fr/VueJS/commands/check-compliance.md +227 -102
- package/Dev/i18n/pt/Angular/commands/check-compliance.md +225 -175
- package/Dev/i18n/pt/Common/agents/ralph-conductor.md +211 -30
- package/Dev/i18n/pt/Common/commands/add-technology.md +149 -51
- package/Dev/i18n/pt/Common/commands/ralph-run.md +239 -35
- package/Dev/i18n/pt/Flutter/commands/analyze-performance.md +331 -46
- package/Dev/i18n/pt/Flutter/commands/check-compliance.md +234 -29
- package/Dev/i18n/pt/Flutter/commands/generate-feature.md +526 -51
- package/Dev/i18n/pt/Flutter/commands/generate-widget.md +515 -27
- package/Dev/i18n/pt/Flutter/commands/golden-update.md +322 -46
- package/Dev/i18n/pt/Flutter/commands/localization-check.md +278 -37
- package/Dev/i18n/pt/Laravel/commands/check-compliance.md +212 -104
- package/Dev/i18n/pt/React/commands/accessibility-check.md +151 -42
- package/Dev/i18n/pt/React/commands/bundle-analyze.md +300 -25
- package/Dev/i18n/pt/React/commands/check-architecture.md +369 -34
- package/Dev/i18n/pt/React/commands/check-code-quality.md +440 -34
- package/Dev/i18n/pt/React/commands/check-compliance.md +232 -62
- package/Dev/i18n/pt/React/commands/check-security.md +370 -31
- package/Dev/i18n/pt/React/commands/check-testing.md +473 -43
- package/Dev/i18n/pt/React/commands/generate-component.md +454 -19
- package/Dev/i18n/pt/React/commands/generate-hook.md +425 -24
- package/Dev/i18n/pt/React/commands/storybook-story.md +520 -35
- package/Dev/i18n/pt/ReactNative/commands/app-size.md +358 -387
- package/Dev/i18n/pt/ReactNative/commands/check-code-quality.md +246 -75
- package/Dev/i18n/pt/ReactNative/commands/check-compliance.md +191 -85
- package/Dev/i18n/pt/ReactNative/commands/check-security.md +363 -115
- package/Dev/i18n/pt/ReactNative/commands/check-testing.md +269 -79
- package/Dev/i18n/pt/ReactNative/commands/generate-screen.md +491 -324
- package/Dev/i18n/pt/ReactNative/commands/native-module.md +539 -82
- package/Dev/i18n/pt/ReactNative/commands/store-prepare.md +429 -185
- package/Dev/i18n/pt/ReactNative/rules/02-architecture.md +1084 -31
- package/Dev/i18n/pt/Symfony/commands/check-compliance.md +195 -123
- package/Dev/i18n/pt/UIUX/commands/a11y-audit.md +208 -24
- package/Dev/i18n/pt/UIUX/commands/a11y-component.md +281 -23
- package/Dev/i18n/pt/UIUX/commands/design-tokens.md +197 -33
- package/Dev/i18n/pt/UIUX/commands/user-flow.md +183 -20
- package/Dev/i18n/pt/VueJS/commands/check-compliance.md +228 -103
- package/Dev/i18n/pt/Workflow/commands/analyze.md +147 -146
- package/Dev/i18n/pt/Workflow/commands/design.md +205 -204
- package/Dev/i18n/pt/Workflow/commands/implement.md +184 -184
- package/Project/i18n/de/Sprint/commands/dev.md +339 -86
- package/Project/i18n/es/Sprint/commands/dev.md +342 -91
- package/Project/i18n/pt/Sprint/commands/dev.md +343 -92
- package/bundles/cursor/.cursorrules +1 -1
- package/bundles/windsurf/.windsurfrules +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Vérification Complète de la Conformité Symfony
|
|
3
3
|
argument-hint: [arguments]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Vérification Complète de la Conformité Symfony
|
|
7
7
|
|
|
8
8
|
## Arguments
|
|
9
9
|
|
|
10
|
-
$ARGUMENTS :
|
|
10
|
+
$ARGUMENTS (optionnel : chemin du projet à analyser)
|
|
11
11
|
|
|
12
12
|
## Mode Plan
|
|
13
13
|
|
|
@@ -15,167 +15,239 @@ $ARGUMENTS : Chemin du projet Symfony à auditer (optionnel, par défaut : répe
|
|
|
15
15
|
|
|
16
16
|
## MISSION
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Réaliser un audit complet de conformité du projet Symfony en orchestrant les 4 grandes vérifications : Architecture, Qualité du Code, Tests et Sécurité. Produire un rapport consolidé avec un score global sur 100 points.
|
|
19
19
|
|
|
20
|
-
### Étape 1 :
|
|
20
|
+
### Étape 1 : Préparation de l'audit
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
Préparer l'environnement d'audit :
|
|
23
|
+
- [ ] Identifier le chemin du projet à auditer
|
|
24
|
+
- [ ] Vérifier la présence des fichiers de configuration (composer.json avec symfony/*, .env)
|
|
25
|
+
- [ ] Lister les répertoires principaux (src/, tests/, config/, etc.)
|
|
26
|
+
- [ ] Identifier la structure du projet et la version Symfony
|
|
27
|
+
|
|
28
|
+
**Note** : Si $ARGUMENTS est fourni, l'utiliser comme chemin du projet, sinon utiliser le répertoire courant.
|
|
25
29
|
|
|
26
30
|
### Étape 2 : Audit Architecture (25 points)
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
Exécuter la vérification complète de l'architecture :
|
|
29
33
|
|
|
30
|
-
**
|
|
34
|
+
**Commande** : Utiliser la commande slash `/symfony:check-architecture` ou suivre manuellement les étapes dans `check-architecture.md`
|
|
31
35
|
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
- [ ] Use Cases / Application Services bien définis
|
|
40
|
-
- [ ] Repositories avec interfaces dans le domain
|
|
41
|
-
- [ ] DTOs pour les transferts de données
|
|
36
|
+
**Critères évalués** :
|
|
37
|
+
- Structure Clean Architecture (6 pts)
|
|
38
|
+
- Séparation Domain/Application/Infrastructure (6 pts)
|
|
39
|
+
- Architecture Hexagonale / Ports & Adapters (4 pts)
|
|
40
|
+
- Modélisation DDD (Entités, Value Objects, Agrégats) (4 pts)
|
|
41
|
+
- Use Cases et Application Services (3 pts)
|
|
42
|
+
- Règles de dépendances et Deptrac (2 pts)
|
|
42
43
|
|
|
43
|
-
**
|
|
44
|
+
**Référence** : `check-architecture.md`
|
|
44
45
|
|
|
45
46
|
### Étape 3 : Audit Qualité du Code (25 points)
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
Exécuter la vérification de la qualité du code :
|
|
48
49
|
|
|
49
|
-
**
|
|
50
|
+
**Commande** : Utiliser la commande slash `/symfony:check-code-quality` ou suivre manuellement les étapes dans `check-code-quality.md`
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
- [ ] Longueur des méthodes < 20 lignes
|
|
59
|
-
- [ ] Classes single responsibility
|
|
60
|
-
- [ ] Documentation PHPDoc complète et à jour
|
|
52
|
+
**Critères évalués** :
|
|
53
|
+
- Conformité PSR-12 (5 pts)
|
|
54
|
+
- PHPStan niveau 9 (5 pts)
|
|
55
|
+
- Type hints stricts et declare(strict_types=1) (4 pts)
|
|
56
|
+
- Principes KISS/DRY/YAGNI (4 pts)
|
|
57
|
+
- Documentation et PHPDoc (4 pts)
|
|
58
|
+
- Gestion des erreurs (3 pts)
|
|
61
59
|
|
|
62
|
-
**
|
|
60
|
+
**Référence** : `check-code-quality.md`
|
|
63
61
|
|
|
64
|
-
### Étape 4 : Audit
|
|
62
|
+
### Étape 4 : Audit Tests (25 points)
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
Exécuter la vérification des tests :
|
|
67
65
|
|
|
68
|
-
**
|
|
66
|
+
**Commande** : Utiliser la commande slash `/symfony:check-testing` ou suivre manuellement les étapes dans `check-testing.md`
|
|
69
67
|
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
- [ ] Base de données de test séparée
|
|
78
|
-
- [ ] Mocks et Stubs appropriés
|
|
79
|
-
- [ ] CI/CD avec exécution automatique des tests
|
|
68
|
+
**Critères évalués** :
|
|
69
|
+
- Couverture du code (7 pts)
|
|
70
|
+
- Tests unitaires pour le Domain (6 pts)
|
|
71
|
+
- Tests d'intégration pour l'Infrastructure (4 pts)
|
|
72
|
+
- Tests fonctionnels (WebTestCase/Behat) (3 pts)
|
|
73
|
+
- Tests de mutation avec Infection (3 pts)
|
|
74
|
+
- Isolation des tests et fixtures (2 pts)
|
|
80
75
|
|
|
81
|
-
**
|
|
76
|
+
**Référence** : `check-testing.md`
|
|
82
77
|
|
|
83
78
|
### Étape 5 : Audit Sécurité (25 points)
|
|
84
79
|
|
|
85
|
-
|
|
80
|
+
Exécuter la vérification de sécurité :
|
|
81
|
+
|
|
82
|
+
**Commande** : Utiliser la commande slash `/symfony:check-security` ou suivre manuellement les étapes dans `check-security.md`
|
|
86
83
|
|
|
87
|
-
**
|
|
84
|
+
**Critères évalués** :
|
|
85
|
+
- Configuration du Symfony Security Bundle (6 pts)
|
|
86
|
+
- Protections OWASP Top 10 (5 pts)
|
|
87
|
+
- Gestion des secrets et des identifiants (4 pts)
|
|
88
|
+
- Validation des entrées et CSRF (4 pts)
|
|
89
|
+
- Authentification et Autorisation (Voters) (3 pts)
|
|
90
|
+
- Vulnérabilités des dépendances (2 pts)
|
|
91
|
+
- Conformité RGPD (1 pt)
|
|
88
92
|
|
|
89
|
-
|
|
90
|
-
- [ ] OWASP Top 10 : Protection contre injection SQL
|
|
91
|
-
- [ ] OWASP Top 10 : Protection XSS
|
|
92
|
-
- [ ] OWASP Top 10 : Protection CSRF
|
|
93
|
-
- [ ] OWASP Top 10 : Authentification sécurisée
|
|
94
|
-
- [ ] OWASP Top 10 : Contrôle d'accès (Voters, ACL)
|
|
95
|
-
- [ ] RGPD : Consentement utilisateur
|
|
96
|
-
- [ ] RGPD : Droit à l'oubli implémenté
|
|
97
|
-
- [ ] RGPD : Export des données personnelles
|
|
98
|
-
- [ ] Secrets externalisés (pas dans le code)
|
|
93
|
+
**Référence** : `check-security.md`
|
|
99
94
|
|
|
100
|
-
|
|
95
|
+
### Étape 6 : Consolidation et Score Global
|
|
101
96
|
|
|
102
|
-
|
|
97
|
+
Calculer le score global et produire le rapport consolidé :
|
|
98
|
+
- [ ] Additionner les 4 scores (max 100 points)
|
|
99
|
+
- [ ] Identifier les catégories critiques (<50%)
|
|
100
|
+
- [ ] Lister tous les problèmes transversaux critiques
|
|
101
|
+
- [ ] Prioriser les actions par impact/effort
|
|
102
|
+
- [ ] Produire le rapport final consolidé
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
**Échelle de notation** :
|
|
105
|
+
- 90-100 : Excellent - Projet de référence
|
|
106
|
+
- 75-89 : Très bien - Quelques améliorations mineures
|
|
107
|
+
- 60-74 : Acceptable - Des améliorations sont nécessaires
|
|
108
|
+
- 40-59 : Insuffisant - Refactoring majeur requis
|
|
109
|
+
- 0-39 : Critique - Refonte complète nécessaire
|
|
105
110
|
|
|
106
|
-
|
|
107
|
-
- ✅ 90-100 : Excellent - Conformité exemplaire
|
|
108
|
-
- ✅ 75-89 : Bon - Quelques améliorations mineures
|
|
109
|
-
- ⚠️ 60-74 : Moyen - Améliorations nécessaires
|
|
110
|
-
- ⚠️ 40-59 : Insuffisant - Refactoring important requis
|
|
111
|
-
- ❌ 0-39 : Critique - Refonte complète nécessaire
|
|
111
|
+
### Étape 7 : Recommandations et Plan d'Action
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
Produire les recommandations finales :
|
|
114
|
+
- [ ] Identifier les 3 actions prioritaires dans toutes les catégories
|
|
115
|
+
- [ ] Estimer l'effort (Faible/Moyen/Élevé) pour chaque action
|
|
116
|
+
- [ ] Estimer l'impact (Faible/Moyen/Élevé) pour chaque action
|
|
117
|
+
- [ ] Proposer un ordre d'implémentation
|
|
118
|
+
- [ ] Suggérer des gains rapides (ratio impact/effort élevé)
|
|
114
119
|
|
|
115
|
-
|
|
120
|
+
## FORMAT DE SORTIE
|
|
116
121
|
|
|
117
122
|
```
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
=================================================
|
|
123
|
+
AUDIT DE CONFORMITÉ SYMFONY - RAPPORT COMPLET
|
|
124
|
+
=============================================
|
|
121
125
|
|
|
122
|
-
|
|
126
|
+
SCORE GLOBAL : XX/100
|
|
123
127
|
|
|
124
|
-
|
|
125
|
-
🎯 Qualité du Code : ___/25 [✅|⚠️|❌]
|
|
126
|
-
🧪 Testing : ___/25 [✅|⚠️|❌]
|
|
127
|
-
🔒 Sécurité : ___/25 [✅|⚠️|❌]
|
|
128
|
+
NIVEAU DE CONFORMITÉ : [Excellent/Très bien/Acceptable/Insuffisant/Critique]
|
|
128
129
|
|
|
129
|
-
|
|
130
|
-
DÉTAILS PAR CATÉGORIE
|
|
131
|
-
=================================================
|
|
130
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
132
131
|
|
|
133
|
-
|
|
132
|
+
SCORES PAR CATÉGORIE :
|
|
134
133
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
ARCHITECTURE : XX/25 [██████████░░░░░░░░░░] XX%
|
|
135
|
+
QUALITÉ DU CODE : XX/25 [██████████░░░░░░░░░░] XX%
|
|
136
|
+
TESTS : XX/25 [██████████░░░░░░░░░░] XX%
|
|
137
|
+
SÉCURITÉ : XX/25 [██████████░░░░░░░░░░] XX%
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
2. [Action prioritaire #2 avec impact estimé]
|
|
141
|
-
3. [Action prioritaire #3 avec impact estimé]
|
|
139
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
142
140
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
POINTS FORTS GLOBAUX :
|
|
142
|
+
1. [Point fort identifié dans plusieurs catégories]
|
|
143
|
+
2. [Autre point fort majeur]
|
|
144
|
+
3. [Troisième point fort]
|
|
146
145
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
AMÉLIORATIONS GLOBALES :
|
|
147
|
+
1. [Amélioration transversale mineure]
|
|
148
|
+
2. [Autre amélioration recommandée]
|
|
149
|
+
3. [Troisième amélioration]
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
PROBLÈMES CRITIQUES :
|
|
152
|
+
1. [Problème critique #1 - catégorie concernée]
|
|
153
|
+
2. [Problème critique #2 - catégorie concernée]
|
|
154
|
+
3. [Problème critique #3 - catégorie concernée]
|
|
155
|
+
|
|
156
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
157
|
+
|
|
158
|
+
DÉTAILS PAR CATÉGORIE :
|
|
159
|
+
|
|
160
|
+
┌─────────────────────────────────────────────┐
|
|
161
|
+
│ ARCHITECTURE (XX/25) │
|
|
162
|
+
└─────────────────────────────────────────────┘
|
|
163
|
+
|
|
164
|
+
Sous-scores :
|
|
165
|
+
• Structure Clean Architecture : XX/6
|
|
166
|
+
• Séparation des couches : XX/6
|
|
167
|
+
• Hexagonal / Ports & Adapters : XX/4
|
|
168
|
+
• Modélisation DDD : XX/4
|
|
169
|
+
• Use Cases : XX/3
|
|
170
|
+
• Règles de dépendances : XX/2
|
|
171
|
+
|
|
172
|
+
Points forts :
|
|
173
|
+
- [Points forts d'architecture]
|
|
174
|
+
|
|
175
|
+
Problèmes :
|
|
176
|
+
- [Problèmes d'architecture]
|
|
177
|
+
|
|
178
|
+
[Sections similaires pour Qualité du Code, Tests et Sécurité...]
|
|
179
|
+
|
|
180
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
181
|
+
|
|
182
|
+
TOP 3 DES ACTIONS PRIORITAIRES (TOUTES CATÉGORIES) :
|
|
183
|
+
|
|
184
|
+
1. CRITIQUE - [Action #1]
|
|
185
|
+
Catégorie : [Architecture/Qualité/Tests/Sécurité]
|
|
186
|
+
Impact : [Élevé/Moyen/Faible]
|
|
187
|
+
Effort : [Élevé/Moyen/Faible]
|
|
188
|
+
Priorité : IMMÉDIATE
|
|
189
|
+
|
|
190
|
+
Description détaillée :
|
|
191
|
+
[Explication du problème et solution proposée]
|
|
192
|
+
|
|
193
|
+
Fichiers concernés :
|
|
194
|
+
- [fichier:ligne]
|
|
195
|
+
|
|
196
|
+
Exemple de correction :
|
|
197
|
+
[Code ou commande de correction]
|
|
198
|
+
|
|
199
|
+
2. IMPORTANT - [Action #2]
|
|
200
|
+
[Même format...]
|
|
201
|
+
|
|
202
|
+
3. RECOMMANDÉ - [Action #3]
|
|
203
|
+
[Même format...]
|
|
204
|
+
|
|
205
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
206
|
+
|
|
207
|
+
GAINS RAPIDES (Impact Élevé / Effort Faible) :
|
|
208
|
+
|
|
209
|
+
- [Gain rapide #1] - Catégorie : [X] - Impact : [X] - Effort : [X]
|
|
210
|
+
- [Gain rapide #2] - Catégorie : [X] - Impact : [X] - Effort : [X]
|
|
211
|
+
- [Gain rapide #3] - Catégorie : [X] - Impact : [X] - Effort : [X]
|
|
212
|
+
|
|
213
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
214
|
+
|
|
215
|
+
PLAN D'ACTION RECOMMANDÉ :
|
|
216
|
+
|
|
217
|
+
SEMAINE 1 (Immédiat) :
|
|
218
|
+
- [ ] [Action critique #1]
|
|
219
|
+
- [ ] [Gain rapide prioritaire]
|
|
153
220
|
|
|
154
|
-
|
|
221
|
+
SEMAINES 2-4 (Court terme) :
|
|
222
|
+
- [ ] [Action importante #2]
|
|
223
|
+
- [ ] [Autres gains rapides]
|
|
155
224
|
|
|
156
|
-
|
|
225
|
+
MOIS 2-3 (Moyen terme) :
|
|
226
|
+
- [ ] [Action recommandée #3]
|
|
227
|
+
- [ ] [Améliorations progressives]
|
|
157
228
|
|
|
158
|
-
|
|
159
|
-
# PHPStan
|
|
160
|
-
docker run --rm -v $(pwd):/app phpstan/phpstan analyse src --level=9
|
|
229
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
161
230
|
|
|
162
|
-
|
|
163
|
-
docker run --rm -v $(pwd):/project php:8.2-cli vendor/bin/phpcs --standard=PSR12 src/
|
|
231
|
+
RÉSUMÉ EXÉCUTIF :
|
|
164
232
|
|
|
165
|
-
|
|
166
|
-
|
|
233
|
+
[Paragraphe de synthèse sur l'état global du projet, les principaux
|
|
234
|
+
points forts, les principales faiblesses et la trajectoire recommandée
|
|
235
|
+
pour améliorer la conformité. Mentionner si le projet est prêt pour
|
|
236
|
+
la production, nécessite des corrections ou un refactoring.]
|
|
167
237
|
|
|
168
|
-
|
|
169
|
-
|
|
238
|
+
Recommandation générale : [Prêt pour la production / Corrections mineures /
|
|
239
|
+
Refactoring majeur / Refonte nécessaire]
|
|
170
240
|
|
|
171
|
-
|
|
172
|
-
docker run --rm -v $(pwd):/app qossmic/deptrac analyse
|
|
241
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
173
242
|
```
|
|
174
243
|
|
|
175
|
-
##
|
|
244
|
+
## NOTES IMPORTANTES
|
|
176
245
|
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
246
|
+
- Cette commande orchestre les 4 audits spécialisés
|
|
247
|
+
- Utiliser Docker pour tous les outils d'analyse
|
|
248
|
+
- Fournir des exemples concrets avec fichier:ligne pour chaque problème
|
|
249
|
+
- Prioriser les actions selon la matrice Impact/Effort
|
|
250
|
+
- Les problèmes de sécurité sont TOUJOURS prioritaires
|
|
251
|
+
- Proposer des corrections automatisables (scripts, hooks pre-commit)
|
|
252
|
+
- Le rapport doit être actionnable, pas seulement descriptif
|
|
253
|
+
- Adapter les recommandations au contexte métier du projet
|