Passed
Push — master ( bded11...44fa49 )
by Choquet
01:46
created
phoponent/app/components/core/Table/views/table.view.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
         private $lines = '';
11 11
 
12 12
         public function set_header(string $header) {
13
-        	$this->header = $header;
14
-		}
13
+            $this->header = $header;
14
+        }
15 15
 
16 16
         public function set_lines(string $lines) {
17
-        	$this->lines = $lines;
18
-		}
19
-	}
20 17
\ No newline at end of file
18
+            $this->lines = $lines;
19
+        }
20
+    }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
phoponent/app/components/core/Mon_premier_tag/models/props_gestion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,10 +35,10 @@
 block discarded – undo
35 35
         $content = $this->value;
36 36
         $id = '';
37 37
         $class = '';
38
-        if(!is_null($this->id)) {
38
+        if (!is_null($this->id)) {
39 39
             $id = " id='{$this->id}'";
40 40
         }
41
-        if(!is_null($this->class)) {
41
+        if (!is_null($this->class)) {
42 42
             $class = " class='{$this->class}'";
43 43
         }
44 44
 
Please login to merge, or discard this patch.
phoponent/commands/initialize.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
     public function dependencies() {
19 19
         $dir = opendir("phoponent/external_libs");
20 20
         while (($directory = readdir($dir)) !== false) {
21
-            if($directory !== '..' && $directory !== '.') {
21
+            if ($directory !== '..' && $directory !== '.') {
22 22
                 exec("cd phoponent/external_libs/{$directory} && composer install");
23 23
             }
24 24
         }
Please login to merge, or discard this patch.
phoponent/framework/classes/regexp.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -12,58 +12,58 @@
 block discarded – undo
12 12
 use phoponent\framework\traits\static_class;
13 13
 
14 14
 class regexp {
15
-	use static_class;
15
+    use static_class;
16 16
 
17
-	public static function get_regexp_for_autoclosed_tags_without_arguments():string {
18
-		return '`\<'.self::get_regexp_for_tag_name().'\/\>`';
19
-	}
20
-	public static function get_regexp_for_autoclosed_tags_without_arguments_and_spaces():string {
21
-		return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_juste_space().'\/\>`';
22
-	}
23
-	public static function get_regexp_for_autoclosed_tags_with_arguments():string {
24
-		return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_attributs().'\/\>`';
25
-	}
17
+    public static function get_regexp_for_autoclosed_tags_without_arguments():string {
18
+        return '`\<'.self::get_regexp_for_tag_name().'\/\>`';
19
+    }
20
+    public static function get_regexp_for_autoclosed_tags_without_arguments_and_spaces():string {
21
+        return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_juste_space().'\/\>`';
22
+    }
23
+    public static function get_regexp_for_autoclosed_tags_with_arguments():string {
24
+        return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_attributs().'\/\>`';
25
+    }
26 26
 
27
-	public static function get_regexp_for_no_autoclosed_tags_with_content_and_arguments():string {
28
-		return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_attributs().'\>'.self::get_regexp_for_content().'\<\/'.self::get_regexp_for_tag_name(true).'\>`';
29
-	}
30
-	public static function get_regexp_for_no_autoclosed_tags_with_content_and_not_arguments_and_spaces():string {
31
-		return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_juste_space().'\>'.self::get_regexp_for_content().'\<\/'.self::get_regexp_for_tag_name(true).'\>`';
32
-	}
33
-	public static function get_regexp_for_no_autoclosed_tags_with_content_and_not_arguments():string {
34
-		return '`\<'.self::get_regexp_for_tag_name().'\>'.self::get_regexp_for_content().'\<\/'.self::get_regexp_for_tag_name(true).'\>`';
35
-	}
27
+    public static function get_regexp_for_no_autoclosed_tags_with_content_and_arguments():string {
28
+        return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_attributs().'\>'.self::get_regexp_for_content().'\<\/'.self::get_regexp_for_tag_name(true).'\>`';
29
+    }
30
+    public static function get_regexp_for_no_autoclosed_tags_with_content_and_not_arguments_and_spaces():string {
31
+        return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_juste_space().'\>'.self::get_regexp_for_content().'\<\/'.self::get_regexp_for_tag_name(true).'\>`';
32
+    }
33
+    public static function get_regexp_for_no_autoclosed_tags_with_content_and_not_arguments():string {
34
+        return '`\<'.self::get_regexp_for_tag_name().'\>'.self::get_regexp_for_content().'\<\/'.self::get_regexp_for_tag_name(true).'\>`';
35
+    }
36 36
 
37
-	public static function get_regexp_for_no_autoclosed_tags_without_content_and_with_arguments():string {
38
-		return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_attributs().'>\<\/'.self::get_regexp_for_tag_name(true).'\>`';
39
-	}
40
-	public static function get_regexp_for_no_autoclosed_tags_without_content_and_arguments_and_with_spaces():string {
41
-		return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_juste_space().'\>\<\/'.self::get_regexp_for_tag_name(true).'\>`';
42
-	}
43
-	public static function get_regexp_for_no_autoclosed_tags_without_content_and_arguments():string {
44
-		return '`\<'.self::get_regexp_for_tag_name().'\>\<\/'.self::get_regexp_for_tag_name(true).'\>`';
45
-	}
37
+    public static function get_regexp_for_no_autoclosed_tags_without_content_and_with_arguments():string {
38
+        return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_attributs().'>\<\/'.self::get_regexp_for_tag_name(true).'\>`';
39
+    }
40
+    public static function get_regexp_for_no_autoclosed_tags_without_content_and_arguments_and_with_spaces():string {
41
+        return '`\<'.self::get_regexp_for_tag_name().self::get_regexp_for_juste_space().'\>\<\/'.self::get_regexp_for_tag_name(true).'\>`';
42
+    }
43
+    public static function get_regexp_for_no_autoclosed_tags_without_content_and_arguments():string {
44
+        return '`\<'.self::get_regexp_for_tag_name().'\>\<\/'.self::get_regexp_for_tag_name(true).'\>`';
45
+    }
46 46
 
47
-	private static function get_regexp_for_content():string {
48
-	    return '([\ a-zA-Z0-9\=\-\_\\\'\"\%\é\&\;\,\:\/\!\§\*ù\$\^\#\{\}\[\]\(\)\+\?\\n\\t]+)';
47
+    private static function get_regexp_for_content():string {
48
+        return '([\ a-zA-Z0-9\=\-\_\\\'\"\%\é\&\;\,\:\/\!\§\*ù\$\^\#\{\}\[\]\(\)\+\?\\n\\t]+)';
49 49
     }
50 50
 
51 51
     private static function get_regexp_for_attributs():string {
52
-	    return '\ ([\ a-zA-Z0-9\=\-\_\\\'\"\%\é\&\;\,\:\/\.\!\§\*ù\$\^\#\{\}\[\]\(\)\+\?\\n\\t]+)';
52
+        return '\ ([\ a-zA-Z0-9\=\-\_\\\'\"\%\é\&\;\,\:\/\.\!\§\*ù\$\^\#\{\}\[\]\(\)\+\?\\n\\t]+)';
53 53
     }
54 54
 
55 55
     private static function get_regexp_for_juste_space():string {
56
-	    return '[\ ]+';
56
+        return '[\ ]+';
57 57
     }
58 58
 
59 59
     private static function get_regexp_for_tag_name($close = false):string {
60
-	    $start = $close ? '' : '(';
61
-	    $end = $close ? '' : ')';
62
-	    return $start.'[A-Z][A-Za-z0-9\-\_]+'.$end;
60
+        $start = $close ? '' : '(';
61
+        $end = $close ? '' : ')';
62
+        return $start.'[A-Z][A-Za-z0-9\-\_]+'.$end;
63 63
     }
64 64
 
65 65
     public static function regexp_for_parse_attributs_with_only_integers():string {
66
-	    return '`([\w\-]+\=\\d+)+`';
66
+        return '`([\w\-]+\=\\d+)+`';
67 67
     }
68 68
 
69 69
     public static function regexp_for_parse_attributs():string {
Please login to merge, or discard this patch.