Skip to content

Commit 02229e0

Browse files
committed
* Removed deprecated message "Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead." on composer install (#47)
* Removed dead code * Fix ClassLoaderListener permissive permissions
1 parent 5442843 commit 02229e0

File tree

8 files changed

+1
-12
lines changed

8 files changed

+1
-12
lines changed

EventListener/ClassLoaderListener.php

100755100644
File mode changed.

Relay/Mutation/MutationFieldDefinition.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
namespace Overblog\GraphQLBundle\Relay\Mutation;
1313

14-
use GraphQL\Type\Definition\Config;
1514
use Overblog\GraphQLBundle\Definition\Builder\MappingInterface;
16-
use Overblog\GraphQLBundle\Definition\Type;
1715

1816
class MutationFieldDefinition implements MappingInterface
1917
{

Relay/Node/GlobalIdFieldDefinition.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Overblog\GraphQLBundle\Relay\Node;
1313

1414
use Overblog\GraphQLBundle\Definition\Builder\MappingInterface;
15-
use Overblog\GraphQLBundle\Definition\Type;
1615

1716
class GlobalIdFieldDefinition implements MappingInterface
1817
{

Relay/Node/NodeFieldDefinition.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
namespace Overblog\GraphQLBundle\Relay\Node;
1313

14-
use GraphQL\Type\Definition\Config;
1514
use Overblog\GraphQLBundle\Definition\Builder\MappingInterface;
16-
use Overblog\GraphQLBundle\Definition\Type;
1715

1816
class NodeFieldDefinition implements MappingInterface
1917
{

Relay/Node/PluralIdentifyingRootFieldDefinition.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
namespace Overblog\GraphQLBundle\Relay\Node;
1313

14-
use GraphQL\Type\Definition\Config;
1514
use Overblog\GraphQLBundle\Definition\Builder\MappingInterface;
16-
use Overblog\GraphQLBundle\Definition\Type;
1715

1816
class PluralIdentifyingRootFieldDefinition implements MappingInterface
1917
{

Request/Executor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Overblog\GraphQLBundle\Request;
1313

1414
use GraphQL\GraphQL;
15-
use GraphQL\Language\Source;
1615
use GraphQL\Schema;
1716
use GraphQL\Validator\DocumentValidator;
1817
use GraphQL\Validator\Rules\QueryComplexity;

Request/ParserInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Overblog\GraphQLBundle\Request;
1313

1414
use Symfony\Component\HttpFoundation\Request;
15-
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
1615

1716
interface ParserInterface
1817
{
@@ -30,8 +29,6 @@ interface ParserInterface
3029
*
3130
* @param Request $request
3231
*
33-
* @throw BadRequestHttpException
34-
*
3532
* @return array
3633
*/
3734
public function parse(Request $request);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"twig/twig": "If you want to use graphiQL."
3636
},
3737
"require-dev": {
38-
"fabpot/php-cs-fixer": "^1.11",
38+
"friendsofphp/php-cs-fixer": "^1.11",
3939
"sensio/framework-extra-bundle": "^3.0.13",
4040
"sllh/php-cs-fixer-styleci-bridge": "^1.5",
4141
"symfony/browser-kit": "^2.7|^3.0",

0 commit comments

Comments
 (0)