GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( 18b473...6380cb )
by gyeong-won
31:09
created
modules/seo/seo.class.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 		$oModuleModel = getModel('module');
22 22
 		$config = $oModuleModel->getModuleConfig('seo');
23 23
 
24
-		require_once(_XE_PATH_ . 'libs/idna_convert/idna_convert.class.php');
24
+		require_once(_XE_PATH_.'libs/idna_convert/idna_convert.class.php');
25 25
 		$IDN = new idna_convert(array('idn_version' => 2008));
26 26
 		$request_uri = $IDN->encode(Context::get('request_uri'));
27 27
 
@@ -32,16 +32,16 @@  discard block
 block discarded – undo
32 32
 		if (!$config->ga_track_subdomain) $config->ga_track_subdomain = 'N';
33 33
 		if ($config->site_image) 
34 34
 		{
35
-			$config->site_image_url = $request_uri . 'files/attach/site_image/' . $config->site_image;
35
+			$config->site_image_url = $request_uri.'files/attach/site_image/'.$config->site_image;
36 36
 
37 37
 			$oCacheHandler = CacheHandler::getInstance('object', NULL, TRUE);
38
-			if($oCacheHandler->isSupport()) {
38
+			if ($oCacheHandler->isSupport()) {
39 39
 				$site_image = false;
40 40
 				$cache_key = 'seo:site_image';
41 41
 				$site_image = $oCacheHandler->get($cache_key);
42
-				if(!$site_image) {
43
-					$path = _XE_PATH_ . 'files/attach/site_image/';
44
-					list($width, $height) = @getimagesize($path . $config->site_image);
42
+				if (!$site_image) {
43
+					$path = _XE_PATH_.'files/attach/site_image/';
44
+					list($width, $height) = @getimagesize($path.$config->site_image);
45 45
 					$site_image_dimension = array(
46 46
 						'width' => $width,
47 47
 						'height' => $height
@@ -87,9 +87,9 @@  discard block
 block discarded – undo
87 87
 			foreach ($list as $val) {
88 88
 				if ($type == 'meta') {
89 89
 					$attr_name = $val['attr_name'];
90
-					Context::addHtmlHeader('<meta ' . $attr_name . '="' . $val['property'] . '" content="' . $val['content'] . '" />');
90
+					Context::addHtmlHeader('<meta '.$attr_name.'="'.$val['property'].'" content="'.$val['content'].'" />');
91 91
 				} elseif ($type == 'link') {
92
-					Context::addHtmlHeader('<link rel="' . $val['rel'] . '" href="' . $val['href'] . '" />');
92
+					Context::addHtmlHeader('<link rel="'.$val['rel'].'" href="'.$val['href'].'" />');
93 93
 				}
94 94
 			}
95 95
 		}
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 </script>
116 116
 GASCRIPT;
117 117
 
118
-			Context::addHtmlHeader($ga_script . PHP_EOL);
118
+			Context::addHtmlHeader($ga_script.PHP_EOL);
119 119
 		}
120 120
 
121 121
 		// Naver Analytics
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 <script src="//wcs.naver.net/wcslog.js"></script>
126 126
 <script>if(!wcs_add){var wcs_add={};};wcs_add['wa']='{$config->na_id}';if(typeof wcs_do!="undefined"){wcs_do();}</script>
127 127
 NASCRIPT;
128
-			Context::addHtmlFooter($na_script . PHP_EOL);
128
+			Context::addHtmlFooter($na_script.PHP_EOL);
129 129
 		}
130 130
 	}
131 131
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
 		$seo_config = $this->getConfig();
142 142
 
143
-		if($seo_config->enable === 'Y') {
143
+		if ($seo_config->enable === 'Y') {
144 144
 			foreach ($this->triggers as $trigger) {
145 145
 				if (!$oModuleModel->getTrigger($trigger[0], $trigger[1], $trigger[2], $trigger[3], $trigger[4])) return TRUE;
146 146
 			}
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 
157 157
 		$seo_config = $this->getConfig();
158 158
 
159
-		if($seo_config->enable === 'Y') {
159
+		if ($seo_config->enable === 'Y') {
160 160
 			foreach ($this->triggers as $trigger) {
161 161
 				if (!$oModuleModel->getTrigger($trigger[0], $trigger[1], $trigger[2], $trigger[3], $trigger[4])) {
162 162
 					$oModuleController->insertTrigger($trigger[0], $trigger[1], $trigger[2], $trigger[3], $trigger[4]);
Please login to merge, or discard this patch.