Passed
Push — dependabot/submodules/lib/medi... ( 3a2b2d )
by
unknown
14:58
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.
acc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 elseif ($action == "sreg") {
106 106
 	global $useOauthSignup, $smarty, $allowRegistration;
107 107
 
108
-	if(!$allowRegistration) {
108
+	if (!$allowRegistration) {
109 109
 		$smarty->display("registration/registerdisabled.tpl");
110 110
 		BootstrapSkin::displayInternalFooter();
111 111
 		die();
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 }
215 215
 elseif ($action == "register") {
216 216
 	global $useOauthSignup, $smarty, $allowRegistration;
217
-	if($allowRegistration) {
217
+	if ($allowRegistration) {
218 218
 		$smarty->assign("useOauthSignup", $useOauthSignup);
219 219
 		$smarty->display("registration/register.tpl");
220 220
 	} else {
Please login to merge, or discard this patch.