Completed
Pull Request — release-2.1 (#5103)
by Mathias
05:48
created
Sources/tasks/CreatePost-Notify.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@  discard block
 block discarded – undo
19 19
 {
20 20
 	/**
21 21
 	 * Constants for receiving email notfications.
22
-	*/
22
+	 */
23 23
 	const RECEIVE_NOTIFY_EMAIL = 0x02;
24 24
 	const RECEIVE_NOTIFY_ALERT = 0x01;
25 25
 
26 26
 	/**
27 27
 	 * Constants for reply types.
28
-	*/
28
+	 */
29 29
 	const NOTIFY_TYPE_REPLY_AND_MODIFY = 1;
30 30
 	const NOTIFY_TYPE_REPLY_AND_TOPIC_START_FOLLOWING = 2;
31 31
 	const NOTIFY_TYPE_ONLY_REPLIES = 3;
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
 	/**
35 35
 	 * Constants for frequencies.
36
-	*/
36
+	 */
37 37
 	const FREQUENCY_NOTHING = 0;
38 38
 	const FREQUENCY_EVERYTHING = 1;
39 39
 	const FREQUENCY_FIRST_UNREAD_MSG = 2;
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	const FREQUENCY_WEEKLY_DIGEST = 4;
42 42
 
43 43
 	/**
44
-     * This handles notifications when a new post is created - new topic, reply, quotes and mentions.
44
+	 * This handles notifications when a new post is created - new topic, reply, quotes and mentions.
45 45
 	 * @return bool Always returns true
46 46
 	 */
47 47
 	public function execute()
Please login to merge, or discard this patch.
Themes/default/MoveTopic.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	// Stick our "create a redirection topic" template in here...
66 66
 	template_redirect_options('move');
67 67
 
68
-    echo '
68
+	echo '
69 69
 					<input type="submit" value="', $txt['move_topic'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
70 70
 				</div><!-- .move_topic -->
71 71
 			</div><!-- .windowbg -->';
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
  */
89 89
 function template_redirect_options($type)
90 90
 {
91
-    global $txt, $context, $modSettings;
91
+	global $txt, $context, $modSettings;
92 92
 
93
-    echo '
93
+	echo '
94 94
 					<label for="postRedirect">
95 95
 						<input type="checkbox" name="postRedirect" id="postRedirect"', $context['is_approved'] ? ' checked' : '', ' onclick="', $context['is_approved'] ? '' : 'if (this.checked && !confirm(\'' . $txt[$type . '_topic_unapproved_js'] . '\')) return false; ', 'document.getElementById(\'reasonArea\').classList.toggle(\'hidden\');"> ', $txt['post_redirection'], '.
96 96
 					</label>
Please login to merge, or discard this patch.
Sources/Subs-Compat.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -679,10 +679,10 @@  discard block
 block discarded – undo
679 679
 	if (!is_callable('random_bytes') && extension_loaded('com_dotnet') && class_exists('COM'))
680 680
 	{
681 681
 		/**
682
-		* Class COM
683
-		*
684
-		* This is just a stub class.
685
-		*/
682
+		 * Class COM
683
+		 *
684
+		 * This is just a stub class.
685
+		 */
686 686
 		class com_exception extends Exception
687 687
 		{
688 688
 
@@ -793,15 +793,15 @@  discard block
 block discarded – undo
793 793
 if (!is_callable('random_int'))
794 794
 {
795 795
 	 /**
796
-	 * Fetch a random integer between $min and $max inclusive
797
-	 *
798
-	 * @param int $min
799
-	 * @param int $max
800
-	 *
801
-	 * @throws Exception
802
-	 *
803
-	 * @return int
804
-	 */
796
+	  * Fetch a random integer between $min and $max inclusive
797
+	  *
798
+	  * @param int $min
799
+	  * @param int $max
800
+	  *
801
+	  * @throws Exception
802
+	  *
803
+	  * @return int
804
+	  */
805 805
 	function random_int($min, $max)
806 806
 	{
807 807
 		/**
Please login to merge, or discard this patch.