Completed
Push — master ( 1b4fe8...79bcd3 )
by Niels
03:20
created
src/DirectAdmin/Objects/Database.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     /** @var string */
25 25
     private $databaseName;
26 26
     /**
27
-     * @param array $info
28 27
      * @param UserContext $context Context within which the object is valid.
29 28
      */
30 29
     public function __construct($name, User $owner, UserContext $context)
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Objects;
11 11
 use Omines\DirectAdmin\Context\UserContext;
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,9 +49,12 @@
 block discarded – undo
49 49
             'action' => 'create',
50 50
             'name' => $name,
51 51
         ];
52
-        if(!empty($password)) {
52
+        if(!empty($password))
53
+        {
53 54
             $options += ['user' => $username, 'passwd' => $password, 'passwd2' => $password];
54
-        } else {
55
+        }
56
+        else
57
+        {
55 58
             $options += ['userlist' => $username];
56 59
         }
57 60
         $user->getContext()->invokePost('DATABASES', $options);
Please login to merge, or discard this patch.
src/DirectAdmin/Context/BaseContext.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Context;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/Context/ResellerContext.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Context;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/Context/UserContext.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Context;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/DirectAdmin.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/DirectAdminException.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/Objects/Domain.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Objects;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/Objects/DomainObject.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Objects;
11 11
 
Please login to merge, or discard this patch.
src/DirectAdmin/Objects/Domains/Subdomain.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DirectAdmin
4
- * (c) Omines Internetbureau B.V.
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
3
+     * DirectAdmin
4
+     * (c) Omines Internetbureau B.V.
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     */
9 9
 
10 10
 namespace Omines\DirectAdmin\Objects\Domains;
11 11
 
Please login to merge, or discard this patch.