Passed
Push — master ( 883bce...3eef4a )
by Anthony
03:21
created
installation/controller/InstallUtilisateur.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 			}
53 53
 
54 54
 			$this->erreur = true;
55
-			return "<li>Votre ". $champ ." doit être de trois caractère minimum</li>";
55
+			return "<li>Votre ".$champ." doit être de trois caractère minimum</li>";
56 56
 		}
57 57
 
58 58
 		/**
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@  discard block
 block discarded – undo
21 21
 				foreach ($query as $obj) {
22 22
 					$params = $obj->mdp_params;
23 23
 				}
24
-			}
25
-			else {
24
+			} else {
26 25
 				$params = self::$params;
27 26
 			}
28 27
 
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
 
75 74
 			if ($id_identite != null) {
76 75
 				self::setSaveParams("$taille_bout1, $debut_bout2, $nb_aleatoire_mdp, $taille_bout2, $debut_bout1, ".ChaineCaractere::random(20), $id_identite);
77
-			}
78
-			else {
76
+			} else {
79 77
 				self::$params = "$taille_bout1, $debut_bout2, $nb_aleatoire_mdp, $taille_bout2, $debut_bout1, ".ChaineCaractere::random(20);
80 78
 			}
81 79
 
Please login to merge, or discard this patch.
installation/controller/initialise_all.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
 			$db_user = $_SESSION['db_user'];
10 10
 			$db_pass = $_SESSION['db_pass'];
11 11
 			unset($_SESSION['err_db']);
12
-		}
13
-		else {
12
+		} else {
14 13
 			$db_type = null;
15 14
 			$db_host = null;
16 15
 			$db_name = null;
@@ -28,8 +27,7 @@  discard block
 block discarded – undo
28 27
 			$mail_administrateur = $_SESSION['mail_administrateur'];
29 28
 
30 29
 			unset($_SESSION['err_config']);
31
-		}
32
-		else {
30
+		} else {
33 31
 			$nom_site = null;
34 32
 			$url_site = null;
35 33
 			$gerant_site = null;
@@ -45,8 +43,7 @@  discard block
 block discarded – undo
45 43
 			$pseudo = $_SESSION['pseudo'];
46 44
 
47 45
 			unset($_SESSION['err_user']);
48
-		}
49
-		else {
46
+		} else {
50 47
 			$nom = null;
51 48
 			$prenom = null;
52 49
 			$pseudo = null;
Please login to merge, or discard this patch.