Passed
Push — master ( a157a8...203205 )
by Anthony
03:39
created
core/admin/contenus/GestionContenus.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 		}
19 19
 		
20 20
 		/**
21
-		 * @param $parent
21
+		 * @param integer $parent
22 22
 		 * @return int
23 23
 		 */
24 24
 		private function getOrdrePage($parent) {
Please login to merge, or discard this patch.
core/functions/DateHeure.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
 		 **/
25 25
 		public static function Heureenseconde($heure, $minute) {
26 26
 			if ((is_numeric($heure)) && (is_numeric($minute))) {
27
-				$heuresec = $heure * 3600;
28
-				$minutesec = $minute * 60;
29
-				$heureseconde = $heuresec + $minutesec;
27
+				$heuresec = $heure*3600;
28
+				$minutesec = $minute*60;
29
+				$heureseconde = $heuresec+$minutesec;
30 30
 				return $heureseconde;
31 31
 			}
32 32
 			else {
Please login to merge, or discard this patch.
core/functions/ChaineCaractere.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 			$chaine = "abcdefghijklmnpqrstuvwxyz0123456789";
18 18
 			srand((double)microtime()*1000000);
19 19
 			for ($i = 0; $i < $longueur; $i++) {
20
-				$string .= $chaine[rand() % strlen($chaine)];
20
+				$string .= $chaine[rand()%strlen($chaine)];
21 21
 			}
22 22
 			return $string;
23 23
 		}
Please login to merge, or discard this patch.
core/RouterController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 				
19 19
 				$this->page = $page;
20 20
 				
21
-				if (($this->getTestCoreController() === false) && ($this->getTestModuleController()  === false)) {
21
+				if (($this->getTestCoreController() === false) && ($this->getTestModuleController() === false)) {
22 22
 					$this->controller = $this->part."/".$this->page.".php";
23 23
 				}
24 24
 				
Please login to merge, or discard this patch.
core/admin/navigation/AdminNavigation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 			$dbc = App::getDb();
12 12
 			$count_nav = count($nav);
13 13
 
14
-			for ($i = 0 ; $i < $count_nav ; $i++) {
14
+			for ($i = 0; $i < $count_nav; $i++) {
15 15
 				$lien = explode(".", $nav[$i]);
16 16
 
17 17
 				if ($lien[1] == "page") {
Please login to merge, or discard this patch.