Passed
Push — master ( 0323c2...944c95 )
by Observer
01:37
created
engine/components/Image.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@
 block discarded – undo
31 31
     }
32 32
 
33 33
     public function applyToObject (int $selector): void
34
-	{
35
-		VoidEngine::setProperty ($selector, 'Icon', $this->selector);
36
-	}
34
+    {
35
+        VoidEngine::setProperty ($selector, 'Icon', $this->selector);
36
+    }
37 37
 	
38
-	public function saveToFile (string $file): void
39
-	{
40
-		VoidEngine::callMethod ($this->selector, 'Save', $file);
41
-	}
38
+    public function saveToFile (string $file): void
39
+    {
40
+        VoidEngine::callMethod ($this->selector, 'Save', $file);
41
+    }
42 42
 }
43 43
 
44 44
 class Bitmap extends WFObject
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@  discard block
 block discarded – undo
7 7
     public $class     = 'System.Drawing.Image';
8 8
     public $namespace = 'System.Drawing';
9 9
 
10
-    public function __construct ()
10
+    public function __construct()
11 11
     {
12
-        parent::__construct ($this->class);
12
+        parent::__construct($this->class);
13 13
     }
14 14
 
15
-    public function loadFromFile (string $path)
15
+    public function loadFromFile(string $path)
16 16
     {
17
-        return $this->fromFile ($path);
17
+        return $this->fromFile($path);
18 18
     }
19 19
 }
20 20
 
@@ -23,21 +23,21 @@  discard block
 block discarded – undo
23 23
     public $class     = 'System.Drawing.Icon';
24 24
     public $namespace = 'System.Drawing';
25 25
 
26
-    public function __construct (string $file)
26
+    public function __construct(string $file)
27 27
     {
28
-        parent::__construct ($this->class);
28
+        parent::__construct($this->class);
29 29
 
30
-        $this->fromFile ($file);
30
+        $this->fromFile($file);
31 31
     }
32 32
 
33
-    public function applyToObject (int $selector): void
33
+    public function applyToObject(int $selector): void
34 34
 	{
35
-		VoidEngine::setProperty ($selector, 'Icon', $this->selector);
35
+		VoidEngine::setProperty($selector, 'Icon', $this->selector);
36 36
 	}
37 37
 	
38
-	public function saveToFile (string $file): void
38
+	public function saveToFile(string $file): void
39 39
 	{
40
-		VoidEngine::callMethod ($this->selector, 'Save', $file);
40
+		VoidEngine::callMethod($this->selector, 'Save', $file);
41 41
 	}
42 42
 }
43 43
 
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
     public $class     = 'System.Drawing.Bitmap';
47 47
     public $namespace = 'System.Drawing';
48 48
 
49
-    public function __construct (string $filename)
49
+    public function __construct(string $filename)
50 50
     {
51
-        parent::__construct ($this->class, $this->namespace, [$filename, 'string']);
51
+        parent::__construct($this->class, $this->namespace, [$filename, 'string']);
52 52
     }
53 53
 }
Please login to merge, or discard this patch.
engine/components/MenuStrip.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
 
19 19
     protected $items;
20 20
 
21
-    public function __construct (string $text = '')
21
+    public function __construct(string $text = '')
22 22
     {
23
-        parent::__construct (null, $this->class);
23
+        parent::__construct(null, $this->class);
24 24
 
25 25
         $this->text  = $text;
26
-        $this->items = new WFObject ($this->getProperty ('DropDownItems'));
26
+        $this->items = new WFObject($this->getProperty('DropDownItems'));
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
engine/components/SplitContainer.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
     protected $panel2;
11 11
 
12 12
     public function __construct (Component $parent = null)
13
-	{
13
+    {
14 14
         parent::__construct ($parent, $this->class);
15 15
 
16 16
         $this->panel1 = new SplitterPanel ($this->getProperty ('Panel1'));
17 17
         $this->panel2 = new SplitterPanel ($this->getProperty ('Panel2'));
18
-	}
18
+    }
19 19
 }
20 20
 
21 21
 class SplitterPanel extends Control
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,18 +9,18 @@
 block discarded – undo
9 9
     protected $panel1;
10 10
     protected $panel2;
11 11
 
12
-    public function __construct (Component $parent = null)
12
+    public function __construct(Component $parent = null)
13 13
 	{
14
-        parent::__construct ($parent, $this->class);
14
+        parent::__construct($parent, $this->class);
15 15
 
16
-        $this->panel1 = new SplitterPanel ($this->getProperty ('Panel1'));
17
-        $this->panel2 = new SplitterPanel ($this->getProperty ('Panel2'));
16
+        $this->panel1 = new SplitterPanel($this->getProperty('Panel1'));
17
+        $this->panel2 = new SplitterPanel($this->getProperty('Panel2'));
18 18
 	}
19 19
 }
20 20
 
21 21
 class SplitterPanel extends Control
