Passed
Push — master ( 67c071...d4672d )
by Timur
04:47 queued 02:14
created
src/PhpFile.php 5 patches
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,6 +136,4 @@
 block discarded – undo
136 136
             mkdir($dir, $mask, true);
137 137
         }
138 138
 
139
-        return file_put_contents($path, $this);
140
-    }
141
-}
139
+        return file_put_contents($path, $this
142 140
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,6 +136,4 @@
 block discarded – undo
136 136
             mkdir($dir, $mask, true);
137 137
         }
138 138
 
139
-        return file_put_contents($path, $this);
140
-    }
141
-}
139
+        return file_put_contents($path, $this
142 140
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,6 +136,4 @@
 block discarded – undo
136 136
             mkdir($dir, $mask, true);
137 137
         }
138 138
 
139
-        return file_put_contents($path, $this);
140
-    }
141
-}
139
+        return file_put_contents($path, $this
142 140
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,6 +136,4 @@
 block discarded – undo
136 136
             mkdir($dir, $mask, true);
137 137
         }
138 138
 
139
-        return file_put_contents($path, $this);
140
-    }
141
-}
139
+        return file_put_contents($path, $this
142 140
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,6 +136,4 @@
 block discarded – undo
136 136
             mkdir($dir, $mask, true);
137 137
         }
138 138
 
139
-        return file_put_contents($path, $this);
140
-    }
141
-}
139
+        return file_put_contents($path, $this
142 140
\ No newline at end of file
Please login to merge, or discard this patch.
src/Closure.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,8 +23,4 @@
 block discarded – undo
23 23
     {
24 24
         return <<<CODE
25 25
         $this->signature {
26
-        {$this->generateContent()}
27
-        }
28
-        CODE;
29
-    }
30
-}
26
+        {$this->generateContent()}
31 27
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,8 +23,4 @@
 block discarded – undo
23 23
     {
24 24
         return <<<CODE
25 25
         $this->signature {
26
-        {$this->generateContent()}
27
-        }
28
-        CODE;
29
-    }
30
-}
26
+        {$this->generateContent()}
31 27
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,8 +23,4 @@
 block discarded – undo
23 23
     {
24 24
         return <<<CODE
25 25
         $this->signature {
26
-        {$this->generateContent()}
27
-        }
28
-        CODE;
29
-    }
30
-}
26
+        {$this->generateContent()}
31 27
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,8 +23,4 @@
 block discarded – undo
23 23
     {
24 24
         return <<<CODE
25 25
         $this->signature {
26
-        {$this->generateContent()}
27
-        }
28
-        CODE;
29
-    }
30
-}
26
+        {$this->generateContent()}
31 27
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,8 +23,4 @@
 block discarded – undo
23 23
     {
24 24
         return <<<CODE
25 25
         $this->signature {
26
-        {$this->generateContent()}
27
-        }
28
-        CODE;
29
-    }
30
-}
26
+        {$this->generateContent()}
31 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/Method.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,8 +25,4 @@
 block discarded – undo
25 25
         return <<<CODE
26 26
         {$this->buildDocBlock()}{$this->signature->generate(false)}
27 27
         {
28
-        {$this->generateContent()}
29
-        }
30
-        CODE;
31
-    }
32
-}
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,8 +25,4 @@
 block discarded – undo
25 25
         return <<<CODE
26 26
         {$this->buildDocBlock()}{$this->signature->generate(false)}
27 27
         {
28
-        {$this->generateContent()}
29
-        }
30
-        CODE;
31
-    }
32
-}
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,8 +25,4 @@
 block discarded – undo
25 25
         return <<<CODE
26 26
         {$this->buildDocBlock()}{$this->signature->generate(false)}
27 27
         {
28
-        {$this->generateContent()}
29
-        }
30
-        CODE;
31
-    }
32
-}
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,8 +25,4 @@
 block discarded – undo
25 25
         return <<<CODE
26 26
         {$this->buildDocBlock()}{$this->signature->generate(false)}
27 27
         {
28
-        {$this->generateContent()}
29
-        }
30
-        CODE;
31
-    }
32
-}
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,8 +25,4 @@
 block discarded – undo
25 25
         return <<<CODE
26 26
         {$this->buildDocBlock()}{$this->signature->generate(false)}
27 27
         {
28
-        {$this->generateContent()}
29
-        }
30
-        CODE;
31
-    }
32
-}
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
src/Loop.php 5 patches
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,6 +58,4 @@
 block discarded – undo
58 58
 
59 59
     public static function doWhile(string $condition)
