Failed Conditions
Push — release-2.1 ( 8d1977...8da17b )
by Rick
06:19
created
Sources/Subs-Graphics.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -419,7 +419,7 @@
 block discarded – undo
419 419
 
420 420
 		if (checkImagick())
421 421
 		{
422
-			$imagick = New Imagick($destName);
422
+			$imagick = new Imagick($destName);
423 423
 			$src_width = empty($src_width) ? $imagick->getImageWidth() : $src_width;
424 424
 			$src_height = empty($src_height) ? $imagick->getImageHeight() : $src_height;
425 425
 			$dest_width = empty($max_width) ? $src_width : $max_width;
Please login to merge, or discard this patch.
Sources/Subs-Admin.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	{
43 43
 		if (class_exists('Imagick'))
44 44
 		{
45
-			$temp = New Imagick;
45
+			$temp = new Imagick;
46 46
 			$temp2 = $temp->getVersion();
47 47
 			$im_version = $temp2['versionString'];
48 48
 			$extension_version = 'Imagick ' . phpversion('Imagick');
Please login to merge, or discard this patch.
Sources/Subs-Db-postgresql.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -669,12 +669,12 @@
 block discarded – undo
669 669
 		$where = '';
670 670
 		$count_pk = 0;
671 671
 
672
-		If ($replace_support)
672
+		if ($replace_support)
673 673
 		{
674 674
 			foreach ($columns as $columnName => $type)
675 675
 			{
676 676
 				//check pk fiel
677
-				IF (in_array($columnName, $keys))
677
+				if (in_array($columnName, $keys))
678 678
 				{
679 679
 					$key_str .= ($count_pk > 0 ? ',' : '');
680 680
 					$key_str .= $columnName;
Please login to merge, or discard this patch.
Sources/PersonalMessage.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3267,7 +3267,7 @@  discard block
 block discarded – undo
3267 3267
 		// Deleting an existing label?
3268 3268
 		elseif (isset($_POST['delete'], $_POST['delete_label']))
3269 3269
 		{
3270
-			foreach ($_POST['delete_label'] AS $label => $dummy)
3270
+			foreach ($_POST['delete_label'] as $label => $dummy)
3271 3271
 			{
3272 3272
 				unset($the_labels[$label]);
3273 3273
 				$labels_to_remove[] = $label;
@@ -3308,7 +3308,7 @@  discard block
 block discarded – undo
3308 3308
 		if (!empty($labels_to_add))
3309 3309
 		{
3310 3310
 			$inserts = array();
3311
-			foreach ($labels_to_add AS $label)
3311
+			foreach ($labels_to_add as $label)
3312 3312
 				$inserts[] = array($user_info['id'], $label);
3313 3313
 
3314 3314
 			$smcFunc['db_insert']('', '{db_prefix}pm_labels', array('id_member' => 'int', 'name' => 'string-30'), $inserts, array());
@@ -3317,7 +3317,7 @@  discard block
 block discarded – undo
3317 3317
 		// Update existing labels as needed
3318 3318
 		if (!empty($label_upates))
3319 3319
 		{
3320
-			foreach ($label_updates AS $id => $name)
3320
+			foreach ($label_updates as $id => $name)
3321 3321
 			{
3322 3322
 				$smcFunc['db_query']('', '
3323 3323
 					UPDATE {db_prefix}labels
Please login to merge, or discard this patch.