Test Failed
Push — master ( 540a9b...b1e763 )
by Hannes
02:14
created
features/bootstrap/FeatureContext.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     }
70 70
 
71 71
 
72
-   /**
72
+    /**
73 73
      * @Given the command line argument :argument
74 74
      */
75 75
     public function theCommandLineArgument($argument)
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function __construct()
35 35
     {
36
-        $this->sourceDir = sys_get_temp_dir() . '/readmetester-behat-' . rand() . '/';
36
+        $this->sourceDir = sys_get_temp_dir().'/readmetester-behat-'.rand().'/';
37 37
         mkdir($this->sourceDir);
38 38
     }
39 39
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function aMarkdownFile(PyStringNode $string)
49 49
     {
50
-        file_put_contents($this->sourceDir . rand() . '.md', (string)$string);
50
+        file_put_contents($this->sourceDir.rand().'.md', (string)$string);
51 51
     }
52 52
 
53 53
     /**
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function aSourceFile($filename, PyStringNode $string)
57 57
     {
58
-        file_put_contents($this->sourceDir . $filename, (string)$string);
58
+        file_put_contents($this->sourceDir.$filename, (string)$string);
59 59
     }
60 60
 
61 61
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function iRunReadmeTester()
75 75
     {
76
-        $command = realpath('bin/readme-tester') . " test {$this->sourceDir} --format=json " . implode(' ', $this->args);
76
+        $command = realpath('bin/readme-tester')." test {$this->sourceDir} --format=json ".implode(' ', $this->args);
77 77
         $cwd = getcwd();
78 78
         chdir($this->sourceDir);
79 79
         exec($command, $output, $this->returnValue);
Please login to merge, or discard this patch.
src/SourceFileIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->filename)) as $fileInfo) {
30 30
             $basePath = realpath($this->filename);
31 31
             if (in_array(strtolower($fileInfo->getExtension()), ['md', 'mdown', 'markdown'])) {
32
-                $displayPath = rtrim($this->filename, '/') . str_replace($basePath, '', $fileInfo->getRealPath());
32
+                $displayPath = rtrim($this->filename, '/').str_replace($basePath, '', $fileInfo->getRealPath());
33 33
                 yield $displayPath => $this->readFile($fileInfo->getRealPath());
34 34
             }
35 35
         }
Please login to merge, or discard this patch.
src/Expectation/Regexp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     private function isRegexp(string $input): bool
42 42
     {
43
-        set_error_handler(function () {
43
+        set_error_handler(function() {
44 44
         });
45 45
         $result = preg_match($input, '');
46 46
         restore_error_handler();
Please login to merge, or discard this patch.
src/Example/ExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
             }
104 104
 
105 105
             if (isset($examples[$name])) {
106
-                throw new \RuntimeException("Example '$name' already exists in definition " . ($index + 1));
106
+                throw new \RuntimeException("Example '$name' already exists in definition ".($index + 1));
107 107
             }
108 108
 
109 109
             if (!$this->filter->isValid($name)) {
Please login to merge, or discard this patch.