Test Failed
Push — master ( eb9032...f89997 )
by Joe
02:27
created
bin/change_ip.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 $newip = "__DESTINATIONIP__";
8 8
 
9 9
 $response = (array)$cpl->changeip( array(
10
-    "oldip" => $oldip,
11
-    "newip" => $newip
10
+	"oldip" => $oldip,
11
+	"newip" => $newip
12 12
 ) );
13 13
 
14 14
 print_r($response)."\n";
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 $oldip = "__SOURCEIP__";
7 7
 $newip = "__DESTINATIONIP__";
8 8
 
9
-$response = (array)$cpl->changeip( array(
9
+$response = (array)$cpl->changeip(array(
10 10
     "oldip" => $oldip,
11 11
     "newip" => $newip
12
-) );
12
+));
13 13
 
14
-print_r($response)."\n";
14
+print_r($response) . "\n";
15 15
 
16 16
 
Please login to merge, or discard this patch.
bin/register_auth.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 $cpl = new \Detain\Cpanel\Cpanel("", "");
6 6
 $response = $cpl->registerAuth(array(
7
-    "user" => $_SERVER['argv'][1],
8
-    "pickup" => "__PHRASE__",
9
-    "service" => "__SERVICE__"));
7
+	"user" => $_SERVER['argv'][1],
8
+	"pickup" => "__PHRASE__",
9
+	"service" => "__SERVICE__"));
10 10
 
11 11
 echo $response;
12 12
 
Please login to merge, or discard this patch.
bin/check_status.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -7,17 +7,17 @@
 block discarded – undo
7 7
 $status = $cpl->fetchLicenseRaw(array("ip" => $ip));
8 8
 print_r($status);
9 9
 if (isset($status['@attributes'])) {
10
-    print "The license id for the ip is: " . $status["@attributes"]["licenseid"] . "\n";
11
-    print "The status of the license is: ";
12
-    if ($status["@attributes"]["valid"] > 0) {
13
-        print "Active";
14
-    } else {
15
-        print "Inactive";
16
-    }
17
-    print "\n";
18
-    print "The company holding the license is: " . $status["@attributes"]["company"] .
19
-        "\n";
10
+	print "The license id for the ip is: " . $status["@attributes"]["licenseid"] . "\n";
11
+	print "The status of the license is: ";
12
+	if ($status["@attributes"]["valid"] > 0) {
13
+		print "Active";
14
+	} else {
15
+		print "Inactive";
16
+	}
17
+	print "\n";
18
+	print "The company holding the license is: " . $status["@attributes"]["company"] .
19
+		"\n";
20 20
 } else {
21
-    print "The status of the license is: Not Licensed\n";
21
+	print "The status of the license is: Not Licensed\n";
22 22
 }
23 23
 
Please login to merge, or discard this patch.