Passed
Branch dev (e0c5fc)
by Observer
01:25
created
engine/components/graphic/FlowLayoutPanel.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 FlowLayoutPanel extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.FlowLayoutPanel';
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 FlowLayoutPanel extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.FlowLayoutPanel';
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/Chart.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -4,36 +4,36 @@
 block discarded – undo
4 4
 
5 5
 class Chart extends Control
6 6
 {
7
-	protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Chart';
8
-	protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
7
+    protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Chart';
8
+    protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
9 9
 }
10 10
 
11 11
 class Annotation extends Control
12 12
 {
13
-	protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Annotation';
14
-	protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
13
+    protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Annotation';
14
+    protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
15 15
 }
16 16
 
17 17
 class ChartArea extends Control
18 18
 {
19
-	protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.ChartArea';
20
-	protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
19
+    protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.ChartArea';
20
+    protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
21 21
 }
22 22
 
23 23
 class Legend extends Control
24 24
 {
25
-	protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Legend';
26
-	protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
25
+    protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Legend';
26
+    protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
27 27
 }
28 28
 
29 29
 class Series extends Control
30 30
 {
31
-	protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Series';
32
-	protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
31
+    protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Series';
32
+    protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
33 33
 }
34 34
 
35 35
 class Title extends Control
36 36
 {
37
-	protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Title';
38
-	protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
37
+    protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Title';
38
+    protected ?string $assembly  = 'System.Windows.Forms.DataVisualization';
39 39
 }
Please login to merge, or discard this patch.
engine/components/graphic/ListBox.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@
 block discarded – undo
5 5
 class ListBox extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.ListBox';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class CheckedListBox extends Control
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.CheckedListBox';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+    protected ?string $assembly  = 'System.Windows.Forms';
15 15
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@
 block discarded – undo
5 5
 class ListBox extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.ListBox';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
10 10
 
11 11
 class CheckedListBox extends Control
12 12
 {
13 13
     protected ?string $classname = 'System.Windows.Forms.CheckedListBox';
14
-	protected ?string $assembly  = 'System.Windows.Forms';
14
+	protected ?string $assembly = 'System.Windows.Forms';
15 15
 }
Please login to merge, or discard this patch.
engine/components/graphic/PictureBox.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
 class PictureBox extends Control
