Test Failed
Branch master (969917)
by Joe
02:18
created
src/Fantastico.php 3 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,6 +118,7 @@  discard block
 block discarded – undo
118 118
 	 * a check to make sure the passed type is valid
119 119
 	 *
120 120
 	 * @param mixed the license type your trying to validate
121
+	 * @param integer $type
121 122
 	 * @return bool whether or not its a valid fantastico license type
122 123
 	 */
123 124
 	public function is_type($type) {
@@ -146,7 +147,7 @@  discard block
 block discarded – undo
146 147
 	 *     [2] => 150.101.195.140
147 148
 	 * )
148 149
 	 *
149
-	 * @param mixed $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES}
150
+	 * @param integer $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES}
150 151
 	 * @return false|array returns false on error or an array of license details
151 152
 	 */
152 153
 	public function getIpList($type = self::ALL_TYPES) {
@@ -199,7 +200,7 @@  discard block
 block discarded – undo
199 200
 	 * 	    }
200 201
 	 * 	)
201 202
 	 *
202
-	 * @param mixed $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES}
203
+	 * @param integer $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES}
203 204
 	 * @return false|array returns false on error or an array of license details
204 205
 	 */
205 206
 	public function getIpListDetailed($type = self::ALL_TYPES) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@
 block discarded – undo
13 13
 
14 14
 namespace Detain\Fantastico;
15 15
 