60 60
     {
61
-        return new self($condition, self::TYPE_DO_WHILE);
62
-    }
63
-}
61
+        return new self($condition
64 62
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,6 +58,4 @@
 block discarded – undo
58 58
 
59 59
     public static function doWhile(string $condition)
60 60
     {
61
-        return new self($condition, self::TYPE_DO_WHILE);
62
-    }
63
-}
61
+        return new self($condition
64 62
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,6 +58,4 @@
 block discarded – undo
58 58
 
59 59
     public static function doWhile(string $condition)
60 60
     {
61
-        return new self($condition, self::TYPE_DO_WHILE);
62
-    }
63
-}
61
+        return new self($condition
64 62
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,6 +58,4 @@
 block discarded – undo
58 58
 
59 59
     public static function doWhile(string $condition)
60 60
     {
61
-        return new self($condition, self::TYPE_DO_WHILE);
62
-    }
63
-}
61
+        return new self($condition
64 62
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,6 +58,4 @@
 block discarded – undo
58 58
 
59 59
     public static function doWhile(string $condition)
60 60
     {
61
-        return new self($condition, self::TYPE_DO_WHILE);
62
-    }
63
-}
61
+        return new self($condition
64 62
\ No newline at end of file
Please login to merge, or discard this patch.
src/IfElse.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,8 +122,4 @@
 block discarded – undo
122 122
 
123 123
             public function generate(): string
124 124
             {
125
-                return " else {\n{$this->generateContent()}\n}";
126
-            }
127
-        };
128
-    }
129
-}
125
+                return " else {\n{$this->generateContent()}
130 126
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,8 +122,4 @@
 block discarded – undo
122 122
 
123 123
             public function generate(): string
124 124
             {
125
-                return " else {\n{$this->generateContent()}\n}";
126
-            }
127
-        };
128
-    }
129
-}
125
+                return " else {\n{$this->generateContent()}
130 126
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,8 +122,4 @@
 block discarded – undo
122 122
 
123 123
             public function generate(): string
124 124
             {
125
-                return " else {\n{$this->generateContent()}\n}";
126
-            }
127
-        };
128
-    }
129
-}
125
+                return " else {\n{$this->generateContent()}
130 126
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,8 +122,4 @@
 block discarded – undo
122 122
 
123 123
             public function generate(): string
124 124
             {
125
-                return " else {\n{$this->generateContent()}\n}";
126
-            }
127
-        };
128
-    }
129
-}
125
+                return " else {\n{$this->generateContent()}
130 126
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,8 +122,4 @@
 block discarded – undo
122 122
 
123 123
             public function generate(): string
124 124
             {
125
-                return " else {\n{$this->generateContent()}\n}";
126
-            }
127
-        };
128
-    }
129
-}
125
+                return " else {\n{$this->generateContent()}
130 126
\ No newline at end of file
Please login to merge, or discard this patch.
src/Func.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,8 +24,4 @@
 block discarded – undo
24 24
         return <<<CODE
25 25
         {$this->buildDocBlock()}{$this->signature->generate(false)}
26 26
         {
27
-        {$this->generateContent()}
28
-        }
29
-        CODE;
30
-    }
31
-}
32 27
\ No newline at end of file
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,8 +24,4 @@
 block discarded – undo
24 24
         return <<<CODE
25 25
         {$this->buildDocBlock()}{$this->signature->generate(false)}
26 26
         {
27
-        {$this->generateContent()}
28
-        }
29
-        CODE;
30
-    }
31
-}
32 27
\ No newline at end of file
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,8 +24,4 @@
 block discarded – undo
24 24
         return <<<CODE
25 25
         {$this->buildDocBlock()}{$this->signature->generate(false)}
26 26
         {
27
-        {$this->generateContent()}
28
-        }
29
-        CODE;
30
-    }
31
-}
32 27
\ No newline at end of file
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,8 +24,4 @@
 block discarded – undo
24 24
         return <<<CODE
25 25
         {$this->buildDocBlock()}{$this->signature->generate(false)}
26 26
         {
27
-        {$this->generateContent()}
28
-        }
29
-        CODE;
30
-    }
31
-}
32 27
\ No newline at end of file
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,8 +24,4 @@
 block discarded – undo
24 24
         return <<<CODE
25 25
         {$this->buildDocBlock()}{$this->signature->generate(false)}
26 26
         {
27
-        {$this->generateContent()}
28
-        }
29
-        CODE;
30
-    }
31
-}
32 27
\ No newline at end of file
28
+        {$this->generateContent()}
33 29
\ No newline at end of file
Please login to merge, or discard this patch.
src/PhpTrait.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,4 @@
 block discarded – undo
48 48
         return <<<CODE
49 49
         {$this->buildDocBlock()}trait $this->name
