GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( c609dc...4389c4 )
by Samuel
02:09
created
src/Core/Exception/UnallowedOperationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
Please login to merge, or discard this patch.
src/Core/Factory/DatabaseQueryFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 {
30 30
     public static function insert(string $table, array $data)
31 31
     {
32
-        $insertBuilder = (new Builder("QueryBuilder","Insert"))->getBuilder();
32
+        $insertBuilder = (new Builder("QueryBuilder", "Insert"))->getBuilder();
33 33
         $columns = [];
34 34
         $values = [];
35 35
 
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
         }
41 41
 
42 42
         $columns = "(".implode(", ", $columns).")";
43
-        $values =    "(".implode(", ", $values).")";
43
+        $values = "(".implode(", ", $values).")";
44 44
         $insertBuilder->into($table.$columns);
45 45
 
46
-        $query = (string)$insertBuilder." VALUES ".$values;
46
+        $query = (string) $insertBuilder." VALUES ".$values;
47 47
         // die($query);
48 48
         try
49 49
         {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
             $connection = DBConnectionFactory::getConnection();
55 55
 
56
-            $result = $connection->prepare((string)$query)->execute();
56
+            $result = $connection->prepare((string) $query)->execute();
57 57
 
58 58
             DatabaseLog::log(Session::get('USER_ID'), Constant::EVENT_INSERT, $schemaName, $tableName, $query);
59 59
 
Please login to merge, or discard this patch.
src/Core/DirtChecker.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
         $this->workingValue = $value;
29 29
         $this->conditionValue = $conditionValue;
30 30
 
31
-        if (!empty($conditions)){
31
+        if (!empty($conditions)) {
32 32
             foreach ($conditions as $value) {
33
-                if (!in_array($value, $this->dirtFilterConditions)){
33
+                if (!in_array($value, $this->dirtFilterConditions)) {
34 34
                     throw new \Exception("Invalid Dirt Filter Condition Provided: ".$value);
35 35
                 }
36 36
             }
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     public function isDirty() : bool
45 45
     {
46 46
         $explodedString = explode(" ", $this->workingValue);
47
-        foreach ($explodedString as $string){
48
-            foreach ($this->workingConditions as $condition){
47
+        foreach ($explodedString as $string) {
48
+            foreach ($this->workingConditions as $condition) {
49 49
                 $switchValue = false;
50 50
                 switch ($condition) {
51 51
                     case '=':
Please login to merge, or discard this patch.
src/Core/Connection/Adapters/MySQL.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * @throws \EmmetBlue\Core\Exception\SQLException
56 56
      * @return void
57 57
      */
58
-    public function connect(string $username, string $password="")
58
+    public function connect(string $username, string $password = "")
59 59
     {
60 60
         $host = $this->dsn[0];
61 61
         $database = $this->dsn[1];
Please login to merge, or discard this patch.
src/Core/Validator/Validators/UserIDValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @license MIT
Please login to merge, or discard this patch.
src/Core/Builder/BuilderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Chukwuma Nwali <[email protected]>
Please login to merge, or discard this patch.
src/Core/Factory/MailerFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 class MailerFactory
21 21
 {
22 22
 	private $mail;
23
-	public function __construct(array $sender, array $recipients, array $message){
23
+	public function __construct(array $sender, array $recipients, array $message) {
24 24
 		$smtpConfigJson = file_get_contents(Constant::getGlobals()["config-dir"]["smtp-config"]);
25 25
 
26 26
         $smtpConfig = json_decode($smtpConfigJson);
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
 		$this->mail = $mail;
52 52
 	}
53 53
 
54
-	public function send(){
55
-		if (!$this->mail->send()){
54
+	public function send() {
55
+		if (!$this->mail->send()) {
56 56
 			return $this->mail->ErrorInfo;
57 57
 		}
58 58
 
Please login to merge, or discard this patch.
src/Core/Logger/DatabaseLog.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
@@ -41,13 +41,13 @@  discard block
 block discarded – undo
41 41
                 ->values([
42 42
                     'GETDATE()',
43 43
                     QB::wrapString($databaseUserId, "'"),
44
-                    QB::wrapString((string)$event, "'"),
44
+                    QB::wrapString((string) $event, "'"),
45 45
                     QB::wrapString($objectSchema, "'"),
46 46
                     QB::wrapString($object, "'"),
47 47
                     QB::wrapString(str_replace("'", "\"", $tSql), "'")
48 48
                 ]);
49 49
             
50
-            DBConnectionFactory::getConnection()->query((string)$insertBuilder);
50
+            DBConnectionFactory::getConnection()->query((string) $insertBuilder);
51 51
         } catch (\PDOException $e) {
52 52
             echo $e->getMessage();
53 53
             throw new SQLException(sprintf(
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         }
57 57
     }
58 58
 
59
-    public static function log(string $databaseUserId, string $event, string $objectSchema, string $object, string $tSql){
59
+    public static function log(string $databaseUserId, string $event, string $objectSchema, string $object, string $tSql) {
60 60
 
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
src/Core/Logger/ErrorLog.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 /**
3 3
  * @license MIT
4 4
  * @author Samuel Adeshina <[email protected]>
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  */
23 23
 class ErrorLog implements LogInterface
24 24
 {
25
-    public static function logDeprecated(int $databaseUserId, string $errorNumber, string $errorSeverity, string $errorMessage, string $errorObject=null)
25
+    public static function logDeprecated(int $databaseUserId, string $errorNumber, string $errorSeverity, string $errorMessage, string $errorObject = null)
26 26
     {
27 27
         /**
28 28
          * For now I am not doing anything with $errorObject yet.
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
                 QB::wrapString($errorMessage, "'")
55 55
             ]);
56 56
             
57
-        DBConnectionFactory::getConnection()->query((string)$insertBuilder);
57
+        DBConnectionFactory::getConnection()->query((string) $insertBuilder);
58 58
     }
59 59
 
60
-    public static function log(int $databaseUserId, string $errorNumber, string $errorSeverity, string $errorMessage, string $errorObject=null) {
60
+    public static function log(int $databaseUserId, string $errorNumber, string $errorSeverity, string $errorMessage, string $errorObject = null) {
61 61
 
62 62
     }
63 63
 }
Please login to merge, or discard this patch.