Test Failed
Push — trunk ( b76cfb...dfde47 )
by SuperNova.WS
03:49
created
tools/classes/SpriteLine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
    * @return static|null
28 28
    */
29 29
   public function fillLine($image, $gridSize) {
30
-    if($image->isAnimatedGif()) {
30
+    if ($image->isAnimatedGif()) {
31 31
       $line = new SpriteLineGif();
32 32
     } else {
33 33
       $line = $this->isFull($gridSize) ? new static() : $this;
Please login to merge, or discard this patch.
tools/classes/Sprite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
       $line->generate($this->height, $scaleToPx);
81 81
 
82 82
       $this->height += $line->height;
83
-      $this->width  = max($this->width, $line->width);
83
+      $this->width = max($this->width, $line->width);
84 84
 
85 85
 //      $line->image->savePng(__DIR__ . '/../gif_line_' . $this->height . '.png'); // TODO remove debug
86 86
     }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
   protected function createGrid() {
165 165
     $this->lineIndex = 0;
166 166
 
167
-    usort($this->imageList, function (ImageFile $a, ImageFile $b) { return $b->height - $a->height; });
167
+    usort($this->imageList, function(ImageFile $a, ImageFile $b) { return $b->height - $a->height; });
168 168
 
169 169
     $prevLine = new SpriteLine();
170 170
     foreach ($this->imageList as $image) {
Please login to merge, or discard this patch.