Completed
Pull Request — master (#85)
by
unknown
03:22
created
src/Extensions/SmokeReporter/Reporter/WarmUpLiveReporter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
     public function processResult(Result $result)
19 19
     {
20 20
         ++$this->urlCount;
21
-        $this->output->writeln('   ' . $result->getUrl());
21
+        $this->output->writeln('   '.$result->getUrl());
22 22
         $this->output->writeln('');
23 23
     }
24 24
 
25 25
     public function finish()
26 26
     {
27
-        $this->output->writeln('   <comment>Warm up finished. ' . $this->urlCount . ' urls visited.</comment>');
27
+        $this->output->writeln('   <comment>Warm up finished. '.$this->urlCount.' urls visited.</comment>');
28 28
         $this->output->writeln('');
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Extensions/SmokeReporter/Reporter/XUnitReporter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
                     $testCase->addFailure(new Failure($ruleName, $message));
83 83
 
84 84
                     if ($this->retriever instanceof CrawlingRetriever) {
85
-                        $stackTrace = $result->getUrl() . ' coming from ' . (string) $this->retriever->getComingFrom($result->getUrl()) . PHP_EOL;
86
-                        $stackTrace .= '    - ' . $message . " [rule: $ruleName]";
85
+                        $stackTrace = $result->getUrl().' coming from '.(string) $this->retriever->getComingFrom($result->getUrl()).PHP_EOL;
86
+                        $stackTrace .= '    - '.$message." [rule: $ruleName]";
87 87
                         $testCase->setSystemOut($stackTrace);
88 88
                     }
89 89
                 }
@@ -94,6 +94,6 @@  discard block
 block discarded – undo
94 94
 
95 95
         file_put_contents($this->filename, $xUnitReport->toXml());
96 96
 
97
-        $this->output->writeln('    <info>Writing XUnit Output to file:</info> ' . $this->filename);
97
+        $this->output->writeln('    <info>Writing XUnit Output to file:</info> '.$this->filename);
98 98
     }
99 99
 }
Please login to merge, or discard this patch.
src/Extensions/SmokeReporter/Reporter/CliReporter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
 
31 31
     protected function renderFailure(Result $result)
32 32
     {
33
-        $this->output->writeln('   <error> ' . $result->getUrl() . ' </error> coming from ' . (string) $this->retriever->getComingFrom($result->getUrl()));
33
+        $this->output->writeln('   <error> '.$result->getUrl().' </error> coming from '.(string) $this->retriever->getComingFrom($result->getUrl()));
34 34
         foreach ($result->getMessages() as $ruleName => $message) {
35
-            $this->output->writeln('    - ' . $message . " [rule: $ruleName]");
35
+            $this->output->writeln('    - '.$message." [rule: $ruleName]");
36 36
         }
37 37
         $this->output->writeln('');
38 38
     }
39 39
 
40 40
     protected function renderSuccess(Result $result)
41 41
     {
42
-        $this->output->writeln('   <info> ' . $result->getUrl() . ' </info> all tests passed');
42
+        $this->output->writeln('   <info> '.$result->getUrl().' </info> all tests passed');
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
src/Rules/Html/RegExExistsRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
     protected function doValidation(Response $response)
26 26
     {
27 27
         foreach ($this->regExs as $regEx) {
28
-            $this->assert(preg_match('^' . $regEx . '^', (string) $response->getBody()) > 0,
29
-                'The given regular expression (' . $regEx . ') was not found in this document.');
28
+            $this->assert(preg_match('^'.$regEx.'^', (string) $response->getBody()) > 0,
29
+                'The given regular expression ('.$regEx.') was not found in this document.');
30 30
         }
31 31
     }
32 32
 }
Please login to merge, or discard this patch.