Passed
Push — master ( 50d8c4...2d01cb )
by Mike
03:46
created
src/EntryPoint/POST/OAuth2Token.php 1 patch
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,15 +6,15 @@
 block discarded – undo
6 6
 
7 7
 class OAuth2Token extends AbstractPostEntryPoint {
8 8
 
9
-    protected $_AUTH_REQUIRED = false;
9
+    protected $_AUTH_REQUIRED = FALSE;
10 10
     protected $_URL = 'oauth2/token';
11 11
     protected $_REQUIRED_DATA = array(
12
-        'username' => null,
13
-        'password' => null,
12
+        'username' => NULL,
13
+        'password' => NULL,
14 14
         'grant_type' => 'password',
15
-        'client_id' => null,
16
-        'client_secret' => null,
17
-        'platform' => null
15
+        'client_id' => NULL,
16
+        'client_secret' => NULL,
17
+        'platform' => NULL
18 18
     );
19 19
     protected $_DATA_TYPE = 'array';
20 20
 
Please login to merge, or discard this patch.
src/Response/JSON.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @inheritdoc
19 19
      */
20
-    public function getBody($asArray = true){
20
+    public function getBody($asArray = TRUE){
21 21
         return json_decode($this->body, $asArray);
22 22
     }
23 23
 
Please login to merge, or discard this patch.
src/EntryPoint/Abstracts/AbstractEntryPoint.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
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
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
         if (strpos($UrlArray[0],"$") !== FALSE){
320 320
             throw new InvalidURLException(get_called_class(),"Configured URL is ".$this->Url);
321 321
         }
322
-        return true;
322
+        return TRUE;
323 323
     }
324 324
 
325 325
     /**
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
         if (!empty($this->_REQUIRED_DATA)){
335 335
             $this->verifyRequiredData();
336 336
         }
337
-        return true;
337
+        return TRUE;
338 338
     }
339 339
 
340 340
     /**
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
         if (gettype($this->Data) !== $this->_DATA_TYPE) {
347 347
             throw new RequiredDataException(get_called_class(),"Valid DataType is {$this->_DATA_TYPE}");
348 348
         }
349
-        return true;
349
+        return TRUE;
350 350
     }
351 351
 
352 352
     /**
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
         if (count($errors)>0){
365 365
             throw new RequiredDataException(get_called_class(),"Missing data for ".implode(",",$errors));
366 366
         }
367
-        return true;
367
+        return TRUE;
368 368
     }
369 369
 
370 370
     /**
Please login to merge, or discard this patch.
src/EntryPoint/Abstracts/GET/AbstractGetFileEntryPoint.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      * The directory in which to download the File
13 13
      * @var string
14 14
      */
15
-    protected $downloadDir = null;
15
+    protected $downloadDir = NULL;
16 16
 
17 17
     /**
18 18
      * @inheritdoc
Please login to merge, or discard this patch.