Completed
Push — master ( ce5311...f14f8d )
by James
03:06 queued 57s
created
src/EmojiData.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                     $this->insert($i);
39 39
                 }
40 40
             } else {
41
-                trigger_error('Invalid code data - ' . $line, E_USER_ERROR);
41
+                trigger_error('Invalid code data - '.$line, E_USER_ERROR);
42 42
             }
43 43
         }
44 44
     }
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     public function getContent()
66 66
     {
67 67
         $this->reload();
68
-        $content = '<?php' . PHP_EOL . PHP_EOL;
69
-        $content .= 'return [' . PHP_EOL;
68
+        $content = '<?php'.PHP_EOL.PHP_EOL;
69
+        $content .= 'return ['.PHP_EOL;
70 70
         $seq = 0;
71 71
         foreach ($this->_data as $number) {
72 72
             if ($number - $seq > 1) {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $seq = $number;
79 79
         }
80 80
         $content .= $this->getLine($seq);
81
-        $content .= '];' . PHP_EOL;
81
+        $content .= '];'.PHP_EOL;
82 82
         return $content;
83 83
     }
84 84
 
@@ -93,9 +93,9 @@  discard block
 block discarded – undo
93 93
     {
94 94
         $text = self::printCode($this->from);
95 95
         if ($seq != $this->from) {
96
-            $text .= '-' . self::printCode($seq);
96
+            $text .= '-'.self::printCode($seq);
97 97
         }
98
-        return '    \'' . $text . '\',' . PHP_EOL;
98
+        return '    \''.$text.'\','.PHP_EOL;
99 99
     }
100 100
 
101 101
     /**
@@ -107,6 +107,6 @@  discard block
 block discarded – undo
107 107
      */
108 108
     private static function printCode(int $nubmer): string
109 109
     {
110
-        return '\\x{' . sprintf('%04s', dechex($nubmer)) . '}';
110
+        return '\\x{'.sprintf('%04s', dechex($nubmer)).'}';
111 111
     }
112 112
 }
Please login to merge, or discard this patch.