Completed
Push — master ( 70accb...c646aa )
by Vytautas
05:00 queued 02:15
created
src/Transformer/Fit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $image->fit(
58 58
             $options['width'],
59 59
             $options['height'],
60
-            function ($constraint) {
60
+            function($constraint) {
61 61
                 $constraint->upsize();
62 62
             },
63 63
             $options['position']
Please login to merge, or discard this patch.
src/Controller/ImageController.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
             ->addHeaderLine('Content-Length', $contentLength)
104 104
             // fixme: maybe add cache options to config
105 105
             ->addHeaderLine('Cache-Control', 'max-age=31536000, public')
106
-            ->addHeaderLine('Expires', date_create('+1 years')->format('D, d M Y H:i:s').' GMT');
106
+            ->addHeaderLine('Expires', date_create('+1 years')->format('D, d M Y H:i:s') . ' GMT');
107 107
 
108 108
         $response->setContent($content);
109 109
 
Please login to merge, or discard this patch.
src/Parser/UriParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $container = $this->options['container'];
43 43
         if (!preg_match(
44
-            '/^\/'.preg_quote($container, '/').'(?:\/(?<transformers>[a-zA-Z0-9_\-,\/]+))\/f_key(?<file_path>\/.+)$/',
44
+            '/^\/' . preg_quote($container, '/') . '(?:\/(?<transformers>[a-zA-Z0-9_\-,\/]+))\/f_key(?<file_path>\/.+)$/',
45 45
             $path,
46 46
             $matches
47 47
         )) {
Please login to merge, or discard this patch.