Passed
Push — main ( 873d94...0287f2 )
by Rogério
07:11 queued 05:55
created
example/System.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__.'/../vendor/autoload.php';
3
+require __DIR__ . '/../vendor/autoload.php';
4 4
 
5 5
 const AAPANEL_SERVER_URL = '';
6 6
 const AAPANEL_SERVER_KEY = '';  
Please login to merge, or discard this patch.
example/Site.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-require __DIR__.'/../vendor/autoload.php';
4
+require __DIR__ . '/../vendor/autoload.php';
5 5
 
6 6
 const AAPANEL_SERVER_URL = '';
7 7
 const AAPANEL_SERVER_KEY = ''; 
Please login to merge, or discard this patch.
src/AAPanelFTP.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,6 +114,6 @@
 block discarded – undo
114 114
             return true;
115 115
         }
116 116
 
117
-       return false;
117
+        return false;
118 118
     }
119 119
 }
Please login to merge, or discard this patch.
src/AAPanelSystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         $url = $this->serverUrl . '/files?action=GetDirSize';
42 42
 
43
-        $this->data['path']   = $path;
43
+        $this->data['path'] = $path;
44 44
 
45 45
         return (parent::Execute($url, $this->data));
46 46
     }
Please login to merge, or discard this patch.
src/AAPanelSite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $url = $this->serverUrl . '/files?action=GetDirSize';
79 79
 
80
-        $this->data['path']   = $path . $domain;
80
+        $this->data['path'] = $path . $domain;
81 81
         return (parent::Execute($url, $this->data));
82 82
     }
83 83
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     {
229 229
         $url = $this->serverUrl . '/site?action=GetIndex';
230 230
 
231
-        $this->data['id']       = $id;
231
+        $this->data['id'] = $id;
232 232
         return (parent::Execute($url, $this->data));
233 233
     }
234 234
 }
Please login to merge, or discard this patch.
src/AAPanelDomain.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function ListSite($id): mixed
28 28
     {
29
-        $url = $this->serverUrl .'/data?action=getData&table=domain';
29
+        $url = $this->serverUrl . '/data?action=getData&table=domain';
30 30
         
31 31
         $this->data['search']  = $id;
32
-        $this->data['list']    =  true;
33
-        return (parent::Execute($url,$this->data));
32
+        $this->data['list']    = true;
33
+        return (parent::Execute($url, $this->data));
34 34
     }
35 35
 
