Completed
Pull Request — master (#95)
by
unknown
03:03
created
src/eXpansion/Bundle/Acme/Plugins/Gui/WindowFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use eXpansion\Framework\Gui\Components\uiDropdown;
10 10
 use eXpansion\Framework\Gui\Components\uiInput;
11 11
 use eXpansion\Framework\Gui\Components\uiLabel;
12
-use eXpansion\Framework\Gui\Components\uiLine;
13 12
 use eXpansion\Framework\Gui\Components\uiTextbox;
14 13
 use eXpansion\Framework\Gui\Components\uiTooltip;
15 14
 use eXpansion\Framework\Gui\Layouts\layoutLine;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,11 +84,11 @@
 block discarded – undo
84 84
         $manialink->addChild($quad);
85 85
 
86 86
         $input = new uiInput("input1", "test text", 30);
87
-        $input->setPosition(90,-30);
87
+        $input->setPosition(90, -30);
88 88
         $manialink->addChild($input);
89 89
 
90 90
         $input = new uiTextbox("input2", "test\ntest2\ntest3\nest4\ntest5", 5, 30);
91
-        $input->setPosition(130,-30);
91
+        $input->setPosition(130, -30);
92 92
 
93 93
         $manialink->addChild($input);
94 94
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiLine.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,6 @@
 block discarded – undo
38 38
      * uiLine constructor.
39 39
      * @param float $x
40 40
      * @param float $y
41
-     * @param float $tx
42
-     * @param float $ty
43 41
      */
44 42
     public function __construct($x, $y)
45 43
     {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Acme/Plugins/TotoPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             //    $this->mlFactory->create($login);
50 50
             }
51 51
         } else {
52
-               $this->mlFactory->destroy($this->playersGroup);
52
+                $this->mlFactory->destroy($this->playersGroup);
53 53
         }
54 54
     }
55 55
 
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
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         $this->name = $name;
33 33
         $this->default = $default;
34 34
         $this->lines = $lines;
35
-        $this->setSize($width, ($lines * 5)+2);
35
+        $this->setSize($width, ($lines * 5) + 2);
36 36
     }
37 37
 
38 38
     /**
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             ->setBackgroundColor('FFFA');
58 58
 
59 59
         $input = new TextEdit();
60
-        $input->setSize($this->width, $this->height-2)
60
+        $input->setSize($this->width, $this->height - 2)
61 61
             ->setPosition(1, -1)
62 62
             ->setDefault($this->default)
63 63
             ->setScriptEvents(true)
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiInput.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,14 +45,14 @@
 block discarded – undo
45 45
         $quad = new Quad();
46 46
         $quad->setSize($this->width * 2, $this->height * 2)
47 47
             ->setScale(0.5)
48
-            ->setPosition($this->width / 2, -$this->height/2)
48
+            ->setPosition($this->width / 2, -$this->height / 2)
49 49
             ->setStyles('Bgs1', 'BgColorContour')
50 50
             ->setAlign("center", "center")
51 51
             ->setBackgroundColor('FFFA');
52 52
 
53 53
         $input = new Entry();
54 54
         $input->setSize($this->width, $this->height)
55
-            ->setPosition(0, -$this->height/2)
55
+            ->setPosition(0, -$this->height / 2)
56 56
             ->setDefault($this->default)
57 57
             ->setSelectText(true)
58 58
             ->setAlign("left", "center2")
Please login to merge, or discard this patch.