Skip to content

Migre l'entité TicketSpecialPrice de Ting vers Doctrine - #2417

Merged
Korbeil merged 1 commit into
afup:masterfrom
Korbeil:afup-migrer-ting-ticketspecialprice-vers
Oct 12, 2026
Merged

Korbeil merged 1 commit into
afup:masterfrom
Korbeil:afup-migrer-ting-ticketspecialprice-vers

Conversation

@Korbeil

@Korbeil Korbeil commented Sep 22, 2026

Copy link
Copy Markdown
Member

Description

Migre l'entité TicketSpecialPrice de Ting vers Doctrine, conformément aux ADR-001 et ADR-002 : entité fortement typée à propriétés publiques, repository dédié, dates en DateTimeImmutable. La table afup_forum_special_price est inchangée, la gestion des prix custom (« billetterie privée ») au back-office fonctionne à l'identique.

Changes

  • Nouvelle entité Doctrine TicketSpecialPrice avec son repository (recherche par évènement, comptage des utilisations du lien, sauvegarde) et ses tests ; l'ancien modèle Ting et son repository sont supprimés
  • Les pages back-office de gestion des prix custom (création, liste, prolongation) passent sur la nouvelle entité
  • La liste back-office affiche désormais directement prénom/nom du créateur et l'indicateur d'utilisation du lien
  • Nettoyage du baseline PHPStan (66 lignes retirées)

How to test

  1. Back-office → évènement → « Gestion des prix custom » : créer un prix custom, vérifier qu'il apparaît dans la liste
  2. Prolonger un prix custom : la date de fin est repoussée de 3 jours
  3. Lancer les tests TicketSpecialPriceRepositoryTest

@Korbeil
Korbeil marked this pull request as ready for review September 22, 2026 09:05
@Korbeil
Korbeil force-pushed the afup-migrer-ting-ticketspecialprice-vers branch from 848917b to ada965d Compare October 5, 2026 19:25
@Korbeil
Korbeil force-pushed the afup-migrer-ting-ticketspecialprice-vers branch from ada965d to 54db194 Compare October 5, 2026 19:38
Comment thread sources/AppBundle/Association/Entity/Utilisateur.php
@Korbeil
Korbeil marked this pull request as draft October 12, 2026 21:45
@Korbeil
Korbeil marked this pull request as ready for review October 12, 2026 22:05
@Korbeil
Korbeil merged commit b19bb8a into afup:master Oct 12, 2026
13 of 14 checks passed
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