Passed
Push — dependabot/submodules/lib/medi... ( 97a2b5 )
by
unknown
09:33
created
includes/DataObjects/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -653,7 +653,7 @@
 block discarded – undo
653 653
     
654 654
 	public function isCheckuser()
655 655
 	{
656
-	    if($this->isCheckuserCache === null) {
656
+	    if ($this->isCheckuserCache === null) {
657 657
 	        $this->isCheckuserCache = $this->checkuser == 1 || $this->oauthCanCheckUser();
658 658
         }
659 659
 
Please login to merge, or discard this patch.
redir.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 	'bgpview' => 'https://bgpview.io/ip/%DATA%'
14 14
 );
15 15
 
16
-if(!isset($_GET['tool'])
16
+if (!isset($_GET['tool'])
17 17
 	|| !isset($toolList[$_GET['tool']])
18 18
 	|| !isset($_GET['data'])
19 19
 )
Please login to merge, or discard this patch.
PrecacheGeolocation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@
 block discarded – undo
70 70
         $database->commit();
71 71
         echo ". Committed txn.\n";
72 72
     } catch (Exception $ex) {
73
-        echo ". Encountered exception: " . $ex->getMessage(). "\n";
73
+        echo ". Encountered exception: " . $ex->getMessage() . "\n";
74 74
         $database->rollBack();
75 75
         echo ". Rolled back txn\n";
76 76
         throw $ex;
77 77
     } finally {
78
-        if($database->hasActiveTransaction()){
78
+        if ($database->hasActiveTransaction()) {
79 79
             $database->rollBack();
80 80
             echo ". Rolled back txn\n";
81 81
         }
Please login to merge, or discard this patch.
tests/includes/StringFunctionsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 		$this->e = null;
20 20
 	}
21 21
 
22
-	public function testFormatAsUsername()	{
22
+	public function testFormatAsUsername() {
23 23
 		// Happy path
24 24
 		$this->assertEquals($this->e->formatAsUsername("this"), "This");
25 25
 		$this->assertEquals($this->e->formatAsUsername("1this"), "1this");
Please login to merge, or discard this patch.