Passed
Push — dev ( 6614ec...2c0569 )
by Observer
01:56
created
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/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.
engine/components/system/Timer.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 Timer extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.Timer';
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 Timer extends Control
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.Timer';
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/dialogs/CommonDialog.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 abstract class CommonDialog extends Component
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.CommonDialog';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+    protected ?string $assembly  = 'System.Windows.Forms';
9 9
 
10 10
     public function execute (): int
11 11
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 abstract class CommonDialog extends Component
6 6
 {
7 7
     protected ?string $classname = 'System.Windows.Forms.CommonDialog';
8
-	protected ?string $assembly  = 'System.Windows.Forms';
8
+	protected ?string $assembly = 'System.Windows.Forms';
9 9
 
10
-    public function execute (): int
10
+    public function execute(): int
11 11
     {
12
-        return $this->callMethod ('ShowDialog');
12
+        return $this->callMethod('ShowDialog');
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
engine/components/dialogs/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
     protected ?string $classname = '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/dialogs/MessageBox.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.MessageBox';
8 8
     protected ?string $assembly  = 'System.Windows.Forms';
9 9
     
10
-    public function __construct ()
10
+    public function __construct()
11 11
     {
12
-        parent::__construct ($this->classname, $this->assembly);
12
+        parent::__construct($this->classname, $this->assembly);
13 13
     }
14 14
 }
Please login to merge, or discard this patch.