Passed
Branch master (75cbec)
by Choquet
01:52
created
phoponent/app/components/core/Mon_premier_tag/Mon_premier_tag.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,17 +4,17 @@
 block discarded – undo
4 4
 use phoponent\framework\classe\xphp_tag;
5 5
 
6 6
 class Mon_premier_tag extends xphp_tag {
7
-	public function render(): string {
8
-	    $model = $this->get_model('props_gestion')
7
+    public function render(): string {
8
+        $model = $this->get_model('props_gestion')
9 9
             ->set('id', $this->attribute('id').(!is_null($this->attribute('date')) ? '-'.$this->attribute('date') : ''))
10 10
             ->set('class', $this->attribute('class'))
11 11
             ->set('value', $this->value() !== '' ? $this->value() : __CLASS__);
12
-	    list($class, $id, $content) = $model->get('infos');
12
+        list($class, $id, $content) = $model->get('infos');
13 13
 
14
-		return $this->get_view('balise')->set_vars([
15
-		    'id' => $id,
14
+        return $this->get_view('balise')->set_vars([
15
+            'id' => $id,
16 16
             'class' => $class,
17 17
             'content' => $content,
18 18
         ])->render();
19
-	}
19
+    }
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
phoponent/app/components/core/Clock/Clock.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 use phoponent\framework\classe\xphp_tag;
5 5
 
6 6
 class Clock extends xphp_tag {
7
-	public function render(): string {
8
-	    $result = $this->get_view('horloge')->render();
9
-		return $result;
10
-	}
7
+    public function render(): string {
8
+        $result = $this->get_view('horloge')->render();
9
+        return $result;
10
+    }
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
             return $responseArray;
421 421
         } else {
422 422
             if (is_array($responseArray[0])) {
423
-                return array_reduce($responseArray[0], function ($carry, $item) {
423
+                return array_reduce($responseArray[0], function($carry, $item) {
424 424
                     $carry .= $item[0];
425 425
 
426 426
                     return $carry;
@@ -481,6 +481,6 @@  discard block
 block discarded – undo
481 481
      */
482 482
     private function isValidLocale($lang)
483 483
     {
484
-        return (bool) preg_match('/^([a-z]{2})(-[A-Z]{2})?$/', $lang);
484
+        return (bool)preg_match('/^([a-z]{2})(-[A-Z]{2})?$/', $lang);
485 485
     }
486 486
 }
Please login to merge, or discard this patch.