Skip to content

Commit

Permalink
BUG Remove dependency on Doctrine module breaking with --prefer-dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Jan 23, 2018
1 parent bdc3530 commit a62dabc
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace SilverStripe\GraphQL;

use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use GraphQL\Executor\ExecutionResult;
use GraphQL\Language\SourceLocation;
use GraphQL\Schema;
Expand Down
2 changes: 1 addition & 1 deletion src/Scaffolding/Scaffolders/OperationScaffolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace SilverStripe\GraphQL\Scaffolding\Scaffolders;

use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Interfaces\ResolverInterface;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\GraphQL\Scaffolding\Traits\Chainable;
Expand Down
2 changes: 1 addition & 1 deletion src/Scaffolding/Scaffolders/QueryScaffolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use SilverStripe\GraphQL\Pagination\Connection;
use SilverStripe\GraphQL\Scaffolding\Interfaces\ManagerMutatorInterface;
use SilverStripe\GraphQL\Scaffolding\Interfaces\ScaffolderInterface;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;

/**
* Scaffolds a GraphQL query field.
Expand Down
2 changes: 1 addition & 1 deletion src/Scaffolding/Scaffolders/SchemaScaffolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use League\Flysystem\Exception;
use SilverStripe\Core\Injector\Injector;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Manager;
use SilverStripe\GraphQL\Scaffolding\Extensions\TypeCreatorExtension;
use SilverStripe\GraphQL\Scaffolding\Interfaces\CRUDInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Scaffolding/Util/ArrayTypeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\GraphQL\Scaffolding\Util;

use GraphQL\Type\Definition\Type;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\ORM\ArrayLib;
use GraphQL\Type\Definition\ObjectType;
use SilverStripe\GraphQL\Scaffolding\Interfaces\TypeParserInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Scaffolding/Util/OperationList.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use SilverStripe\GraphQL\Scaffolding\Interfaces\CRUDInterface;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\OperationScaffolder;
use SilverStripe\ORM\ArrayList;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;

/**
* An array list designed to work with OperationScaffolders
Expand Down
2 changes: 1 addition & 1 deletion src/Scaffolding/Util/StringTypeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\GraphQL\Scaffolding\Util;

use GraphQL\Type\Definition\Type;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Interfaces\TypeParserInterface;
use SilverStripe\Core\Injector\Injectable;

Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Scaffolders/DataObjectScaffolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use SilverStripe\GraphQL\Tests\Fake\FakeSiteTree;
use SilverStripe\GraphQL\Tests\Fake\FakePage;
use SilverStripe\GraphQL\Tests\Fake\FakeRedirectorPage;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\SchemaScaffolder;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\QueryScaffolder;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\CRUD\Create;
Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Scaffolders/OperationScaffolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\GraphQL\Tests\Fake\DataObjectFake;
use SilverStripe\GraphQL\Tests\Fake\OperationScaffolderFake;
use SilverStripe\GraphQL\Tests\Fake\FakeResolver;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\SchemaScaffolder;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\OperationScaffolder;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\ArgumentScaffolder;
Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Scaffolders/QueryScaffolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use SilverStripe\GraphQL\Manager;
use SilverStripe\Dev\SapphireTest;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\QueryScaffolder;
use GraphQL\Type\Definition\ObjectType;

Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Scaffolders/SchemaScaffolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use SilverStripe\GraphQL\Tests\Fake\FakePage;
use SilverStripe\GraphQL\Tests\Fake\FakeRedirectorPage;
use SilverStripe\GraphQL\Tests\Fake\FakeInt;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\SchemaScaffolder;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\QueryScaffolder;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\MutationScaffolder;
Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Util/ArrayTypeParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use GraphQL\Type\Definition\ObjectType;
use GraphQL\Type\Definition\StringType;
use SilverStripe\Dev\SapphireTest;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Util\ArrayTypeParser;

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Util/OperationListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\GraphQL\Tests\Util;

use SilverStripe\Dev\SapphireTest;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Scaffolders\MutationScaffolder;
use SilverStripe\GraphQL\Scaffolding\Util\OperationList;

Expand Down
2 changes: 1 addition & 1 deletion tests/Scaffolding/Util/StringTypeParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\GraphQL\Tests\Util;

use SilverStripe\Dev\SapphireTest;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use SilverStripe\GraphQL\Scaffolding\Util\StringTypeParser;
use GraphQL\Type\Definition\StringType;

Expand Down

0 comments on commit a62dabc

Please sign in to comment.