Skip to content

Conversation

@menioui
Copy link
Collaborator

@menioui menioui commented Apr 7, 2023

No description provided.

Copy link
Owner

@Chouchen Chouchen left a comment

Choose a reason for hiding this comment

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

Le cahier des charges est relativement bien respecté et le rendu est propre. Il manque que les vérifications de sécurité et quelques petits problèmes de migration. J'ai déjà envoyé cette review à M. Belhomme.

@@ -0,0 +1,35 @@
<?php
Copy link
Owner

Choose a reason for hiding this comment

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

Pourquoi y a-t-il 3 fichiers de migrations relativement similaires ? En partant d'un projet "neuf", la migration ne passe pas à cause de ça (ça essaye de créer 3 fois les mêmes tables).

@@ -0,0 +1,2 @@

Copy link
Owner

Choose a reason for hiding this comment

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

Fichier vide ?

Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/*const commentForm = document.getElementById('#comment-form');
Copy link
Owner

Choose a reason for hiding this comment

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

Pourquoi ne pas avoir laissé le code ici ? Ce serait plus propre.

{
$builder
->add('email',EmailType::class,[
'label' => 'Ajouter votre email',
Copy link
Owner

Choose a reason for hiding this comment

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

Ce champ ne devrait pas être obligatoire

'attr' => [
'placeholder' => 'titre',
'class' => 'title',
'minlength' => 4
Copy link
Owner

Choose a reason for hiding this comment

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

Ceci ne valide que la longueur du champ HTML, on peut toujours passer outre en modifiant dans la console ;)
Il faudrait passer par des contraintes (constraint sur symfony)

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.

3 participants