Completed
Push — master ( 78e98c...c4ca74 )
by Martin
03:20
created
Category
src/AttributesDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
                 $target = $node->next();
51 51
             }
52 52
 
53
-            if ($target && ($parent = $target->parent()) instanceof ListItem  && $parent->parent() instanceof ListBlock && $parent->parent()->isTight()) {
53
+            if ($target && ($parent = $target->parent()) instanceof ListItem && $parent->parent() instanceof ListBlock && $parent->parent()->isTight()) {
54 54
                 $target = $parent;
55 55
             }
56 56
 
Please login to merge, or discard this patch.
tests/functional/LocalDataTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
         $actualResult = $this->converter->convertToHtml($markdown);
40 40
 
41 41
         $failureMessage = sprintf('Unexpected result for "%s" test', $testName);
42
-        $failureMessage .= "\n=== markdown ===============\n".$markdown;
43
-        $failureMessage .= "\n=== expected ===============\n".$html;
44
-        $failureMessage .= "\n=== got ====================\n".$actualResult;
42
+        $failureMessage .= "\n=== markdown ===============\n" . $markdown;
43
+        $failureMessage .= "\n=== expected ===============\n" . $html;
44
+        $failureMessage .= "\n=== got ====================\n" . $actualResult;
45 45
 
46 46
         $this->assertEquals($html, $actualResult, $failureMessage);
47 47
     }
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
     public function dataProvider()
53 53
     {
54 54
         $ret = [];
55
-        foreach (glob(__DIR__.'/data/*.md') as $markdownFile) {
55
+        foreach (glob(__DIR__ . '/data/*.md') as $markdownFile) {
56 56
             $testName = basename($markdownFile, '.md');
57 57
             $markdown = file_get_contents($markdownFile);
58
-            $html = file_get_contents(__DIR__.'/data/'.$testName.'.html');
58
+            $html = file_get_contents(__DIR__ . '/data/' . $testName . '.html');
59 59
 
60 60
             $ret[] = [$markdown, $html, $testName];
61 61
         }
Please login to merge, or discard this patch.