Completed
Push — master ( 8034c6...a22340 )
by Nils
04:00
created
src/Extensions/SmokeReporter/Reporter/KoalamonReporter.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -70,6 +70,11 @@
 block discarded – undo
70 70
         }
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $identifier
75
+     * @param string $tool
76
+     * @param string $status
77
+     */
73 78
     public function send($identifier, $system, $tool, $message, $status, $url = "")
74 79
     {
75 80
         $curl = curl_init();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                     } else {
82 82
                         $system = $this->system;
83 83
                     }
84
-                    $this->send($identifier, $system, 'smoke', $message, self::STATUS_FAILURE, (string)$result->getUrl());
84
+                    $this->send($identifier, $system, 'smoke', $message, self::STATUS_FAILURE, (string) $result->getUrl());
85 85
                     $failedTests[] = $ruleLKey;
86 86
                 }
87 87
             }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                     } else {
94 94
                         $system = $this->system;
95 95
                     }
96
-                    $this->send($identifier, $system, 'smoke_' . $rule, '', self::STATUS_SUCCESS, (string)$result->getUrl());
96
+                    $this->send($identifier, $system, 'smoke_' . $rule, '', self::STATUS_SUCCESS, (string) $result->getUrl());
97 97
                 }
98 98
             }
99 99
         }
Please login to merge, or discard this patch.
src/Extensions/SmokeResponseRetriever/Retriever/Koalamon/Retriever.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -42,6 +42,11 @@
 block discarded – undo
42 42
         return json_decode($systems->getBody());
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $url
47
+     *
48
+     * @return string
49
+     */
45 50
     private function prepareUrl($url)
46 51
     {
47 52
         $preparedUrl = str_replace("#project#", $this->project, $url);
Please login to merge, or discard this patch.
src/Rules/Seo/PageSpeedRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             return;
24 24
         }
25 25
 
26
-        if(!file_exists($filename) ){
26
+        if (!file_exists($filename)) {
27 27
             return;
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Rules/Seo/RobotsDisallowAllRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             return;
24 24
         }
25 25
 
26
-        if(!file_exists($filename) ){
26
+        if (!file_exists($filename)) {
27 27
             return;
28 28
         }
29 29
 
Please login to merge, or discard this patch.