Passed
Push — main ( fcaf87...b0d456 )
by Leo
02:24
created
src/Space/Space.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * 
27 27
      * @param int $chars The number of space characters to display
28 28
      * @param string $kind Determines the kind of space to return. Values: space | escaped   
29
-    */
29
+     */
30 30
     
31 31
     public function __construct(int $chars = 1, string $kind = 'space')
32 32
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
     private function generateSpace()
40 40
     {
41 41
         if ('space' == $this->kind) {
42
-            foreach($this->whitesSpace($this->chars) as $space) {   
42
+            foreach ($this->whitesSpace($this->chars) as $space) {   
43 43
                 $this->spaces .= $space;
44 44
             }
45 45
         } elseif ('escaped' == $this->kind) {
46
-            foreach($this->whitesSpaceEscape($this->chars) as $space) {   
46
+            foreach ($this->whitesSpaceEscape($this->chars) as $space) {   
47 47
                 $this->spaces .= $space;
48 48
             }            
49 49
         }
Please login to merge, or discard this patch.
src/Newline/Newline.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * 
27 27
      * @param int $lines The number of newlines to create
28 28
      * @param string $kind Determines the kind of newline to return. Values: linebreak | return | both
29
-    */
29
+     */
30 30
     
31 31
     public function __construct(int $lines = 1, string $kind = 'linebreak')
32 32
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,15 +39,15 @@
 block discarded – undo
39 39
     private function generateBreak()
40 40
     {
41 41
         if ('linebreak' == $this->kind) {
42
-            foreach($this->lineBreak($this->lines) as $linebreak) {   
42
+            foreach ($this->lineBreak($this->lines) as $linebreak) {   
43 43
                 $this->br .= $linebreak;
44 44
             }
45 45
         } elseif ('return' == $this->kind) {
46
-            foreach($this->lineReturn($this->lines) as $linebreak) {   
46
+            foreach ($this->lineReturn($this->lines) as $linebreak) {   
47 47
                 $this->br .= $linebreak;
48 48
             }            
49 49
         } elseif ('both' == $this->kind) {
50
-            foreach($this->lineBoth($this->lines) as $linebreak) {   
50
+            foreach ($this->lineBoth($this->lines) as $linebreak) {   
51 51
                 $this->br .= $linebreak;
52 52
             }                        
53 53
         }
Please login to merge, or discard this patch.