@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * Whether or not Authentication is Required |
45 | 45 | * @var bool |
46 | 46 | */ |
47 | - protected $_AUTH_REQUIRED = true; |
|
47 | + protected $_AUTH_REQUIRED = TRUE; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * The URL for the EntryPoint |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | if (strpos($UrlArray[0],"$") !== FALSE){ |
321 | 321 | throw new InvalidURLException(get_called_class(),"Configured URL is ".$this->Url); |
322 | 322 | } |
323 | - return true; |
|
323 | + return TRUE; |
|
324 | 324 | } |
325 | 325 | |
326 | 326 | /** |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | if ($urlVarCount>$optionCount){ |
336 | 336 | throw new RequiredOptionsException(get_called_class(),"URL requires $urlVarCount options, only $optionCount provided."); |
337 | 337 | } |
338 | - return true; |
|
338 | + return TRUE; |
|
339 | 339 | } |
340 | 340 | |
341 | 341 | /** |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | if (!empty($this->_REQUIRED_DATA)){ |
351 | 351 | $this->verifyRequiredData(); |
352 | 352 | } |
353 | - return true; |
|
353 | + return TRUE; |
|
354 | 354 | } |
355 | 355 | |
356 | 356 | /** |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | if (gettype($this->Data) !== $this->_DATA_TYPE) { |
363 | 363 | throw new RequiredDataException(get_called_class(),"Valid DataType is {$this->_DATA_TYPE}"); |
364 | 364 | } |
365 | - return true; |
|
365 | + return TRUE; |
|
366 | 366 | } |
367 | 367 | |
368 | 368 | /** |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | if (count($errors)>0){ |
381 | 381 | throw new RequiredDataException(get_called_class(),"Missing data for ".implode(",",$errors)); |
382 | 382 | } |
383 | - return true; |
|
383 | + return TRUE; |
|
384 | 384 | } |
385 | 385 | |
386 | 386 | /** |
@@ -155,7 +155,7 @@ |
||
155 | 155 | */ |
156 | 156 | public function testSetAuth($Stub){ |
157 | 157 | $Stub->setAuth('1234'); |
158 | - $this->assertEquals(true,$Stub->authRequired()); |
|
158 | + $this->assertEquals(TRUE,$Stub->authRequired()); |
|
159 | 159 | return $Stub; |
160 | 160 | } |
161 | 161 |