Skip to content

Become sponsor : repli sur le dernier évènement sans évènement courant - #2435

Merged
stakovicz merged 1 commit into
afup:masterfrom
vgreb:fix/become-sponsor-sans-evenement-courant
Oct 25, 2026
Merged

stakovicz merged 1 commit into
afup:masterfrom
vgreb:fix/become-sponsor-sans-evenement-courant

Conversation

@vgreb

@vgreb vgreb commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Entre la fin d'un évènement et la création du suivant, getCurrentEvent() renvoie null et /become-sponsor répond une 500 (Call to a member function getPath() on null).

La route redirige désormais vers la page sponsoring du dernier évènement, et répond une 404 si aucun évènement n'existe. L'entrée correspondante de la baseline phpstan est supprimée.

Entre la fin d'un évènement et la création du suivant, getCurrentEvent() renvoie null et /become-sponsor plantait (Call to a member function getPath() on null).
@stakovicz
stakovicz merged commit cf318f8 into afup:master Oct 25, 2026
7 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