Passed
Push — master ( 956e68...280b41 )
by Sarah
04:18 queued 01:57
created
views/socialshare/widgets/shareLink.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
   <div class="dropdown-menu">
8 8
 	<div class="shareContainer">
9 9
 		<?php
10
-		$option = "
10
+        $option = "
11 11
 			var width = 575,
12 12
 				height = 400,
13 13
 				left = ($(window).width() - width) / 2,
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 				return false;
25 25
 
26 26
 			";
27
-		?>
27
+        ?>
28 28
 		<?= Html::a('<i class="fa fa-facebook" style="font-size:16px;color:#3a5795">&nbsp;</i>', 'https://www.facebook.com/sharer/sharer.php?u=' . urlencode($permalink) . '&description=' . urlencode($object->getContentDescription()),['onclick'=> $option]);?>
29 29
 		<?= Html::a('<i class="fa fa-twitter" style="font-size:16px;color:#55acee">&nbsp;</i>&nbsp;</i>', 'https://twitter.com/intent/tweet?text=' . urlencode($object->getContentDescription()) . '&url=' . urlencode($permalink),['onclick'=> $option]);?>
30 30
 		<?= Html::a('<i class="fa fa-linkedin-square" style="font-size:16px;color:#0177b5"></i>', 'https://www.linkedin.com/shareArticle?summary=&mini=true&source=&title=' . urlencode($object->getContentDescription()) . '&url=' . urlencode($permalink) . '&ro=false', ['onclick'=> $option]);?>
Please login to merge, or discard this patch.
views/user/widgets/ProfileMenu.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             'isActive' => (Yii::$app->controller->id == "profile" && Yii::$app->controller->action->id == "index"),
41 41
         ));
42 42
 
43
-          if (Yii::$app->getController()->getUser()->profile->about != "") {
43
+            if (Yii::$app->getController()->getUser()->profile->about != "") {
44 44
         $this->addItem(array(
45 45
             'label' => Yii::t('UserModule.widgets_ProfileMenuWidget', 'About'),
46 46
             'group' => 'profile',
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             'sortOrder' => 300,
49 49
             'isActive' => (Yii::$app->controller->id == "profile" && Yii::$app->controller->action->id == "about"),
50 50
         ));
51
-          }
51
+            }
52 52
 
53 53
         parent::init();
54 54
     }
Please login to merge, or discard this patch.