Passed
Push — dev ( 6614ec...2c0569 )
by Observer
01:56
created
engine/components/graphic/MenuStrip.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,19 +5,19 @@
 block discarded – undo
5 5
 class MenuStrip extends Component
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.MenuStrip';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class ContextMenuStrip extends Component
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.ContextMenuStrip';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+    protected ?string $assembly  = 'System.Windows.Forms';
15 15
 }
16 16
 
17 17
 class ToolStripMenuItem extends Control
18 18
 {
19 19
     protected ?string $classname = 'System.Windows.Forms.ToolStripMenuItem';
20
-	protected ?string $assembly  = 'System.Windows.Forms';
20
+    protected ?string $assembly  = 'System.Windows.Forms';
21 21
 
22 22
     public function __construct (string $text = '')
23 23
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,23 +5,23 @@
 block discarded – undo
5 5
 class MenuStrip extends Component
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.MenuStrip';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class ContextMenuStrip extends Component
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.ContextMenuStrip';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+	protected ?string $assembly = 'System.Windows.Forms';
15 15
 }
16 16
 
17 17
 class ToolStripMenuItem extends Control
18 18
 {
19 19
     protected ?string $classname = 'System.Windows.Forms.ToolStripMenuItem';
20
-	protected ?string $assembly  = 'System.Windows.Forms';
20
+	protected ?string $assembly = 'System.Windows.Forms';
21 21
 
22
-    public function __construct (string $text = '')
22
+    public function __construct(string $text = '')
23 23
     {
24
-        parent::__construct ();
24
+        parent::__construct();
25 25
 
26 26
         $this->text = $text;
27 27
     }
Please login to merge, or discard this patch.
engine/components/graphic/Button.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class Button extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.Button';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class Button extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.Button';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
engine/components/graphic/TabControl.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 class TabControl extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.TabControl';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class TabPage extends Control
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.TabPage';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+    protected ?string $assembly  = 'System.Windows.Forms';
15 15
 
16 16
     public function __construct (string $text = '')
17 17
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,17 +5,17 @@
 block discarded – undo
5 5
 class TabControl extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.TabControl';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class TabPage extends Control
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.TabPage';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+	protected ?string $assembly = 'System.Windows.Forms';
15 15
 
16
-    public function __construct (string $text = '')
16
+    public function __construct(string $text = '')
17 17
     {
18
-        parent::__construct ();
18
+        parent::__construct();
19 19
 
20 20
         $this->text = $text;
21 21
     }
Please login to merge, or discard this patch.
engine/components/graphic/MonthCalendar.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class MonthCalendar extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.MonthCalendar';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class MonthCalendar extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.MonthCalendar';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
engine/components/graphic/WebBrowser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
     protected ?string $classname = 'System.Windows.Forms.WebBrowser';
8 8
     protected ?string $assembly  = 'System.Windows.Forms';
9 9
 
10
-    public function browse (string $url): void
10
+    public function browse(string $url): void
11 11
     {
12
-        $this->callMethod ('Navigate', $url);
12
+        $this->callMethod('Navigate', $url);
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
engine/components/graphic/DateTimePicker.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class DateTimePicker extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.DateTimePicker';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class DateTimePicker extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.DateTimePicker';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
engine/components/graphic/Form.php 3 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -6,31 +6,31 @@
 block discarded – undo
6 6
 
7 7
 class Form extends Control
8 8
 {
9
-	protected ?string $classname = 'System.Windows.Forms.Form';
10
-	protected ?string $assembly  = 'System.Windows.Forms';
9
+    protected ?string $classname = 'System.Windows.Forms.Form';
10
+    protected ?string $assembly  = 'System.Windows.Forms';
11 11
 
12 12
     public function get_clientSize ()
13
-	{
14
-		$size = $this->getProperty ('ClientSize');
13
+    {
14
+        $size = $this->getProperty ('ClientSize');
15 15
 		
16
-		return [
17
-			VoidCore::getProperty ($size, 'Width'),
18
-			VoidCore::getProperty ($size, 'Height')
19
-		];
20
-	}
16
+        return [
17
+            VoidCore::getProperty ($size, 'Width'),
18
+            VoidCore::getProperty ($size, 'Height')
19
+        ];
20
+    }
21 21
 	
22
-	public function set_clientSize ($size)
23
-	{
24
-		if (is_array ($size))
25
-		{
26
-			$clientSize = $this->getProperty ('ClientSize');
22
+    public function set_clientSize ($size)
23
+    {
24
+        if (is_array ($size))
25
+        {
26
+            $clientSize = $this->getProperty ('ClientSize');
27 27
 
28
-			VoidCore::setProperty ($clientSize, 'Width', array_shift ($size));
29
-			VoidCore::setProperty ($clientSize, 'Height', array_shift ($size));
28
+            VoidCore::setProperty ($clientSize, 'Width', array_shift ($size));
29
+            VoidCore::setProperty ($clientSize, 'Height', array_shift ($size));
30 30
 
31
-			$this->setProperty ('ClientSize', $clientSize);
32
-		}
31
+            $this->setProperty ('ClientSize', $clientSize);
32
+        }
33 33
 
34
-		else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size));
35
-	}
34
+        else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size));
35
+    }
36 36
 }
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -9,28 +9,28 @@
 block discarded – undo
