Completed
Push — master ( 654c5d...c6e087 )
by Dorian
02:15
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/StarWarsLibrary/Dumper/YamlLibraryDumper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-     * @param string|int $dateInput
84
+     * @param integer $dateInput
85 85
      *
86 86
      * @return string
87 87
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Gnutix\Library\Dumper\YamlLibraryDumper as BaseYamlLibraryDumper;
6 6
 use Gnutix\Library\LibraryInterface;
7
-
8 7
 use Gnutix\Library\Model\Book;
9 8
 use Gnutix\StarWarsLibrary\Model\ChronologicalMarker;
10 9
 
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.
src/Gnutix/Library/Loader/YamlFileLoader.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Gnutix\Library\Dumper\YamlLibraryDumper as BaseYamlLibraryDumper;
6 6
 use Gnutix\Library\LibraryInterface;
7
-
8 7
 use Gnutix\Library\Model\Book;
9 8
 use Gnutix\StarWarsLibrary\Model\ChronologicalMarker;
10 9
 
Please login to merge, or discard this patch.