Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Push — dependabot/composer/team-refle... ( 23df92 )
by
unknown
06:25 queued 10s
created
src/engine/Default/council_embassy_processing.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 // Send vote announcement to members of the player's council (war votes)
45 45
 // or both races' councils (peace votes).
46 46
 $councilMembers = Council::getRaceCouncil($player->getGameID(),
47
-                                          $player->getRaceID());
47
+										  $player->getRaceID());
48 48
 if ($type == 'PEACE') {
49 49
 	$otherCouncil = Council::getRaceCouncil($player->getGameID(), $race_id);
50 50
 	$councilMembers = array_merge($councilMembers, $otherCouncil);
@@ -54,15 +54,15 @@  discard block
 block discarded – undo
54 54
 $color = ($type == 'PEACE' ? 'dgreen' : 'red');
55 55
 $type_fancy = "<span class=\"$color\">$type</span>";
56 56
 $message = $player->getLevelName() . " " . $player->getBBLink()
57
-           . " has initiated a vote for $type_fancy with the [race=$race_id]!"
58
-           . "You have " . format_time(TIME_FOR_COUNCIL_VOTE)
59
-           . " to cast your vote.";
57
+		   . " has initiated a vote for $type_fancy with the [race=$race_id]!"
58
+		   . "You have " . format_time(TIME_FOR_COUNCIL_VOTE)
59
+		   . " to cast your vote.";
60 60
 
61 61
 foreach ($councilMembers as $accountID) {
62 62
 	// don't send to the player who started the vote
63 63
 	if ($player->getAccountID() != $accountID) {
64 64
 		SmrPlayer::sendMessageFromRace($player->getRaceID(), $player->getGameID(),
65
-		                               $accountID, $message, $time);
65
+									   $accountID, $message, $time);
66 66
   }
67 67
 }
68 68
 
Please login to merge, or discard this patch.
src/admin/Default/newsletter_send_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
 // Set the body of the e-mail
39 39
 set_mail_body($mail, $var['newsletter_html'], $var['newsletter_text'],
40
-              Smr\Request::get('salutation'));
40
+			  Smr\Request::get('salutation'));
41 41
 
42 42
 if (Smr\Request::get('to_email') == '*') {
43 43
 	// Send the newsletter to all players.
Please login to merge, or discard this patch.
src/admin/Default/1.6/game_create_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	create_error('Join Date is not valid!');
22 22
 }
23 23
 $start = empty(Smr\Request::get('game_start')) ? $join :
24
-         DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_start'));
24
+		 DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_start'));
25 25
 if ($start === false) {
26 26
 	create_error('Start Date is not valid!');
27 27
 }
Please login to merge, or discard this patch.
src/admin/Default/1.6/game_edit_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 // Get the dates ("|" sets hr/min/sec to 0)
6 6
 $join = DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_join'));
7 7
 $start = empty(Smr\Request::get('game_start')) ? $join :
8
-         DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_start'));
8
+		 DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_start'));
9 9
 $end = DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_end'));
10 10
 
11 11
 $game = SmrGame::getGame($var['game_id']);
Please login to merge, or discard this patch.
src/lib/Smr/SocialLogin/Twitter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 		}
36 36
 		$helper = self::getTwitterObj($_SESSION['TwitterToken']);
37 37
 		$accessToken = $helper->oauth('oauth/access_token',
38
-		                              ['oauth_verifier' => Request::get('oauth_verifier')]);
38
+									  ['oauth_verifier' => Request::get('oauth_verifier')]);
39 39
 		$auth = self::getTwitterObj($accessToken);
40 40
 		$userInfo = $auth->get('account/verify_credentials', ['include_email' => 'true']);
41 41
 		if ($auth->getLastHttpCode() == 200) {
Please login to merge, or discard this patch.