36 36
     /**
@@ -42,12 +42,12 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function Add($id, $domain, $addDomain): mixed
44 44
     {
45
-        $url = $this->serverUrl .'/site?action=AddDomain';
45
+        $url = $this->serverUrl . '/site?action=AddDomain';
46 46
         
47 47
         $this->data['id']       = $id;
48 48
         $this->data['webname']  = $domain;
49 49
         $this->data['domain']   = $addDomain;
50
-        return (parent::Execute($url,$this->data));
50
+        return (parent::Execute($url, $this->data));
51 51
     }
52 52
 
53 53
     /**
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function Delete($id, $domain, $deleteDomain): mixed
61 61
     {
62
-        $url = $this->serverUrl .'/site?action=DelDomain';
62
+        $url = $this->serverUrl . '/site?action=DelDomain';
63 63
         
64 64
         $this->data['id']       = $id;
65 65
         $this->data['webname']  = $domain;
66 66
         $this->data['domain']   = $deleteDomain;
67 67
         $this->data['port']     = 80;
68
-        return (parent::Execute($url,$this->data));
68
+        return (parent::Execute($url, $this->data));
69 69
     }
70 70
 
71 71
     /**
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function DeleteMultiple($id, $domainsId): mixed
78 78
     {
79
-        $url = $this->serverUrl .'/site?action=delete_domain_multiple';
79
+        $url = $this->serverUrl . '/site?action=delete_domain_multiple';
80 80
         
81 81
         $this->data['id']          = $id;
82 82
         $this->data['domains_id']  = $domainsId;
83
-        return (parent::Execute($url,$this->data));
83
+        return (parent::Execute($url, $this->data));
84 84
     }
85 85
 }
86 86
\ No newline at end of file
Please login to merge, or discard this patch.
src/AAPanelBackup.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function List(int $limit = 100, $search = null): mixed
29 29
     {
30
-        $url = $this->serverUrl .'/data?action=getData&table=backup';
30
+        $url = $this->serverUrl . '/data?action=getData&table=backup';
31 31
         
32 32
         $this->data['limit']   = $limit;
33 33
         $this->data['type']    = 0;
34 34
         $this->data['search']  = $search;
35
-        return (parent::Execute($url,$this->data));
35
+        return (parent::Execute($url, $this->data));
36 36
     }
37 37
 
38 38
     /**
@@ -42,10 +42,10 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function Create($id): mixed
44 44
     {
45
-        $url = $this->serverUrl .'/site?action=ToBackup';
45
+        $url = $this->serverUrl . '/site?action=ToBackup';
46 46
         
47
-        $this->data['id']   = $id;
48
-        return (parent::Execute($url,$this->data));
47
+        $this->data['id'] = $id;
48
+        return (parent::Execute($url, $this->data));
49 49
     }
50 50
 
51 51
     /**
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function Delete($id): mixed
57 57
     {
58
-        $url = $this->serverUrl .'/site?action=DelBackup';
58
+        $url = $this->serverUrl . '/site?action=DelBackup';
59 59
         
60
-        $this->data['id']   = $id;
61
-        return (parent::Execute($url,$this->data));
60
+        $this->data['id'] = $id;
61
+        return (parent::Execute($url, $this->data));
62 62
     }
63 63
 }
64 64
\ No newline at end of file
Please login to merge, or discard this patch.
src/AAPanelCategory.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function List(): mixed
27 27
     {
28
-        $url = $this->serverUrl .'/site?action=get_site_types';
28
+        $url = $this->serverUrl . '/site?action=get_site_types';
29 29
         
30
-        return (parent::Execute($url,$this->data));
30
+        return (parent::Execute($url, $this->data));
31 31
     }
32 32
 
33 33
     /**
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function Create(string $name): mixed
39 39
     {
40
-        $url = $this->serverUrl .'/site?action=add_site_type';
40
+        $url = $this->serverUrl . '/site?action=add_site_type';
41 41
         
42 42
         $this->data['name'] = $name;
43
-        return (parent::Execute($url,$this->data));
43
+        return (parent::Execute($url, $this->data));
44 44
     }
45 45
 
46 46
     /**
@@ -51,11 +51,11 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function Update(int $id, string $name): mixed
53 53
     {
54
-        $url = $this->serverUrl .'/site?action=modify_site_type_name';
54
+        $url = $this->serverUrl . '/site?action=modify_site_type_name';
55 55
         
56 56
         $this->data['id']   = $id;
57 57
         $this->data['name'] = $name;
58
-        return (parent::Execute($url,$this->data));
58
+        return (parent::Execute($url, $this->data));
59 59
     }
60 60
 
61 61
     /**
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function Delete(int $id): mixed
67 67
     {
68
-        $url = $this->serverUrl .'/site?action=remove_site_type';
68
+        $url = $this->serverUrl . '/site?action=remove_site_type';
69 69
         
70
-        $this->data['id']   = $id;
71
-        return (parent::Execute($url,$this->data));
70
+        $this->data['id'] = $id;
71
+        return (parent::Execute($url, $this->data));
72 72
     }
73 73
 }
74 74
\ No newline at end of file
Please login to merge, or discard this patch.
example/Logs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-require __DIR__.'/../vendor/autoload.php';
4
+require __DIR__ . '/../vendor/autoload.php';
5 5
 
6 6
 const AAPANEL_SERVER_URL = '';
7 7
 const AAPANEL_SERVER_KEY = ''; 
Please login to merge, or discard this patch.