Completed
Push — GildedRose/AlbertAndMarcos ( c4eed1 )
by Albert
02:33
created
main_script.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     echo("-------- day $i --------\n");
32 32
     echo("name, sellIn, quality\n");
33 33
     foreach ($items as $item) {
34
-        echo $item . PHP_EOL;
34
+        echo $item.PHP_EOL;
35 35
     }
36 36
     echo PHP_EOL;
37 37
     $app->update_quality();
Please login to merge, or discard this patch.
src/GildedRoseKata/ItemFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public static function fromItem(Item $item)
8 8
     {
9
-        switch($item->name)
9
+        switch ($item->name)
10 10
         {
11 11
             case AgedBrieItem::ITEM_NAME:
12 12
                 return new AgedBrieItem($item);
Please login to merge, or discard this patch.