Completed
Branch master (c0b957)
by Dorian
03:55 queued 01:37
created
src/Gnutix/Library/Dumper/YamlLibraryDumper.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Gnutix\Library\Dumper;
4 4
 
5 5
 use Symfony\Component\Yaml\Dumper;
6
-
7 6
 use Gnutix\Library\LibraryDumperInterface;
8 7
 use Gnutix\Library\LibraryInterface;
9
-
10 8
 use Gnutix\Library\Model\Book;
11 9
 
12 10
 /**
Please login to merge, or discard this patch.
src/Gnutix/Library/LibraryFactory/YamlLibraryFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
                 $release,
183 183
                 'publicationDate',
184 184
                 null,
185
-                function ($data) use ($that) {
185
+                function($data) use ($that) {
186 186
                     return $that->transformToDateTime($data);
187 187
                 }
188 188
             ),
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
                     $release,
192 192
                     'series',
193 193
                     array(),
194
-                    function ($data) use ($that) {
194
+                    function($data) use ($that) {
195 195
                         return $that->renameArrayKeys($data, array('number' => 'bookId'));
196 196
                     }
197 197
                 )
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
                     $release,
202 202
                     'owner',
203 203
                     array(),
204
-                    function ($data) use ($that) {
204
+                    function($data) use ($that) {
205 205
                         return $that->renameArrayKeys($data, array('copies' => 'nbCopies', 'readings' => 'nbReadings'));
206 206
                     }
207 207
                 )
Please login to merge, or discard this patch.
src/Gnutix/StarWarsLibrary/Twig/Extension/StarWarsExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             // Replace the suffixes
68 68
             return preg_replace_callback(
69 69
                 '# ((?:A|B)BY)#',
70
-                function ($matches) use ($suffixes) {
70
+                function($matches) use ($suffixes) {
71 71
                     return $suffixes[$matches[1]];
72 72
                 },
73 73
                 $date
Please login to merge, or discard this patch.