Passed
Push — master ( 72f7b3...4061f4 )
by Observer
02:00
created
bin/app/forms/modules.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -7,23 +7,23 @@
 block discarded – undo
7 7
     $source  = VoidStudioAPI::getObjects ('addPackage')['Package__Source'];
8 8
     $version = VoidStudioAPI::getObjects ('addPackage')['Package__Version'];
9 9
 
10
-	$source = $source->selectedItem != 'github' ?
10
+    $source = $source->selectedItem != 'github' ?
11 11
         $source->selectedItem .':' : '';
12 12
 	
13
-	$version = $version->text != 'latest' && $version->text ?
14
-		'@'. $version->text : '';
13
+    $version = $version->text != 'latest' && $version->text ?
14
+        '@'. $version->text : '';
15 15
 	
16 16
     VoidStudioAPI::getObjects ('addPackage')['Package__Path']->caption = ($package = $source . VoidStudioAPI::getObjects ('addPackage')['Package__Author']->text .'/'. VoidStudioAPI::getObjects ('addPackage')['Package__Name']->text) . $version;
17 17
 
18
-	VoidStudioAPI::getObjects ('addPackage')['Package__Add']->enabled = true;
18
+    VoidStudioAPI::getObjects ('addPackage')['Package__Add']->enabled = true;
19 19
 	
20
-	foreach (VoidStudioAPI::getObjects ('modules')['ModulesList__QeroPackages']->items->list as $line)
21
-		if ((($pos = strrpos ($line, '@')) !== false && substr ($line, 0, $pos) == $package) || ($pos === false && $line == $package))
22
-		{
23
-			VoidStudioAPI::getObjects ('addPackage')['Package__Add']->enabled = false;
20
+    foreach (VoidStudioAPI::getObjects ('modules')['ModulesList__QeroPackages']->items->list as $line)
21
+        if ((($pos = strrpos ($line, '@')) !== false && substr ($line, 0, $pos) == $package) || ($pos === false && $line == $package))
22
+        {
23
+            VoidStudioAPI::getObjects ('addPackage')['Package__Add']->enabled = false;
24 24
 
25
-			break;
26
-		}
25
+            break;
26
+        }
27 27
 }
28 28
 
29 29
 function packages__update ()
Please login to merge, or discard this patch.
bin/qero-packages/winforms-php/VoidFramework/engine/components/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
-	public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Chart';
8
-	public $namespace = 'System.Windows.Forms.DataVisualization';
7
+    public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Chart';
8
+    public $namespace = 'System.Windows.Forms.DataVisualization';
9 9
 }
10 10
 
11 11
 class Annotation extends Control
12 12
 {
13
-	public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Annotation';
14
-	public $namespace = 'System.Windows.Forms.DataVisualization';
13
+    public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Annotation';
14
+    public $namespace = 'System.Windows.Forms.DataVisualization';
15 15
 }
16 16
 
17 17
 class ChartArea extends Control
18 18
 {
19
-	public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.ChartArea';
20
-	public $namespace = 'System.Windows.Forms.DataVisualization';
19
+    public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.ChartArea';
20
+    public $namespace = 'System.Windows.Forms.DataVisualization';
21 21
 }
22 22
 
23 23
 class Legend extends Control
24 24
 {
25
-	public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Legend';
26
-	public $namespace = 'System.Windows.Forms.DataVisualization';
25
+    public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Legend';
26
+    public $namespace = 'System.Windows.Forms.DataVisualization';
27 27
 }
28 28
 
29 29
 class Series extends Control
30 30
 {
31
-	public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Series';
32
-	public $namespace = 'System.Windows.Forms.DataVisualization';
31
+    public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Series';
32
+    public $namespace = 'System.Windows.Forms.DataVisualization';
33 33
 }
34 34
 
35 35
 class Title extends Control
36 36
 {
37
-	public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Title';
38
-	public $namespace = 'System.Windows.Forms.DataVisualization';
37
+    public $class 	  = 'System.Windows.Forms.DataVisualization.Charting.Title';
38
+    public $namespace = 'System.Windows.Forms.DataVisualization';
39 39
 }
Please login to merge, or discard this patch.
qero-packages/winforms-php/VoidFramework/engine/components/TabControl.php 1 patch
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.
bin/qero-packages/winforms-php/VoidFramework/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.
qero-packages/winforms-php/VoidFramework/engine/components/Scintilla.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
     protected $styles;
13 13
 
14 14
     public function __construct (Component $parent = null)
15
-	{
15
+    {
16 16
         parent::__construct ($parent, $this->class);
17 17
 
18 18
         $this->styles = $this->getProperty ('Styles');
19
-	}
19
+    }
20 20
 
21 21
     public function resetSyntax ()
22 22
     {
Please login to merge, or discard this patch.
winforms-php/VoidFramework/engine/components/FastColoredTextBox.php 1 patch
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.
winforms-php/VoidFramework/engine/components/SplitContainer.php 1 patch
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.
qero-packages/winforms-php/VoidFramework/engine/components/Component.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
     }
50 50
 
51 51
     public function dispose (): void
52
-	{
52
+    {
53 53
         foreach (array_diff (get_object_vars ($this), ['selector']) as $param => $value)
54 54
         {
55 55
             if (is_int ($value))
Please login to merge, or discard this patch.
bin/qero-packages/winforms-php/VoidFramework/engine/common/Others.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     {
48 48
         return [
49 49
             'text' => $e->getMessage (), 
50
-			'line' => $e->getLine ()
50
+            'line' => $e->getLine ()
51 51
         ];
52 52
     }
53 53
 
@@ -165,17 +165,17 @@  discard block
 block discarded – undo
165 165
 
166 166
 function substr_icount (string $haystack, string $needle, ...$params): int
167 167
 {
168
-	return substr_count (strtolower ($haystack), strtolower ($needle), ...$params);
168
+    return substr_count (strtolower ($haystack), strtolower ($needle), ...$params);
169 169
 }
170 170
 
171 171
 function str_replace_assoc (string $subject, array $replacements): string
172 172
 {
173
-	return str_replace (array_keys ($replacements), array_values ($replacements), $subject);
173
+    return str_replace (array_keys ($replacements), array_values ($replacements), $subject);
174 174
 }
175 175
 
176 176
 function pre (...$args): void
177 177
 {
178
-	message (sizeof ($args) < 2 ? current ($args) : $args);
178
+    message (sizeof ($args) < 2 ? current ($args) : $args);
179 179
 }
180 180
 
181 181
 function messageBox (string $message, string $caption = '', ...$args)
@@ -308,9 +308,9 @@  discard block
 block discarded – undo
308 308
                     }
309 309
 
310 310
                     catch (\Throwable $e)
311
-					{
312
-						continue;
313
-					}
311
+                    {
312
+                        continue;
313
+                    }
314 314
 
315 315
                 return false;
316 316
             }
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
         call_user_func ($function, $self);
334 334
     };
335 335
     
336
-	$timer->start ();
336
+    $timer->start ();
337 337
     
338 338
     return $timer;
339 339
 }
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
     
354 354
     $timer->start ();
355 355
     
356
-	return $timer;
356
+    return $timer;
357 357
 }
358 358
 
359 359
 class Clipboard
Please login to merge, or discard this patch.