Passed
Push — master ( c68f91...c4765b )
by mazen
01:17
created
src/Entities/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $this->config = $c;
40 40
         $base = $this->config->get('storage.base');
41 41
         $src = $this->config->get($src);
42
-        $this->content = file_get_contents($base.$src);
42
+        $this->content = file_get_contents($base . $src);
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
src/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
         $pattern = '(' . $this->_pattern . ').*\n';
223 223
         $count = 0;
224 224
 
225
-        $file->replaceContent(function ($content) use ($pattern, $replacement, &$count) {
225
+        $file->replaceContent(function($content) use ($pattern, $replacement, &$count) {
226 226
             $newContent = preg_replace('/' . $pattern . '/mu', $replacement . "\n", $content, -1, $count);
227 227
             return iconv(mb_detect_encoding($newContent), 'UTF-16', $newContent);
228 228
         });
Please login to merge, or discard this patch.
src/Prettifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     public function run($type = 'ArrayPrettifier')
74 74
     {
75
-        $type = 'MazenTouati\NoEmoji\Prettifiers\\'.$type;
75
+        $type = 'MazenTouati\NoEmoji\Prettifiers\\' . $type;
76 76
         $this->_content = $type::run($this->_file);
77 77
         return $this;
78 78
     }
Please login to merge, or discard this patch.
src/Prettifiers/ArrayPrettifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $pretty = '[' . PHP_EOL;
26 26
 
27 27
         foreach ($ranges as $range) {
28
-            $pretty .= "\t'". $range . "'," . PHP_EOL;
28
+            $pretty .= "\t'" . $range . "'," . PHP_EOL;
29 29
         }
30 30
 
31 31
         $pretty .= ']' . PHP_EOL;
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
 // Testing
31 31
 // ---
32
-$viewData['test']  = $handler->testPattern();
32
+$viewData['test'] = $handler->testPattern();
33 33
 
34 34
 // Prettifier
35 35
 // ---
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
   <ul>
103 103
     <?php
104 104
       foreach ($viewData as $kind => $result) {
105
-          echo '<li>'. craftResultString($kind, $result) .'</li>';
105
+          echo '<li>' . craftResultString($kind, $result) . '</li>';
106 106
       }
107 107
     ?>
108 108
   </ul>
Please login to merge, or discard this patch.