50 50
         {
51
-        {$this->generateContent()}
52
-        }
53
-        CODE;
54
-    }
55
-}
56 51
\ No newline at end of file
52
+        {$this->generateContent()}
57 53
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,4 @@
 block discarded – undo
48 48
         return <<<CODE
49 49
         {$this->buildDocBlock()}trait $this->name
50 50
         {
51
-        {$this->generateContent()}
52
-        }
53
-        CODE;
54
-    }
55
-}
56 51
\ No newline at end of file
52
+        {$this->generateContent()}
57 53
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,4 @@
 block discarded – undo
48 48
         return <<<CODE
49 49
         {$this->buildDocBlock()}trait $this->name
50 50
         {
51
-        {$this->generateContent()}
52
-        }
53
-        CODE;
54
-    }
55
-}
56 51
\ No newline at end of file
52
+        {$this->generateContent()}
57 53
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,4 @@
 block discarded – undo
48 48
         return <<<CODE
49 49
         {$this->buildDocBlock()}trait $this->name
50 50
         {
51
-        {$this->generateContent()}
52
-        }
53
-        CODE;
54
-    }
55
-}
56 51
\ No newline at end of file
52
+        {$this->generateContent()}
57 53
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,4 @@
 block discarded – undo
48 48
         return <<<CODE
49 49
         {$this->buildDocBlock()}trait $this->name
50 50
         {
51
-        {$this->generateContent()}
52
-        }
53
-        CODE;
54
-    }
55
-}
56 51
\ No newline at end of file
52
+        {$this->generateContent()}
57 53
\ No newline at end of file
Please login to merge, or discard this patch.
src/Block.php 5 patches
Indentation   +1 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,13 +12,4 @@
 block discarded – undo
12 12
     {
13 13
         return <<<CODE
14 14
         {
15
-        {$this->generateContent()}
16
-        }
17
-        CODE;
18
-    }
19
-
20
-    public static function new()
21
-    {
22
-        return new static();
23
-    }
24
-}
15
+        {$this->generateContent()}
25 16
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,13 +12,4 @@
 block discarded – undo
12 12
     {
13 13
         return <<<CODE
14 14
         {
15
-        {$this->generateContent()}
16
-        }
17
-        CODE;
18
-    }
19
-
20
-    public static function new()
21
-    {
22
-        return new static();
23
-    }
24
-}
15
+        {$this->generateContent()}
25 16
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,13 +12,4 @@
 block discarded – undo
12 12
     {
13 13
         return <<<CODE
14 14
         {
15
-        {$this->generateContent()}
16
-        }
17
-        CODE;
18
-    }
19
-
20
-    public static function new()
21
-    {
22
-        return new static();
23
-    }
24
-}
15
+        {$this->generateContent()}
25 16
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,13 +12,4 @@
 block discarded – undo
12 12
     {
13 13
         return <<<CODE
14 14
         {
15
-        {$this->generateContent()}
16
-        }
17
-        CODE;
18
-    }
19
-
20
-    public static function new()
21
-    {
22
-        return new static();
23
-    }
24
-}
15
+        {$this->generateContent()}
25 16
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,13 +12,4 @@
 block discarded – undo
12 12
     {
13 13
         return <<<CODE
14 14
         {
15
-        {$this->generateContent()}
16
-        }
17
-        CODE;
18
-    }
19
-
20
-    public static function new()
21
-    {
22
-        return new static();
23
-    }
24
-}
15
+        {$this->generateContent()}
25 16
\ No newline at end of file
Please login to merge, or discard this patch.
src/PhpClass.php 5 patches
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,6 +159,4 @@
 block discarded – undo
159 159
     {
160 160
         $this->isAbstract = false;
161 161
 
162
-        return $this;
163
-    }
164
-}
162
+        return $this
165 163
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,6 +159,4 @@
 block discarded – undo
159 159
     {
160 160
         $this->isAbstract = false;
161 161
 
162
-        return $this;
163
-    }
164
-}
162
+        return $this
165 163
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,6 +159,4 @@
 block discarded – undo
159 159
     {
160 160
         $this->isAbstract = false;
161 161
 
162
-        return $this;
163
-    }
164
-}
162
+        return $this
165 163
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,6 +159,4 @@
 block discarded – undo
159 159
     {
160 160
         $this->isAbstract = false;
161 161
 
162
-        return $this;
163
-    }
164
-}
162
+        return $this
165 163
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,6 +159,4 @@
 block discarded – undo
159 159
     {
160 160
         $this->isAbstract = false;
161 161
 
162
-        return $this;
163
-    }
164
-}
162
+        return $this
165 163
\ No newline at end of file
Please login to merge, or discard this patch.