@@ -5,7 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | return static function(ECSConfig $ecsConfig): void { |
| 7 | 7 | $ecsConfig->paths([ |
| 8 | - __DIR__ . '/src', |
|
| 8 | + __DIR__.'/src', |
|
| 9 | 9 | __FILE__, |
| 10 | 10 | ]); |
| 11 | 11 | $ecsConfig->parallel(); |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | |
| 93 | 93 | $url = "https://disqus.com/api/3.0/threads/details.json?api_key=" |
| 94 | 94 | . $apiKey |
| 95 | - . "&forum=" . $disqusShortname |
|
| 95 | + . "&forum=".$disqusShortname |
|
| 96 | 96 | . "&thread:ident=" |
| 97 | 97 | . $disqusIdentifier; |
| 98 | 98 | |
@@ -212,9 +212,9 @@ discard block |
||
| 212 | 212 | |
| 213 | 213 | // Render the template with our vars passed in |
| 214 | 214 | try { |
| 215 | - $htmlText = Craft::$app->view->renderTemplate('disqus/' . $templatePath, $vars); |
|
| 215 | + $htmlText = Craft::$app->view->renderTemplate('disqus/'.$templatePath, $vars); |
|
| 216 | 216 | } catch (\Exception $e) { |
| 217 | - $htmlText = 'Error rendering template ' . $templatePath . ' -> ' . $e->getMessage(); |
|
| 217 | + $htmlText = 'Error rendering template '.$templatePath.' -> '.$e->getMessage(); |
|
| 218 | 218 | Craft::error(Craft::t('disqus', $htmlText), __METHOD__); |
| 219 | 219 | } |
| 220 | 220 | |
@@ -251,10 +251,10 @@ discard block |
||
| 251 | 251 | $hMac = pack( |
| 252 | 252 | 'H*', |
| 253 | 253 | $hashFunc( |
| 254 | - ($key ^ $oPad) . pack( |
|
| 254 | + ($key ^ $oPad).pack( |
|
| 255 | 255 | 'H*', |
| 256 | 256 | $hashFunc( |
| 257 | - ($key ^ $iPad) . $data |
|
| 257 | + ($key ^ $iPad).$data |
|
| 258 | 258 | ) |
| 259 | 259 | ) |
| 260 | 260 | ) |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | // Protected Properties |
| 26 | 26 | // ========================================================================= |
| 27 | 27 | |
| 28 | - protected array|bool|int $allowAnonymous = ['logout-redirect']; |
|
| 28 | + protected array | bool | int $allowAnonymous = ['logout-redirect']; |
|
| 29 | 29 | |
| 30 | 30 | // Public Methods |
| 31 | 31 | // ========================================================================= |