8 8
 {
9 9
     protected ?string $classname = 'System.Windows.Forms.PictureBox';
10
-	protected ?string $assembly  = 'System.Windows.Forms';
10
+    protected ?string $assembly  = 'System.Windows.Forms';
11 11
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
 class PictureBox extends Control
8 8
 {
9 9
     protected ?string $classname = 'System.Windows.Forms.PictureBox';
10
-	protected ?string $assembly  = 'System.Windows.Forms';
10
+	protected ?string $assembly = 'System.Windows.Forms';
11 11
 }
Please login to merge, or discard this patch.
engine/components/graphic/TreeView.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 class TreeView extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.TreeView';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 
10 10
     public function get_path (): ?string
11 11
     {
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 class TreeNode extends Control
27 27
 {
28 28
     protected ?string $classname = 'System.Windows.Forms.TreeNode';
29
-	protected ?string $assembly  = 'System.Windows.Forms';
29
+    protected ?string $assembly  = 'System.Windows.Forms';
30 30
 
31 31
     public function __construct (string $text = '')
32 32
     {
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@  discard block
 block discarded – undo
5 5
 class TreeView extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.TreeView';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 
10
-    public function get_path (): ?string
10
+    public function get_path(): ?string
11 11
     {
12 12
         try
13 13
         {
@@ -26,17 +26,17 @@  discard block
 block discarded – undo
26 26
 class TreeNode extends Control
27 27
 {
28 28
     protected ?string $classname = 'System.Windows.Forms.TreeNode';
29
-	protected ?string $assembly  = 'System.Windows.Forms';
29
+	protected ?string $assembly = 'System.Windows.Forms';
30 30
 
31
-    public function __construct (string $text = '')
31
+    public function __construct(string $text = '')
32 32
     {
33
-        parent::__construct ();
33
+        parent::__construct();
34 34
 
35 35
         $this->text = $text;
36 36
     }
37 37
 
38
-    public function get_path ()
38
+    public function get_path()
39 39
     {
40
-        return $this->getProperty ('FullPath');
40
+        return $this->getProperty('FullPath');
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@
 block discarded – undo
12 12
         try
13 13
         {
14 14
             $node = $this->selectedNode;
15
-        }
16
-
17
-        catch (\WinformsException $e)
15
+        } catch (\WinformsException $e)
18 16
         {
19 17
             return null;
20 18
         }
Please login to merge, or discard this patch.
engine/components/graphic/RadioButton.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 RadioButton extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.RadioButton';
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 RadioButton extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.RadioButton';
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/Component.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -11,22 +11,22 @@
 block discarded – undo
11 11
     protected ?string $classname;
12 12
     protected ?string $assembly;
13 13
 
14
-    public function __construct (...$args)
14
+    public function __construct(...$args)
15 15
     {
16
-        parent::__construct ($this->classname, $this->assembly, ...$args);
16
+        parent::__construct($this->classname, $this->assembly, ...$args);
17 17
 
18
-        Components::add ($this);
18
+        Components::add($this);
19 19
     }
20 20
 
21
-    public function dispose (): void
21
+    public function dispose(): void
22 22
     {
23
-        VoidCore::removeObjects ($this->selector);
24
-        Components::remove ($this->selector);
23
+        VoidCore::removeObjects($this->selector);
24
+        Components::remove($this->selector);
25 25
     }
26 26
 
27
-    public function __destruct ()
27
+    public function __destruct()
28 28
     {
29
-        if (VoidCore::destructObject ($this->selector))
30
-            $this->dispose ();
29
+        if (VoidCore::destructObject($this->selector))
30
+            $this->dispose();
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,8 @@
 block discarded – undo
26 26
 
27 27
     public function __destruct ()
28 28
     {
29
-        if (VoidCore::destructObject ($this->selector))
30
-            $this->dispose ();
29
+        if (VoidCore::destructObject ($this->selector)) {
30
+                    $this->dispose ();
31
+        }
31 32
     }
32 33
 }
Please login to merge, or discard this patch.
engine/components/system/Process.php 3 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -6,28 +6,28 @@
 block discarded – undo
6 6
 
7 7
 class Process extends Component
8 8
 {
9
-	protected ?string $classname = 'System.Diagnostics.Process';
10
-	protected ?string $assembly  = 'System';
9
+    protected ?string $classname = 'System.Diagnostics.Process';
10
+    protected ?string $assembly  = 'System';
11 11
 
12
-	public function __construct (int $pid = null)
13
-	{
12
+    public function __construct (int $pid = null)
13
+    {
14 14
         $this->selector = VoidCore::getClass ($this->classname, $this->assembly);
15 15
 
16
-		if ($pid !== null)
16
+        if ($pid !== null)
17 17
             $this->selector = $pid == getmypid () ?
18 18
                 VoidCore::callMethod ($this->selector, 'GetCurrentProcess') :
19 19
                 VoidCore::callMethod ($this->selector, 'GetProcessById', $pid);
20 20
 
21
-		Components::addComponent ($this->selector, $this);
22
-	}
21
+        Components::addComponent ($this->selector, $this);
22
+    }
23 23
 	
24
-	public static function getProcessById (int $pid)
25
-	{
26
-		return new self ($pid);
27
-	}
24
+    public static function getProcessById (int $pid)
25
+    {
26
+        return new self ($pid);
27
+    }
28 28
 	
29
-	public static function getCurrentProcess ()
30
-	{
31
-		return new self (getmypid ());
32
-	}
29
+    public static function getCurrentProcess ()
30
+    {
31
+        return new self (getmypid ());
32
+    }
33 33
 }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,25 +9,24 @@
 block discarded – undo
9 9
 	protected ?string $classname = 'System.Diagnostics.Process';
10 10
 	protected ?string $assembly  = 'System';
11 11
 
12
-	public function __construct (int $pid = null)
12
+	public function __construct(int $pid = null)
13 13
 	{
14
-        $this->selector = VoidCore::getClass ($this->classname, $this->assembly);
14
+        $this->selector = VoidCore::getClass($this->classname, $this->assembly);
15 15
 
16 16
 		if ($pid !== null)
17
-            $this->selector = $pid == getmypid () ?
18
-                VoidCore::callMethod ($this->selector, 'GetCurrentProcess') :
19
-                VoidCore::callMethod ($this->selector, 'GetProcessById', $pid);
17
+            $this->selector = $pid == getmypid() ?
18
+                VoidCore::callMethod($this->selector, 'GetCurrentProcess') : VoidCore::callMethod($this->selector, 'GetProcessById', $pid);
20 19
 
21
-		Components::addComponent ($this->selector, $this);
20
+		Components::addComponent($this->selector, $this);
22 21
 	}
23 22
 	
24
-	public static function getProcessById (int $pid)
23
+	public static function getProcessById(int $pid)
25 24
 	{
26
-		return new self ($pid);
25
+		return new self($pid);
27 26
 	}
28 27
 	
29
-	public static function getCurrentProcess ()
28
+	public static function getCurrentProcess()
30 29
 	{
31
-		return new self (getmypid ());
30
+		return new self(getmypid());
32 31
 	}
33 32
 }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,11 @@
 block discarded – undo
13 13
 	{
14 14
         $this->selector = VoidCore::getClass ($this->classname, $this->assembly);
15 15
 
16
-		if ($pid !== null)
17
-            $this->selector = $pid == getmypid () ?
16
+		if ($pid !== null) {
17
+		            $this->selector = $pid == getmypid () ?
18 18
                 VoidCore::callMethod ($this->selector, 'GetCurrentProcess') :
19 19
                 VoidCore::callMethod ($this->selector, 'GetProcessById', $pid);
20
+		}
20 21
 
21 22
 		Components::addComponent ($this->selector, $this);
22 23
 	}
Please login to merge, or discard this patch.
engine/components/system/ImageList.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 ImageList extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.ImageList';
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 ImageList extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.ImageList';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 }
Please login to merge, or discard this patch.