Completed
Push — dev ( ade326...e1b211 )
by
unknown
03:23
created
src/eXpansion/Bundle/JoinLeaveMessages/Plugins/JoinLeaveMessages.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@
 block discarded – undo
67 67
             "expansion_join_leave_messages.disconnect",
68 68
             null,
69 69
             ["%nickname%" => $player->getNickName(),
70
-             "%login%" => $player->getLogin()
71
-             ]);
70
+                "%login%" => $player->getLogin()
71
+                ]);
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Helpers/Translations.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
         $this->supportedLocales = $supportedLocales;
40 40
 
41 41
         foreach ($colorCodes as $code => $colorCode) {
42
-            $this->replacementPatterns["{" . $code . "}"] = '$z' . $colorCode;
42
+            $this->replacementPatterns["{".$code."}"] = '$z'.$colorCode;
43 43
         }
44 44
 
45 45
         foreach ($glyphIcons as $name => $icon) {
46
-            $this->replacementPatterns["|" . $name . "|"] = $icon;
46
+            $this->replacementPatterns["|".$name."|"] = $icon;
47 47
         }
48 48
     }
49 49
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     public function getTranslations($id, $parameters = [])
79 79
     {
80 80
         $messages = [];
81
-       // $parameters = array_merge($this->replacementPatterns, $parameters);
81
+        // $parameters = array_merge($this->replacementPatterns, $parameters);
82 82
 
83 83
         foreach ($this->supportedLocales as $locale) {
84 84
             $message = $this->getTranslation($id, $parameters, $locale);
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Window.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,7 @@
 block discarded – undo
10 10
 use FML\Controls\Quad;
11 11
 use FML\Controls\Quads\Quad_Bgs1;
12 12
 use FML\Controls\Quads\Quad_Bgs1InRace;
13
-use FML\Elements\Dico;
14
-use FML\Elements\Format;
15 13
 use FML\Types\Container;
16
-use FML\Types\Renderable;
17 14
 
18 15
 class Window extends Widget implements Container
19 16
 {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Grid/DataCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Get the number of the last page.
76 76
      *
77
-     * @return int
77
+     * @return double
78 78
      */
79 79
     public function getLastPageNumber()
80 80
     {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Services/SymfonyEventAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,6 @@
 block discarded – undo
43 43
     {
44 44
         $event = new DedicatedEvent();
45 45
         $event->setParameters($params);
46
-        $this->symfonyEventDispatcher->dispatch("maniaplanet.game." . $eventName, $event);
46
+        $this->symfonyEventDispatcher->dispatch("maniaplanet.game.".$eventName, $event);
47 47
     }
48 48
 }
49 49
\ No newline at end of file
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Acme/Plugins/Test.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use eXpansion\Framework\Core\DataProviders\Listener\TimerDataListenerInterface;
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Services\Console;
9
-use eXpansion\Framework\Core\Storage\Data\Player;
10 9
 use Maniaplanet\DedicatedServer\Connection;
11 10
 use Maniaplanet\DedicatedServer\Structures\Map;
12 11
 
Please login to merge, or discard this patch.
GameManiaplanet/DependencyInjection/eXpansionGameManiaplanetExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function load(array $configs, ContainerBuilder $container)
21 21
     {
22
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
22
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
23 23
         $loader->load('data_providers.yml');
24 24
     }
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
GameTrackmania/DependencyInjection/eXpansionGameTrackmaniaExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function load(array $configs, ContainerBuilder $container)
21 21
     {
22
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
22
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
23 23
         $loader->load('data_providers.yml');
24 24
     }
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/eXpansion/Bundle/LocalRecords/Plugins/BaseRecords.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
      */
206 206
     protected function dispatchEvent($eventData)
207 207
     {
208
-        $event = $this->eventPrefix . '.' . $eventData['event'];
208
+        $event = $this->eventPrefix.'.'.$eventData['event'];
209 209
         unset($eventData['event']);
210 210
 
211 211
         $this->dispatcher->dispatch($event, [$eventData]);
Please login to merge, or discard this patch.