Completed
Push — master ( ff8f47...dbda64 )
by De Cramer
02:41 queued 39s
created
src/eXpansion/Core/Services/Application.php 2 patches
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param PluginManager $pluginManager
38 38
      * @param DataProviderManager $dataProviderManager
39 39
      * @param Connection $connection
40
-     * @param ConsoleOutputInterface $output
40
+     * @param Console $output
41 41
      */
42 42
     public function __construct(
43 43
         PluginManager $pluginManager,
@@ -55,7 +55,6 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Initialize eXpansion.
57 57
      *
58
-     * @param OutputInterface $output
59 58
      * @return $this
60 59
      */
61 60
     public function init(ConsoleOutputInterface $console)
@@ -82,7 +81,6 @@  discard block
 block discarded – undo
82 81
     /**
83 82
      * Run eXpansion
84 83
      *
85
-     * @param OutputInterface $output
86 84
      */
87 85
     public function run()
88 86
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             if (!empty($calls)) {
106 106
                 foreach ($calls as $call) {
107 107
                     $method = preg_replace('/^[[:alpha:]]+\./', '', $call[0]); // remove trailing "Whatever."
108
-                    $params = (array)$call[1];
108
+                    $params = (array) $call[1];
109 109
 
110 110
                     $this->dataProviderManager->dispatch($method, $params);
111 111
                 }
Please login to merge, or discard this patch.
src/eXpansion/Core/Plugins/TotoPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
     public function onPlayerChat(Player $player, $text)
32 32
     {
33 33
         $text = trim($text);
34
-        $this->console->writeln('$ff0[' . trim($player->getNickName()) . '$ff0] ' . $text);
34
+        $this->console->writeln('$ff0['.trim($player->getNickName()).'$ff0] '.$text);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/eXpansion/Core/Services/Console.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,9 +121,9 @@  discard block
 block discarded – undo
121 121
             foreach ($matches[0] as $i => $rgb) {
122 122
                 $code = $this->fixColors(hexdec($rgb[1]), hexdec($rgb[2]), hexdec($rgb[3]));
123 123
                 if (array_key_exists($code, $array)) {
124
-                    $out .= $array[$code] . $this->stripStyles($split[$i + 1]);
124
+                    $out .= $array[$code].$this->stripStyles($split[$i + 1]);
125 125
                 } else {
126
-                    $out .= self::white . $this->stripStyles($split[$i + 1]);
126
+                    $out .= self::white.$this->stripStyles($split[$i + 1]);
127 127
                 }
128 128
                 $end = $this->stripStyles($split[$i + 1]);
129 129
             }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
                 $end = "";
138 138
             }
139 139
 
140
-            $out = self::white . $this->stripStyles(reset($split)) . $out . $end;
140
+            $out = self::white.$this->stripStyles(reset($split)).$out.$end;
141 141
         } else {
142 142
             $out = $this->stripStyles($string);
143 143
         }
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
                 $out = "222";
195 195
             }
196 196
         } else {
197
-            $out = $this->convert($r) . $this->convert($g) . $this->convert($b);
197
+            $out = $this->convert($r).$this->convert($g).$this->convert($b);
198 198
         }
199 199
         return $out;
200 200
     }
Please login to merge, or discard this patch.