9 9
 	protected ?string $classname = 'System.Windows.Forms.Form';
10 10
 	protected ?string $assembly  = 'System.Windows.Forms';
11 11
 
12
-    public function get_clientSize ()
12
+    public function get_clientSize()
13 13
 	{
14
-		$size = $this->getProperty ('ClientSize');
14
+		$size = $this->getProperty('ClientSize');
15 15
 		
16 16
 		return [
17
-			VoidCore::getProperty ($size, 'Width'),
18
-			VoidCore::getProperty ($size, 'Height')
17
+			VoidCore::getProperty($size, 'Width'),
18
+			VoidCore::getProperty($size, 'Height')
19 19
 		];
20 20
 	}
21 21
 	
22
-	public function set_clientSize ($size)
22
+	public function set_clientSize($size)
23 23
 	{
24
-		if (is_array ($size))
24
+		if (is_array($size))
25 25
 		{
26
-			$clientSize = $this->getProperty ('ClientSize');
26
+			$clientSize = $this->getProperty('ClientSize');
27 27
 
28
-			VoidCore::setProperty ($clientSize, 'Width', array_shift ($size));
29
-			VoidCore::setProperty ($clientSize, 'Height', array_shift ($size));
28
+			VoidCore::setProperty($clientSize, 'Width', array_shift($size));
29
+			VoidCore::setProperty($clientSize, 'Height', array_shift($size));
30 30
 
31
-			$this->setProperty ('ClientSize', $clientSize);
31
+			$this->setProperty('ClientSize', $clientSize);
32 32
 		}
33 33
 
34
-		else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size));
34
+		else $this->setProperty('ClientSize', EngineAdditions::uncoupleSelector($size));
35 35
 	}
36 36
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
 			VoidCore::setProperty ($clientSize, 'Height', array_shift ($size));
30 30
 
31 31
 			$this->setProperty ('ClientSize', $clientSize);
32
+		} else {
33
+		    $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size));
32 34
 		}
33
-
34
-		else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size));
35 35
 	}
36 36
 }
Please login to merge, or discard this patch.
engine/components/graphic/TableLayoutPanel.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class TableLayoutPanel extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.TableLayoutPanel';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class TableLayoutPanel extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.TableLayoutPanel';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.
engine/components/graphic/ListView.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@  discard block
 block discarded – undo
5 5
 class ListView extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.ListView';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class ListViewItem extends Control
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.ListViewItem';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+    protected ?string $assembly  = 'System.Windows.Forms';
15 15
 
16 16
     public function __construct (string $text = '')
17 17
     {
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 class ColumnHeader extends Control
25 25
 {
26 26
     protected ?string $classname = 'System.Windows.Forms.ColumnHeader';
27
-	protected ?string $assembly  = 'System.Windows.Forms';
27
+    protected ?string $assembly  = 'System.Windows.Forms';
28 28
 
29 29
     public function __construct (string $text = '')
30 30
     {
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 class ListViewGroup extends Control
38 38
 {
39 39
     protected ?string $classname = 'System.Windows.Forms.ListViewGroup';
40
-	protected ?string $assembly  = 'System.Windows.Forms';
40
+    protected ?string $assembly  = 'System.Windows.Forms';
41 41
 
42 42
     public function __construct (string $text = '')
43 43
     {
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -5,17 +5,17 @@  discard block
 block discarded – undo
5 5
 class ListView extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.ListView';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class ListViewItem extends Control
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.ListViewItem';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+	protected ?string $assembly = 'System.Windows.Forms';
15 15
 
16
-    public function __construct (string $text = '')
16
+    public function __construct(string $text = '')
17 17
     {
18
-        parent::__construct ();
18
+        parent::__construct();
19 19
 
20 20
         $this->text = $text;
21 21
     }
@@ -24,11 +24,11 @@  discard block
 block discarded – undo
24 24
 class ColumnHeader extends Control
25 25
 {
26 26
     protected ?string $classname = 'System.Windows.Forms.ColumnHeader';
27
-	protected ?string $assembly  = 'System.Windows.Forms';
27
+	protected ?string $assembly = 'System.Windows.Forms';
28 28
 
29
-    public function __construct (string $text = '')
29
+    public function __construct(string $text = '')
30 30
     {
31
-        parent::__construct ();
31
+        parent::__construct();
32 32
 
33 33
         $this->text = $text;
34 34
     }
@@ -37,11 +37,11 @@  discard block
 block discarded – undo
37 37
 class ListViewGroup extends Control
38 38
 {
39 39
     protected ?string $classname = 'System.Windows.Forms.ListViewGroup';
40
-	protected ?string $assembly  = 'System.Windows.Forms';
40
+	protected ?string $assembly = 'System.Windows.Forms';
41 41
 
42
-    public function __construct (string $text = '')
42
+    public function __construct(string $text = '')
43 43
     {
44
-        parent::__construct ();
44
+        parent::__construct();
45 45
 
46 46
         $this->header = $text;
47 47
     }
Please login to merge, or discard this patch.