Completed
Branch master (220ce5)
by De Cramer
16:11
created
src/eXpansion/Bundle/AdminChat/DependencyInjection/AdminChatExtension.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('chat_commands.yml');
24 24
         $loader->load('plugins.yml');
25 25
     }
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Plugins/Gui/WindowHelpFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             },
139 139
             array_filter(
140 140
                 $this->chatCommands->getChatCommands(),
141
-                function ($command) use ($login) {
141
+                function($command) use ($login) {
142 142
                     if ($command instanceof AbstractAdminChatCommand) {
143 143
                         return $command->hasPermission($login);
144 144
                     }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/LocalRecords/Plugins/ChatNotification.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
                 }
223 223
             }
224 224
 
225
-            return '-' . $securedBy;
225
+            return '-'.$securedBy;
226 226
         }
227 227
 
228 228
         return $securedBy = $this->timeFormater->timeToText(0);
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Plugins/Gui/WindowHelpDetailsFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
         /** @var AbstractChatCommand $command */
70 70
         $command = $manialink->getData('command');
71 71
 
72
-        $column1Width = $manialink->getContentFrame()->getWidth() * (2/3);
73
-        $column2Width = $manialink->getContentFrame()->getWidth() * (1/3) - 1;
72
+        $column1Width = $manialink->getContentFrame()->getWidth() * (2 / 3);
73
+        $column2Width = $manialink->getContentFrame()->getWidth() * (1 / 3) - 1;
74 74
 
75 75
         /*
76 76
          * COLUMN 1 Description of the chat command
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             $column1Width - 21,
125 125
             [
126 126
                 [
127
-                    'text' => "Use '/" . $this->currentCommand->getCommand() . " -h' to get help on the usage of the command.",
127
+                    'text' => "Use '/".$this->currentCommand->getCommand()." -h' to get help on the usage of the command.",
128 128
                     'width' => 1,
129 129
                     'translatable' => false
130 130
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiLine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
     public function calcAngle()
101 101
     {
102
-        $angle = (float)(atan2($this->x - $this->tx, $this->y - $this->ty));
102
+        $angle = (float) (atan2($this->x - $this->tx, $this->y - $this->ty));
103 103
         $angle += pi() / 2.0;
104 104
 
105 105
         return rad2deg($angle);
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiTextbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $this->name = $name;
41 41
         $this->default = $default;
42 42
         $this->lines = $lines;
43
-        $this->setSize($width, ($lines * 5)+2);
43
+        $this->setSize($width, ($lines * 5) + 2);
44 44
     }
45 45
 
46 46
     /**
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
 
68 68
         $input = new TextEdit();
69
-        $input->setSize($this->width, $this->height-2)
69
+        $input->setSize($this->width, $this->height - 2)
70 70
             ->setPosition(1, -1)
71 71
             ->setDefault($this->default)
72 72
             ->setAlign("left", "top")
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Menu/Plugins/Gui/MenuFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         WidgetFactoryContext $context,
37 37
         ManiaScriptFactory $menuScriptFactory,
38 38
         AdminGroups $adminGroupsHelper
39
-    ){
39
+    ) {
40 40
         parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context);
41 41
 
42 42
         $this->menuScriptFactory = $menuScriptFactory;
Please login to merge, or discard this patch.
GameManiaplanet/DataProviders/Listener/ListenerInterfaceMpScriptPodium.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @return mixed
29 29
      */
30
-    public function onPodiumEnd($time );
30
+    public function onPodiumEnd($time);
31 31
 
32 32
 
33 33
 }
Please login to merge, or discard this patch.