Skip to content

[Feature] - Ajoute un meilleur mapping Cim-10 / Cim-11#44

Merged
Xusifob merged 3 commits into
stagingfrom
bugfix/cim-11-import
Mar 6, 2026
Merged

[Feature] - Ajoute un meilleur mapping Cim-10 / Cim-11#44
Xusifob merged 3 commits into
stagingfrom
bugfix/cim-11-import

Conversation

@Xusifob
Copy link
Copy Markdown
Member

@Xusifob Xusifob commented Mar 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 5, 2026 07:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Cette PR semble viser à améliorer le mapping CIM-10/CIM-11, mais les changements inclus portent principalement sur du nettoyage de code et l’ignorance d’un fichier CSV généré.

Changes:

  • Suppression d’un bloc de debug (dump() / exit) dans la commande d’import CIM-11.
  • Ajout de missing-mapping.csv au .gitignore et correction de l’entrée *.sql.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/Command/Cim11Import.php Retire un code de debug bloquant dans la résolution du code CIM-10.
.gitignore Ignore un fichier CSV local (missing-mapping.csv) et corrige l’entrée *.sql.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 238 to 242
private function getCim10Code(string $code): ?string
{
if ('SD82' === $code) {
dump($this->cim11Mapping[$code]);
exit;
}

if (isset($this->cim11Mapping[$code])) {
return $this->cim11Mapping[$code];
}
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le titre de la PR indique un « meilleur mapping CIM-10/CIM-11 », mais les changements visibles ici sont surtout un nettoyage (suppression de dump/exit) et un ajustement du .gitignore. Si l’amélioration de mapping est attendue, il manque probablement la modification du fichier de mapping (ex: mapping-cim-11.csv) ou il faudrait ajuster le titre/la description pour refléter le contenu réel.

Copilot uses AI. Check for mistakes.
@Xusifob Xusifob force-pushed the bugfix/cim-11-import branch from 6c8130a to eb95615 Compare March 6, 2026 03:07
@Xusifob Xusifob merged commit 7a1938e into staging Mar 6, 2026
2 checks passed
@Xusifob Xusifob deleted the bugfix/cim-11-import branch March 6, 2026 03:13
Xusifob added a commit that referenced this pull request Mar 11, 2026
* [Feature] - Update the cim-11 import

* fixes

* fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants