Passed
Branch v5 (c3238f)
by Andrew
22:41 queued 18:09
created
Category
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/services/DisqusService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             )
Please login to merge, or discard this patch.
src/controllers/DefaultController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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
     // =========================================================================
Please login to merge, or discard this patch.