Completed
Push — master ( 5cf6af...5fc3b4 )
by Nils
02:44
created
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/Http/Response.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
         return $this->getStatusCode();
14 14
     }
15 15
 
16
+    /**
17
+     * @return string
18
+     */
16 19
     public function getContentType()
17 20
     {
18 21
         $exploded = explode(';', $this->hasHeader('Content-Type') ? $this->getHeader('Content-Type')[0] : null);
Please login to merge, or discard this patch.
src/Extensions/SmokeReporter/Reporter/KoalamonReporter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -159,6 +159,10 @@
 block discarded – undo
159 159
         }
160 160
     }
161 161
 
162
+    /**
163
+     * @param string $identifier
164
+     * @param string $message
165
+     */
162 166
     public function send($identifier, $system, $message, $status, $url = '', $value = 0)
163 167
     {
164 168
         $event = new Event($identifier, $system, $status, $this->tool, $message, $value);
Please login to merge, or discard this patch.
src/Rules/Html/RegExExistsRule.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
     protected $contentTypes = array('text/html');
16 16
 
17 17
     /**
18
-     * @param int $string The string that the document must contain
19 18
      */
20 19
     public function init(array $regExs)
21 20
     {
Please login to merge, or discard this patch.
src/Rules/Html/RegExNotExistsRule.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
     protected $contentTypes = array('text/html');
16 16
 
17 17
     /**
18
-     * @param int $string The string that the document must contain
19 18
      */
20 19
     public function init(array $regExs)
21 20
     {
Please login to merge, or discard this patch.
src/Rules/Xml/Sitemap/ValidRule.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -16,11 +16,18 @@
 block discarded – undo
16 16
 
17 17
     protected $contentTypes = array('text/xml', 'application/xml');
18 18
 
19
+    /**
20
+     * @param boolean $isIndex
21
+     */
19 22
     private function getSchema($isIndex)
20 23
     {
21 24
         return ($isIndex) ?  __DIR__ . '/' . self::INDEX : __DIR__ . '/' . self::SCHEMA;
22 25
     }
23 26
 
27
+    /**
28
+     * @param \Psr\Http\Message\StreamInterface $body
29
+     * @param string $filename
30
+     */
24 31
     private function validateBody($body, $filename, $isIndex = TRUE)
25 32
     {
26 33
         $dom = new \DOMDocument();
Please login to merge, or discard this patch.