Skip to content

Commit

Permalink
remove unused parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
litmanowicziv committed Sep 6, 2016
1 parent 2af70f7 commit 697ebec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/example.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

require_once 'vendor/autoload.php';
require_once 'src/CSVFeed.php';
require_once 'src/XMLFeed.php';
require_once 'src/HTMLFeed.php';
//require_once 'src/XMLFeed.php';
require_once 'src/JSONFeed.php';

$file = __DIR__ . "/data";
Expand All @@ -21,9 +20,6 @@
case "json":
$reader = new JSONFeed("$file/json-example.json");
break;
case "xml":
$reader = new XMLFeed("$file/xml-example.xml", "item");
break;
default:
throw new Exception("Error: file wasn't choden");
}
Expand Down

0 comments on commit 697ebec

Please sign in to comment.