Passed
Push — master ( 44f182...c7a958 )
by Anthony
03:07
created
core/modules/GestionModule.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -198,12 +198,12 @@  discard block
 block discarded – undo
198 198
 						}
199 199
 
200 200
 						//on recupere le nom du dossier + extention
201
-						$explode  = explode(".", $obj->url_telechargement);
201
+						$explode = explode(".", $obj->url_telechargement);
202 202
 						array_pop($explode);
203 203
 
204 204
 						$version_txt = implode(".", $explode)."_version.txt";
205 205
 
206
-						if(file_get_contents($version_txt) !== "") {
206
+						if (file_get_contents($version_txt) !== "") {
207 207
 
208 208
 							//online pour bdd
209 209
 							$version_online_txt = file_get_contents($version_txt);
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
 		
271 271
 		
272 272
 		//-------------------------- SETTER ----------------------------------------------------------------------------//
273
-		private function setListeModuleActiver($id_module, $url, $version, $nom, $icone=null, $url_telechargement=null) {
273
+		private function setListeModuleActiver($id_module, $url, $version, $nom, $icone = null, $url_telechargement = null) {
274 274
 			$this->id_module = $id_module;
275 275
 			$this->url = $url;
276 276
 			$this->nom = $nom;
Please login to merge, or discard this patch.
core/RedirectError.class.php 1 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.