16
-class Fantastico
17
-{
16
+class Fantastico {
18 17
 
19 18
 	/**
20 19
 	 * All fantastico license types
Please login to merge, or discard this patch.
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 					'trace' => 1,
99 99
 					'exception' => 1));
100 100
 			} catch (\Exception $e) {
101
-				require_once (INCLUDE_ROOT . '/../vendor/detain/nusoap/lib/nusoap.php');
101
+				require_once (INCLUDE_ROOT.'/../vendor/detain/nusoap/lib/nusoap.php');
102 102
 				$this->soapClient = new \nusoap_client($this->wsdl);
103 103
 			}
104 104
 		}
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 	 * @return string the login hash
135 135
 	 */
136 136
 	private function getHash() {
137
-		return md5($this->api_username . $this->api_password);
137
+		return md5($this->api_username.$this->api_password);
138 138
 	}
139 139
 
140 140
 	/**
@@ -153,16 +153,16 @@  discard block
 block discarded – undo
153 153
 	 * @return false|array returns false on error or an array of license details
154 154
 	 */
155 155
 	public function getIpList($type = self::ALL_TYPES) {
156
-		if (isset($this->cache['getIpList_' . $type])) {
157
-			return $this->cache['getIpList_' . $type];
156
+		if (isset($this->cache['getIpList_'.$type])) {
157
+			return $this->cache['getIpList_'.$type];
158 158
 		}
159 159
 		if (!$this->is_type($type)) {
160 160
 			return false;
161 161
 		}
162 162
 		$this->connect();
163
-		$this->cache['getIpList_' . $type] = json_decode($this->soapClient->getIpList($this->getHash(), $type), true);
163
+		$this->cache['getIpList_'.$type] = json_decode($this->soapClient->getIpList($this->getHash(), $type), true);
164 164
 		myadmin_log('fantastico', 'debug', json_encode($response), __LINE__, __FILE__);
165
-		return $this->cache['getIpList_' . $type];
165
+		return $this->cache['getIpList_'.$type];
166 166
 	}
167 167
 
168 168
 	/**
@@ -210,8 +210,8 @@  discard block
 block discarded – undo
210 210
 		if (!$this->is_type($type)) {
211 211
 			return false;
212 212
 		}
213
-		if (isset($this->cache['getIpListDetailed_' . $type])) {
214
-			return $this->cache['getIpListDetailed_' . $type];
213
+		if (isset($this->cache['getIpListDetailed_'.$type])) {
214
+			return $this->cache['getIpListDetailed_'.$type];
215 215
 		}
216 216
 		$this->connect();
217 217
 		//try {
@@ -219,17 +219,17 @@  discard block
 block discarded – undo
219 219
 		myadmin_log('fantastico', 'debug', json_encode($response), __LINE__, __FILE__);
220 220
 		//echo '<pre>';echo print_r($response, true);echo '</pre>';
221 221
 		//$this->cache['getIpListDetailed_' . $type] = $this->cache['getIpListDetailed_' . $type]->Licenses;
222
-		$this->cache['getIpListDetailed_' . $type] = array();
223
-		$this->cache['getIpList_' . $type] = array();
222
+		$this->cache['getIpListDetailed_'.$type] = array();
223
+		$this->cache['getIpList_'.$type] = array();
224 224
 		foreach ($response['Licenses'] as $idx => $data) {
225 225
 			$tdata = array(
226 226
 				'ipAddress' => $data[0],
227 227
 				'addedOn' => $data[1],
228 228
 				'isVPS' => $data[2],
229 229
 				'status' => $data[3]);
230
-			$this->cache['getIpListDetailed_' . $type][] = $tdata;
231
-			$this->cache['getIpList_' . $type][] = $tdata['ipAddress'];
232
-			$this->cache['getIpDetails_' . $tdata['ipAddress']] = $tdata;
230
+			$this->cache['getIpListDetailed_'.$type][] = $tdata;
231
+			$this->cache['getIpList_'.$type][] = $tdata['ipAddress'];
232
+			$this->cache['getIpDetails_'.$tdata['ipAddress']] = $tdata;
233 233
 		}
234 234
 		//} catch (SoapFault $fault) {
235 235
 		//var_dump($fault);
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
 		//$this->cache['getIpDetails_' . $data['ipAddress']] = $data;
244 244
 		//}
245 245
 		//echo '<pre>';print_r($this->cache);echo '</pre>';
246
-		return $this->cache['getIpListDetailed_' . $type];
246
+		return $this->cache['getIpListDetailed_'.$type];
247 247
 	}
248 248
 
249 249
 	/**
@@ -284,15 +284,15 @@  discard block
 block discarded – undo
284 284
 	 */
285 285
 	public function getIpDetails($ip) {
286 286
 		if (!$this->valid_ip($ip)) {
287
-			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address ' . $ip);
287
+			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address '.$ip);
288 288
 		}
289
-		if (isset($this->cache['getIpDetails_' . $ip])) {
290
-			return $this->cache['getIpDetails_' . $ip];
289
+		if (isset($this->cache['getIpDetails_'.$ip])) {
290
+			return $this->cache['getIpDetails_'.$ip];
291 291
 		}
292 292
 		$this->connect();
293
-		$this->cache['getIpDetails_' . $ip] = json_decode($this->soapClient->getIpDetails($this->getHash(), $ip), true);
293
+		$this->cache['getIpDetails_'.$ip] = json_decode($this->soapClient->getIpDetails($this->getHash(), $ip), true);
294 294
 		myadmin_log('fantastico', 'debug', json_encode($response), __LINE__, __FILE__);
295
-		return $this->cache['getIpDetails_' . $ip];
295
+		return $this->cache['getIpDetails_'.$ip];
296 296
 	}
297 297
 
298 298
 	/**
@@ -363,9 +363,9 @@  discard block
 block discarded – undo
363 363
 	 */
364 364
 	public function editIp($ip, $newip) {
365 365
 		if (!$this->valid_ip($ip)) {
366
-			$response = ['faultcode' => 1, 'fault' => 'Invalid IP Address ' . $ip];
366
+			$response = ['faultcode' => 1, 'fault' => 'Invalid IP Address '.$ip];
367 367
 		} elseif (!$this->valid_ip($newip)) {
368
-			$response = ['faultcode' => 2, 'fault' => 'Invalid IP Address ' . $newip];
368
+			$response = ['faultcode' => 2, 'fault' => 'Invalid IP Address '.$newip];
369 369
 		} else {
370 370
 			$this->connect();
371 371
 			$response = json_decode($this->soapClient->editIp($this->getHash(), $ip, $newip), true);
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
 	 */
444 444
 	public function addIp($ip, $type) {
445 445
 		if (!$this->valid_ip($ip)) {
446
-			$response = ['faultcode' => 1, 'fault' => 'Invalid IP Address ' . $ip];
446
+			$response = ['faultcode' => 1, 'fault' => 'Invalid IP Address '.$ip];
447 447
 		} else {
448 448
 			$this->connect();
449 449
 			$response = json_decode($this->soapClient->addIp($this->getHash(), $ip, $type), true);
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
 	 */
482 482
 	public function deactivateIp($ip) {
483 483
 		if (!$this->valid_ip($ip)) {
484
-			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address ' . $ip);
484
+			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address '.$ip);
485 485
 		}
486 486
 		$this->connect();
487 487
 		$response = json_decode($this->soapClient->deactivateIp($this->getHash(), $ip), true);
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
 	 */
516 516
 	public function reactivateIp($ip) {
517 517
 		if (!$this->valid_ip($ip)) {
518
-			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address ' . $ip);
518
+			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address '.$ip);
519 519
 		}
520 520
 		$this->connect();
521 521
 		$response = json_decode($this->soapClient->reactivateIp($this->getHash(), $ip), true);
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
 	 */
551 551
 	public function deleteIp($ip) {
552 552
 		if (!$this->valid_ip($ip)) {
553
-			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address ' . $ip);
553
+			return array('faultcode' => 1, 'fault ' => 'Invalid IP Address '.$ip);
554 554
 		}
555 555
 		$this->connect();
556 556
 		$response = json_decode($this->soapClient->deleteIp($this->getHash(), $ip), true);
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,2 +1,2 @@
 block discarded – undo
1 1
 <?php
2
-require_once(__DIR__ . '/../vendor/autoload.php');
2
+require_once(__DIR__.'/../vendor/autoload.php');
Please login to merge, or discard this patch.
tests/FantasticoTest.php 2 patches
Indentation   +151 added lines, -151 removed lines patch added patch discarded remove patch
@@ -4,169 +4,169 @@
 block discarded – undo
4 4
  */
5 5
 class FantasticoTest extends PHPUnit_Framework_TestCase
6 6
 {
7
-    /**
8
-     * @var Fantastico
9
-     */
10
-    protected $object;
7
+	/**
8
+	 * @var Fantastico
9
+	 */
10
+	protected $object;
11 11
 
12
-    /**
13
-     * Sets up the fixture, for example, opens a network connection.
14
-     * This method is called before a test is executed.
15
-     */
16
-    protected function setUp()
17
-    {
18
-        $this->object = new Fantastico;
19
-    }
12
+	/**
13
+	 * Sets up the fixture, for example, opens a network connection.
14
+	 * This method is called before a test is executed.
15
+	 */
16
+	protected function setUp()
17
+	{
18
+		$this->object = new Fantastico;
19
+	}
20 20
 
21
-    /**
22
-     * Tears down the fixture, for example, closes a network connection.
23
-     * This method is called after a test is executed.
24
-     */
25
-    protected function tearDown()
26
-    {
27
-    }
21
+	/**
22
+	 * Tears down the fixture, for example, closes a network connection.
23
+	 * This method is called after a test is executed.
24
+	 */
25
+	protected function tearDown()
26
+	{
27
+	}
28 28
 
29
-    /**
30
-     * @covers Detain\Fantastico\Fantastico::connect
31
-     * @todo   Implement testConnect().
32
-     */
33
-    public function testConnect()
34
-    {
35
-        // Remove the following lines when you implement this test.
36
-        $this->markTestIncomplete(
37
-            'This test has not been implemented yet.'
38
-        );
39
-    }
29
+	/**
30
+	 * @covers Detain\Fantastico\Fantastico::connect
31
+	 * @todo   Implement testConnect().
32
+	 */
33
+	public function testConnect()
34
+	{
35
+		// Remove the following lines when you implement this test.
36
+		$this->markTestIncomplete(
37
+			'This test has not been implemented yet.'
38
+		);
39
+	}
40 40
 
41
-    /**
42
-     * @covers Detain\Fantastico\Fantastico::get_ip_types
43
-     * @todo   Implement testGet_ip_types().
44
-     */
45
-    public function testGet_ip_types()
46
-    {
47
-        // Remove the following lines when you implement this test.
48
-        $this->markTestIncomplete(
49
-            'This test has not been implemented yet.'
50
-        );
51
-    }
41
+	/**
42
+	 * @covers Detain\Fantastico\Fantastico::get_ip_types
43
+	 * @todo   Implement testGet_ip_types().
44
+	 */
45
+	public function testGet_ip_types()
46
+	{
47
+		// Remove the following lines when you implement this test.
48
+		$this->markTestIncomplete(
49
+			'This test has not been implemented yet.'
50
+		);
51
+	}
52 52
 
53
-    /**
54
-     * @covers Detain\Fantastico\Fantastico::is_type
55
-     * @todo   Implement testIs_type().
56
-     */
57
-    public function testIs_type()
58
-    {
59
-        // Remove the following lines when you implement this test.
60
-        $this->markTestIncomplete(
61
-            'This test has not been implemented yet.'
62
-        );
63
-    }
53
+	/**
54
+	 * @covers Detain\Fantastico\Fantastico::is_type
55
+	 * @todo   Implement testIs_type().
56
+	 */
57
+	public function testIs_type()
58
+	{
59
+		// Remove the following lines when you implement this test.
60
+		$this->markTestIncomplete(
61
+			'This test has not been implemented yet.'
62
+		);
63
+	}
64 64
 
65
-    /**
66
-     * @covers Detain\Fantastico\Fantastico::getIpList
67
-     * @todo   Implement testGetIpList().
68
-     */
69
-    public function testGetIpList()
70
-    {
71
-        // Remove the following lines when you implement this test.
72
-        $this->markTestIncomplete(
73
-            'This test has not been implemented yet.'
74
-        );
75
-    }
65
+	/**
66
+	 * @covers Detain\Fantastico\Fantastico::getIpList
67
+	 * @todo   Implement testGetIpList().
68
+	 */
69
+	public function testGetIpList()
70
+	{
71
+		// Remove the following lines when you implement this test.
72
+		$this->markTestIncomplete(
73
+			'This test has not been implemented yet.'
74
+		);
75
+	}
76 76
 
77
-    /**
78
-     * @covers Detain\Fantastico\Fantastico::getIpListDetailed
79
-     * @todo   Implement testGetIpListDetailed().
80
-     */
81
-    public function testGetIpListDetailed()
82
-    {
83
-        // Remove the following lines when you implement this test.
84
-        $this->markTestIncomplete(
85
-            'This test has not been implemented yet.'
86
-        );
87
-    }
77
+	/**
78
+	 * @covers Detain\Fantastico\Fantastico::getIpListDetailed
79
+	 * @todo   Implement testGetIpListDetailed().
80
+	 */
81
+	public function testGetIpListDetailed()
82
+	{
83
+		// Remove the following lines when you implement this test.
84
+		$this->markTestIncomplete(
85
+			'This test has not been implemented yet.'
86
+		);
87
+	}
88 88
 
89
-    /**
90
-     * @covers Detain\Fantastico\Fantastico::valid_ip
91
-     * @todo   Implement testValid_ip().
92
-     */
93
-    public function testValid_ip()
94
-    {
95
-        // Remove the following lines when you implement this test.
96
-        $this->markTestIncomplete(
97
-            'This test has not been implemented yet.'
98
-        );
99
-    }
89
+	/**
90
+	 * @covers Detain\Fantastico\Fantastico::valid_ip
91
+	 * @todo   Implement testValid_ip().
92
+	 */
93
+	public function testValid_ip()
94
+	{
95
+		// Remove the following lines when you implement this test.
96
+		$this->markTestIncomplete(
97
+			'This test has not been implemented yet.'
98
+		);
99
+	}
100 100
 
101
-    /**
102
-     * @covers Detain\Fantastico\Fantastico::getIpDetails
103
-     * @todo   Implement testGetIpDetails().
104
-     */
105
-    public function testGetIpDetails()
106
-    {
107
-        // Remove the following lines when you implement this test.
108
-        $this->markTestIncomplete(
109
-            'This test has not been implemented yet.'
110
-        );
111
-    }
101
+	/**
102
+	 * @covers Detain\Fantastico\Fantastico::getIpDetails
103
+	 * @todo   Implement testGetIpDetails().
104
+	 */
105
+	public function testGetIpDetails()
106
+	{
107
+		// Remove the following lines when you implement this test.
108
+		$this->markTestIncomplete(
109
+			'This test has not been implemented yet.'
110
+		);
111
+	}
112 112
 
113
-    /**
114
-     * @covers Detain\Fantastico\Fantastico::editIp
115
-     * @todo   Implement testEditIp().
116
-     */
117
-    public function testEditIp()
118
-    {
119
-        // Remove the following lines when you implement this test.
120
-        $this->markTestIncomplete(
121
-            'This test has not been implemented yet.'
122
-        );
123
-    }
113
+	/**
114
+	 * @covers Detain\Fantastico\Fantastico::editIp
115
+	 * @todo   Implement testEditIp().
116
+	 */
117
+	public function testEditIp()
118
+	{
119
+		// Remove the following lines when you implement this test.
120
+		$this->markTestIncomplete(
121
+			'This test has not been implemented yet.'
122
+		);
123
+	}
124 124
 
125
-    /**
126
-     * @covers Detain\Fantastico\Fantastico::addIp
127
-     * @todo   Implement testAddIp().
128
-     */
129
-    public function testAddIp()
130
-    {
131
-        // Remove the following lines when you implement this test.
132
-        $this->markTestIncomplete(
133
-            'This test has not been implemented yet.'
134
-        );
135
-    }
125
+	/**
126
+	 * @covers Detain\Fantastico\Fantastico::addIp
127
+	 * @todo   Implement testAddIp().
128
+	 */
129
+	public function testAddIp()
130
+	{
131
+		// Remove the following lines when you implement this test.
132
+		$this->markTestIncomplete(
133
+			'This test has not been implemented yet.'
134
+		);
135
+	}
136 136
 
137
-    /**
138
-     * @covers Detain\Fantastico\Fantastico::deactivateIp
139
-     * @todo   Implement testDeactivateIp().
140
-     */
141
-    public function testDeactivateIp()
142
-    {
143
-        // Remove the following lines when you implement this test.
144
-        $this->markTestIncomplete(
145
-            'This test has not been implemented yet.'
146
-        );
147
-    }
137
+	/**
138
+	 * @covers Detain\Fantastico\Fantastico::deactivateIp
139
+	 * @todo   Implement testDeactivateIp().
140
+	 */
141
+	public function testDeactivateIp()
142
+	{
143
+		// Remove the following lines when you implement this test.
144
+		$this->markTestIncomplete(
145
+			'This test has not been implemented yet.'
146
+		);
147
+	}
148 148
 
149
-    /**
150
-     * @covers Detain\Fantastico\Fantastico::reactivateIp
151
-     * @todo   Implement testReactivateIp().
152
-     */
153
-    public function testReactivateIp()
154
-    {
155
-        // Remove the following lines when you implement this test.
156
-        $this->markTestIncomplete(
157
-            'This test has not been implemented yet.'
158
-        );
159
-    }
149
+	/**
150
+	 * @covers Detain\Fantastico\Fantastico::reactivateIp
151
+	 * @todo   Implement testReactivateIp().
152
+	 */
153
+	public function testReactivateIp()
154
+	{
155
+		// Remove the following lines when you implement this test.
156
+		$this->markTestIncomplete(
157
+			'This test has not been implemented yet.'
158
+		);
159
+	}
160 160
 
161
-    /**
162
-     * @covers Detain\Fantastico\Fantastico::deleteIp
163
-     * @todo   Implement testDeleteIp().
164
-     */
165
-    public function testDeleteIp()
166
-    {
167
-        // Remove the following lines when you implement this test.
168
-        $this->markTestIncomplete(
169
-            'This test has not been implemented yet.'
170
-        );
171
-    }
161
+	/**
162
+	 * @covers Detain\Fantastico\Fantastico::deleteIp
163
+	 * @todo   Implement testDeleteIp().
164
+	 */
165
+	public function testDeleteIp()
166
+	{
167
+		// Remove the following lines when you implement this test.
168
+		$this->markTestIncomplete(
169
+			'This test has not been implemented yet.'
170
+		);
171
+	}
172 172
 }
Please login to merge, or discard this patch.
Braces   +15 added lines, -30 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@  discard block
 block discarded – undo
2 2
 /**
3 3
  * Generated by PHPUnit_SkeletonGenerator on 2017-06-16 at 14:19:45.
4 4
  */
5
-class FantasticoTest extends PHPUnit_Framework_TestCase
6
-{
5
+class FantasticoTest extends PHPUnit_Framework_TestCase {
7 6
     /**
8 7
      * @var Fantastico
9 8
      */
@@ -13,8 +12,7 @@  discard block
 block discarded – undo
13 12
      * Sets up the fixture, for example, opens a network connection.
14 13
      * This method is called before a test is executed.
15 14
      */
16
-    protected function setUp()
17
-    {
15
+    protected function setUp() {
18 16
         $this->object = new Fantastico;
19 17
     }
20 18
 
@@ -22,16 +20,14 @@  discard block
 block discarded – undo
22 20
      * Tears down the fixture, for example, closes a network connection.
23 21
      * This method is called after a test is executed.
24 22
      */
25
-    protected function tearDown()
26
-    {
23
+    protected function tearDown() {
27 24
     }
28 25
 
29 26
     /**
30 27
      * @covers Detain\Fantastico\Fantastico::connect
31 28
      * @todo   Implement testConnect().
32 29
      */
33
-    public function testConnect()
34
-    {
30
+    public function testConnect() {
35 31
         // Remove the following lines when you implement this test.
36 32
         $this->markTestIncomplete(
37 33
             'This test has not been implemented yet.'
@@ -42,8 +38,7 @@  discard block
 block discarded – undo
42 38
      * @covers Detain\Fantastico\Fantastico::get_ip_types
43 39
      * @todo   Implement testGet_ip_types().
44 40
      */
45
-    public function testGet_ip_types()
46
-    {
41
+    public function testGet_ip_types() {
47 42
         // Remove the following lines when you implement this test.
48 43
         $this->markTestIncomplete(
49 44
             'This test has not been implemented yet.'
@@ -54,8 +49,7 @@  discard block
 block discarded – undo
54 49
      * @covers Detain\Fantastico\Fantastico::is_type
55 50
      * @todo   Implement testIs_type().
56 51
      */
57
-    public function testIs_type()
58
-    {
52
+    public function testIs_type() {
59 53
         // Remove the following lines when you implement this test.
60 54
         $this->markTestIncomplete(
61 55
             'This test has not been implemented yet.'
@@ -66,8 +60,7 @@  discard block
 block discarded – undo
66 60
      * @covers Detain\Fantastico\Fantastico::getIpList
67 61
      * @todo   Implement testGetIpList().
68 62
      */
69
-    public function testGetIpList()
70
-    {
63
+    public function testGetIpList() {
71 64
         // Remove the following lines when you implement this test.
72 65
         $this->markTestIncomplete(
73 66
             'This test has not been implemented yet.'
@@ -78,8 +71,7 @@  discard block
 block discarded – undo
78 71
      * @covers Detain\Fantastico\Fantastico::getIpListDetailed
79 72
      * @todo   Implement testGetIpListDetailed().
80 73
      */
81
-    public function testGetIpListDetailed()
82
-    {
74
+    public function testGetIpListDetailed() {
83 75
         // Remove the following lines when you implement this test.
84 76
         $this->markTestIncomplete(
85 77
             'This test has not been implemented yet.'
@@ -90,8 +82,7 @@  discard block
 block discarded – undo
90 82
      * @covers Detain\Fantastico\Fantastico::valid_ip
91 83
      * @todo   Implement testValid_ip().
92 84
      */
93
-    public function testValid_ip()
94
-    {
85
+    public function testValid_ip() {
95 86
         // Remove the following lines when you implement this test.
96 87
         $this->markTestIncomplete(
97 88
             'This test has not been implemented yet.'
@@ -102,8 +93,7 @@  discard block
 block discarded – undo
102 93
      * @covers Detain\Fantastico\Fantastico::getIpDetails
103 94
      * @todo   Implement testGetIpDetails().
104 95
      */
105
-    public function testGetIpDetails()
106
-    {
96
+    public function testGetIpDetails() {
107 97
         // Remove the following lines when you implement this test.
108 98
         $this->markTestIncomplete(
109 99
             'This test has not been implemented yet.'
@@ -114,8 +104,7 @@  discard block
 block discarded – undo
114 104
      * @covers Detain\Fantastico\Fantastico::editIp
115 105
      * @todo   Implement testEditIp().
116 106
      */
117
-    public function testEditIp()
118
-    {
107
+    public function testEditIp() {
119 108
         // Remove the following lines when you implement this test.
120 109
         $this->markTestIncomplete(
121 110
             'This test has not been implemented yet.'
@@ -126,8 +115,7 @@  discard block
 block discarded – undo
126 115
      * @covers Detain\Fantastico\Fantastico::addIp
127 116
      * @todo   Implement testAddIp().
128 117
      */
129
-    public function testAddIp()
130
-    {
118
+    public function testAddIp() {
131 119
         // Remove the following lines when you implement this test.
132 120
         $this->markTestIncomplete(
133 121
             'This test has not been implemented yet.'
@@ -138,8 +126,7 @@  discard block
 block discarded – undo
138 126
      * @covers Detain\Fantastico\Fantastico::deactivateIp
139 127
      * @todo   Implement testDeactivateIp().
140 128
      */
141
-    public function testDeactivateIp()
142
-    {
129
+    public function testDeactivateIp() {
143 130
         // Remove the following lines when you implement this test.
144 131
         $this->markTestIncomplete(
145 132
             'This test has not been implemented yet.'
@@ -150,8 +137,7 @@  discard block
 block discarded – undo
150 137
      * @covers Detain\Fantastico\Fantastico::reactivateIp
151 138
      * @todo   Implement testReactivateIp().
152 139
      */
153
-    public function testReactivateIp()
154
-    {
140
+    public function testReactivateIp() {
155 141
         // Remove the following lines when you implement this test.
156 142
         $this->markTestIncomplete(
157 143
             'This test has not been implemented yet.'
@@ -162,8 +148,7 @@  discard block
 block discarded – undo
162 148
      * @covers Detain\Fantastico\Fantastico::deleteIp
163 149
      * @todo   Implement testDeleteIp().
164 150
      */
165
-    public function testDeleteIp()
166
-    {
151
+    public function testDeleteIp() {
167 152
         // Remove the following lines when you implement this test.
168 153
         $this->markTestIncomplete(
169 154
             'This test has not been implemented yet.'
Please login to merge, or discard this patch.