Passed
Pull Request — master (#23)
by
unknown
02:23
created
code/HTML5Value.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         // Convert any errors to exceptions
14 14
         set_error_handler(
15
-            function ($no, $str) {
15
+            function($no, $str) {
16 16
                 throw new Exception("HTML Parse Error: ".$str);
17 17
             },
18 18
             error_reporting()
Please login to merge, or discard this patch.
tests/HTML5ValueTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     {
82 82
         ShortcodeParser::get('default')->register(
83 83
             'test_shortcode',
84
-            function () {
84
+            function() {
85 85
                 return 'bit of test shortcode output';
86 86
             }
87 87
         );
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             'ExternalURL' => 'https://google.com/search?q=unit&test'
120 120
         ]);
121 121
         $page->write();
122
-        $content = '[sitetree_link,id=' . $page->ID . ']test link[/sitetree_link]';
122
+        $content = '[sitetree_link,id='.$page->ID.']test link[/sitetree_link]';
123 123
         $expected = '<a href="https://google.com/search?q=unit&amp;test">test link</a>';
124 124
         $output = DBHTMLText::create('Test', ['shortcodes' => true])
125 125
             ->setValue($content)
Please login to merge, or discard this patch.