Test Failed
Push — master ( 57694c...57b7d4 )
by Hannes
02:30
created
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.