Skip to content

Commit

Permalink
Merge pull request #2 from jeromegamez/tightened-collections
Browse files Browse the repository at this point in the history
Replace illuminate/support with tightenco/collect
  • Loading branch information
sergiorodenas authored Jul 13, 2018
2 parents f9117bf + 52a0119 commit ce0d946
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

"require": {
"php": "^7.0",
"illuminate/support": "5.5.*|5.6.*",
"maxakawizard/json-collection-parser": "^1.1"
"maxakawizard/json-collection-parser": "^1.1",
"tightenco/collect": "^5.5.33"
},

"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Parsers/CSVParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
namespace Rodenastyle\StreamParser\Parsers;


use Illuminate\Support\Collection;
use Rodenastyle\StreamParser\Exceptions\IncompleteParseException;
use Rodenastyle\StreamParser\StreamParserInterface;
use Tightenco\Collect\Support\Collection;

class CSVParser implements StreamParserInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parsers/JSONParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use Rodenastyle\StreamParser\Services\JsonCollectionParser as Parser;
use Rodenastyle\StreamParser\StreamParserInterface;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;

class JSONParser implements StreamParserInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parsers/XMLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

use Rodenastyle\StreamParser\Exceptions\IncompleteParseException;
use Rodenastyle\StreamParser\StreamParserInterface;
use Tightenco\Collect\Support\Collection;
use XMLReader;
use Illuminate\Support\Collection;


class XMLParser implements StreamParserInterface
Expand Down
2 changes: 1 addition & 1 deletion tests/Parsers/CSVParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use PHPUnit\Framework\TestCase;
use Rodenastyle\StreamParser\StreamParser;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;

class CSVParserTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Parsers/JSONParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use Rodenastyle\StreamParser\Test\TestCase;
use Rodenastyle\StreamParser\StreamParser;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;

class JSONParserTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Parsers/XMLParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

namespace Rodenastyle\StreamParser\Test\Parsers;

use Illuminate\Support\Collection;
use Rodenastyle\StreamParser\StreamParser;
use Rodenastyle\StreamParser\Test\Contracts\ElementAttributesManagement;
use Rodenastyle\StreamParser\Test\Contracts\ElementListManagement;
use Rodenastyle\StreamParser\Test\TestCase;
use Tightenco\Collect\Support\Collection;

class XMLParserTest extends TestCase implements ElementAttributesManagement, ElementListManagement {

Expand Down

0 comments on commit ce0d946

Please sign in to comment.