Completed
Push — feature-images ( 23dd6d...defc63 )
by Arnaud
11:45 queued 08:49
created
src/Step/ConfigImport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $message = sprintf('"%s" theme: no config file', $theme);
45 45
             if (Util::getFS()->exists($themeConfigFile)) {
46 46
                 set_error_handler(
47
-                    function ($severity, $message, $file, $line) {
47
+                    function($severity, $message, $file, $line) {
48 48
                         throw new \ErrorException($message, 0, $severity, $file, $line, null);
49 49
                     }
50 50
                 );
Please login to merge, or discard this patch.
src/Renderer/Twig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         // https://regex101.com/r/dZ02zO/5
96 96
         $this->rendered = preg_replace_callback(
97 97
             '/href="([A-Za-z0-9_\.\-\/]+)\.md(\#[A-Za-z0-9\-]+)?"/is',
98
-            function ($matches) {
98
+            function($matches) {
99 99
                 return \sprintf('href="../%s%s/"', Page::slugify(PrefixSuffix::sub($matches[1])), $matches[2] ?? '');
100 100
             },
101 101
             $this->rendered
Please login to merge, or discard this patch.
src/Assets/Image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             var_dump($img->width());
122 122
             var_dump($img->height());
123 123
 
124
-            $img->resize($this->size, null, function (\Intervention\Image\Constraint $constraint) {
124
+            $img->resize($this->size, null, function(\Intervention\Image\Constraint $constraint) {
125 125
                 $constraint->aspectRatio();
126 126
                 $constraint->upsize();
127 127
             });
Please login to merge, or discard this patch.