22 22
 {
23
-    public function __construct (int $selector)
23
+    public function __construct(int $selector)
24 24
     {
25 25
         $this->selector = $selector;
26 26
     }
Please login to merge, or discard this patch.
engine/components/FastColoredTextBox.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
 
7 7
 class FastColoredTextBox extends NoVisual
8 8
 {
9
-	public $class     = 'FastColoredTextBoxNS.FastColoredTextBox';
9
+    public $class     = 'FastColoredTextBoxNS.FastColoredTextBox';
10 10
     public $namespace = 'FastColoredTextBox';
11 11
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace VoidEngine;
4 4
 
5
-EngineAdditions::loadModule ('FastColoredTextBox.dll');
5
+EngineAdditions::loadModule('FastColoredTextBox.dll');
6 6
 
7 7
 class FastColoredTextBox extends NoVisual
8 8
 {
9
-	public $class     = 'FastColoredTextBoxNS.FastColoredTextBox';
9
+	public $class = 'FastColoredTextBoxNS.FastColoredTextBox';
10 10
     public $namespace = 'FastColoredTextBox';
11 11
 }
Please login to merge, or discard this patch.
engine/components/MainMenu.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@  discard block
 block discarded – undo
8 8
 
9 9
     protected $items;
10 10
 
11
-    public function __construct ()
11
+    public function __construct()
12 12
     {
13
-        parent::__construct ($this->class);
13
+        parent::__construct($this->class);
14 14
 
15
-        $this->items = new WFObject ($this->getProperty ('MenuItems'));
15
+        $this->items = new WFObject($this->getProperty('MenuItems'));
16 16
     }
17 17
 }
18 18
 
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
22 22
 
23 23
     protected $items;
24 24
 
25
-    public function __construct ()
25
+    public function __construct()
26 26
     {
27
-        parent::__construct ($this->class);
27
+        parent::__construct($this->class);
28 28
 
29
-        $this->items = new WFObject ($this->getProperty ('MenuItems'));
29
+        $this->items = new WFObject($this->getProperty('MenuItems'));
30 30
     }
31 31
 }
32 32
 
@@ -36,11 +36,11 @@  discard block
 block discarded – undo
36 36
 
37 37
     protected $items;
38 38
 
39
-    public function __construct (string $text = '')
39
+    public function __construct(string $text = '')
40 40
     {
41
-        parent::__construct (null, $this->class);
41
+        parent::__construct(null, $this->class);
42 42
 
43 43
         $this->text  = $text;
44
-        $this->items = new WFObject ($this->getProperty ('MenuItems'));
44
+        $this->items = new WFObject($this->getProperty('MenuItems'));
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
engine/components/TabControl.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     protected $items;
10 10
 
11 11
     public function __construct (Component $parent = null)
12
-	{
12
+    {
13 13
         parent::__construct ($parent, $this->class);
14 14
 
15 15
         $this->items = new WFObject ($this->getProperty ('TabPages'));
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@  discard block
 block discarded – undo
8 8
 
9 9
     protected $items;
10 10
 
11
-    public function __construct (Component $parent = null)
11
+    public function __construct(Component $parent = null)
12 12
 	{
13
-        parent::__construct ($parent, $this->class);
13
+        parent::__construct($parent, $this->class);
14 14
 
15
-        $this->items = new WFObject ($this->getProperty ('TabPages'));
15
+        $this->items = new WFObject($this->getProperty('TabPages'));
16 16
     }
17 17
 }
18 18
 
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     public $class = 'System.Windows.Forms.TabPage';
22 22
 
23
-    public function __construct (string $text = '')
23
+    public function __construct(string $text = '')
24 24
     {
25
-        parent::__construct (null, $this->class);
25
+        parent::__construct(null, $this->class);
26 26
 
27 27
         $this->text = $text;
28 28
     }
Please login to merge, or discard this patch.
engine/components/FolderBrowserDialog.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 {
7 7
     public $class = 'System.Windows.Forms.FolderBrowserDialog';
8 8
 	
9
-    public function get_path ()
9
+    public function get_path()
10 10
     {
11
-        return $this->getProperty ('SelectedPath');
11
+        return $this->getProperty('SelectedPath');
12 12
     }
13 13
 }
Please login to merge, or discard this patch.
engine/components/MessageBox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 {
7 7
     public $class = 'System.Windows.Forms.MessageBox';
8 8
 
9
-    public function __construct ()
9
+    public function __construct()
10 10
     {
11
-        parent::__construct ($this->class);
11
+        parent::__construct($this->class);
12 12
     }
13 13
 }
Please login to merge, or discard this patch.
engine/components/CheckBox.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,5 +4,5 @@
 block discarded – undo
4 4
 
5 5
 class CheckBox extends Control
6 6
 {
7
-	public $class = 'System.Windows.Forms.CheckBox';
7
+    public $class = 'System.Windows.Forms.CheckBox';
8 8
 }
Please login to merge, or discard this patch.