Passed
Push — master ( 85e8bc...daebd5 )
by Andrey
01:47
created
src/Services.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -33,48 +33,48 @@  discard block
 block discarded – undo
33 33
     public function register(Container $container): void
34 34
     {
35 35
         $container['serializer.content.class'] = Html::class;
36
-        $container['serializer.content']       = static function () use ($container) : Content {
36
+        $container['serializer.content']       = static function() use ($container) : Content {
37 37
             return new $container['serializer.content.class'];
38 38
         };
39 39
 
40 40
         $container['serializer.front-matter.class'] = Yaml::class;
41
-        $container['serializer.front-matter']       = static function () use ($container) : Data {
41
+        $container['serializer.front-matter']       = static function() use ($container) : Data {
42 42
             return new $container['serializer.front-matter.class'];
43 43
         };
44 44
 
45 45
         $container['serializer.data.class'] = Yaml::class;
46
-        $container['serializer.data']       = static function () use ($container) : Data {
46
+        $container['serializer.data']       = static function() use ($container) : Data {
47 47
             return new $container['serializer.data.class'];
48 48
         };
49 49
 
50
-        $container['filesystem'] = static function (): Filesystem {
50
+        $container['filesystem'] = static function(): Filesystem {
51 51
             return new Filesystem();
52 52
         };
53 53
 
54
-        $container['storage'] = static function () use ($container) : Write {
54
+        $container['storage'] = static function() use ($container) : Write {
55 55
             return new Storage(
56 56
                 'output', $container['filesystem'], $container['serializer.content'],
57 57
                 $container['serializer.front-matter'], $container['serializer.data']
58 58
             );
59 59
         };
60 60
 
61
-        $container['handler.config'] = static function () use ($container) : Config {
61
+        $container['handler.config'] = static function() use ($container) : Config {
62 62
             return new Config($container['storage']);
63 63
         };
64 64
 
65
-        $container['handler.author'] = static function () use ($container) : Handler {
65
+        $container['handler.author'] = static function() use ($container) : Handler {
66 66
             return new Author($container['storage']);
67 67
         };
68 68
 
69
-        $container['handler.term'] = static function () use ($container) : Handler {
69
+        $container['handler.term'] = static function() use ($container) : Handler {
70 70
             return new Term($container['storage'], $container['handler.config']);
71 71
         };
72 72
 
73
-        $container['handler.post'] = static function () use ($container) : Handler {
73
+        $container['handler.post'] = static function() use ($container) : Handler {
74 74
             return new Post($container['storage']);
75 75
         };
76 76
 
77
-        $container['processor'] = static function () use ($container) : Processor {
77
+        $container['processor'] = static function() use ($container) : Processor {
78 78
             $processor = new Processor();
79 79
             $config    = $container['handler.config'];
80 80
             $term      = $container['handler.term'];
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             return $processor;
92 92
         };
93 93
 
94
-        $container['command.import'] = static function () use ($container) : Import {
94
+        $container['command.import'] = static function() use ($container) : Import {
95 95
             return new Import($container);
96 96
         };
97 97
     }
Please login to merge, or discard this patch.
src/Handler/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         'params'     => [
19 19
             'description' => '',
20 20
         ],
21
-        'permalinks' => [ // WP term permalinks are typically singular.
21
+        'permalinks' => [// WP term permalinks are typically singular.
22 22
             'categories' => '/category/:slug/',
23 23
             'tags'       => '/tag/:slug/',
24 24
             'formats'    => '/format/:slug/',
Please login to merge, or discard this patch.
src/Export.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function __construct(string $file)
31 31
     {
32 32
         $this->size     = filesize($file);
33
-        $stream         = new File($file, 16384, function (string $chunk, int $readBytes) {
33
+        $stream         = new File($file, 16384, function(string $chunk, int $readBytes) {
34 34
             $this->bytes = $readBytes;
35 35
         });
36 36
         $parser         = new StringWalker([
Please login to merge, or discard this patch.