diff --git a/EventListener/ClassLoaderListener.php b/EventListener/ClassLoaderListener.php old mode 100755 new mode 100644 diff --git a/Relay/Mutation/MutationFieldDefinition.php b/Relay/Mutation/MutationFieldDefinition.php index 8f5c26ad4..04c040e2f 100644 --- a/Relay/Mutation/MutationFieldDefinition.php +++ b/Relay/Mutation/MutationFieldDefinition.php @@ -11,9 +11,7 @@ namespace Overblog\GraphQLBundle\Relay\Mutation; -use GraphQL\Type\Definition\Config; use Overblog\GraphQLBundle\Definition\Builder\MappingInterface; -use Overblog\GraphQLBundle\Definition\Type; class MutationFieldDefinition implements MappingInterface { diff --git a/Relay/Node/GlobalIdFieldDefinition.php b/Relay/Node/GlobalIdFieldDefinition.php index ed86c68d1..423716671 100644 --- a/Relay/Node/GlobalIdFieldDefinition.php +++ b/Relay/Node/GlobalIdFieldDefinition.php @@ -12,7 +12,6 @@ namespace Overblog\GraphQLBundle\Relay\Node; use Overblog\GraphQLBundle\Definition\Builder\MappingInterface; -use Overblog\GraphQLBundle\Definition\Type; class GlobalIdFieldDefinition implements MappingInterface { diff --git a/Relay/Node/NodeFieldDefinition.php b/Relay/Node/NodeFieldDefinition.php index 9fb870b6d..04f7a8f24 100644 --- a/Relay/Node/NodeFieldDefinition.php +++ b/Relay/Node/NodeFieldDefinition.php @@ -11,9 +11,7 @@ namespace Overblog\GraphQLBundle\Relay\Node; -use GraphQL\Type\Definition\Config; use Overblog\GraphQLBundle\Definition\Builder\MappingInterface; -use Overblog\GraphQLBundle\Definition\Type; class NodeFieldDefinition implements MappingInterface { diff --git a/Relay/Node/PluralIdentifyingRootFieldDefinition.php b/Relay/Node/PluralIdentifyingRootFieldDefinition.php index 146561bee..79cc09d9a 100644 --- a/Relay/Node/PluralIdentifyingRootFieldDefinition.php +++ b/Relay/Node/PluralIdentifyingRootFieldDefinition.php @@ -11,9 +11,7 @@ namespace Overblog\GraphQLBundle\Relay\Node; -use GraphQL\Type\Definition\Config; use Overblog\GraphQLBundle\Definition\Builder\MappingInterface; -use Overblog\GraphQLBundle\Definition\Type; class PluralIdentifyingRootFieldDefinition implements MappingInterface { diff --git a/Request/Executor.php b/Request/Executor.php index 520bddb64..ca8400035 100644 --- a/Request/Executor.php +++ b/Request/Executor.php @@ -12,7 +12,6 @@ namespace Overblog\GraphQLBundle\Request; use GraphQL\GraphQL; -use GraphQL\Language\Source; use GraphQL\Schema; use GraphQL\Validator\DocumentValidator; use GraphQL\Validator\Rules\QueryComplexity; diff --git a/Request/ParserInterface.php b/Request/ParserInterface.php index 13b10c2aa..7cd78138d 100644 --- a/Request/ParserInterface.php +++ b/Request/ParserInterface.php @@ -12,7 +12,6 @@ namespace Overblog\GraphQLBundle\Request; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; interface ParserInterface { @@ -30,8 +29,6 @@ interface ParserInterface * * @param Request $request * - * @throw BadRequestHttpException - * * @return array */ public function parse(Request $request); diff --git a/composer.json b/composer.json index f4e28f111..bcf693406 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "twig/twig": "If you want to use graphiQL." }, "require-dev": { - "fabpot/php-cs-fixer": "^1.11", + "friendsofphp/php-cs-fixer": "^1.11", "sensio/framework-extra-bundle": "^3.0.13", "sllh/php-cs-fixer-styleci-bridge": "^1.5", "symfony/browser-kit": "^2.7|^3.0",