Passed
Pull Request — master (#7)
by Yonel Ceruto
07:59
created
src/Test/FixtureLoader/Cache/CachedFixtureExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     {
63 63
         $executor = $this;
64 64
         $this->getObjectManager()->transactional(
65
-            function () use ($executor, $fixtures, $append) {
65
+            function() use ($executor, $fixtures, $append) {
66 66
                 if ($append === false) {
67 67
                     $executor->purge();
68 68
                 }
Please login to merge, or discard this patch.
src/Type/MutationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $defaults = [
26 26
             'name' => 'Mutation',
27
-            'fields' => function () {
27
+            'fields' => function() {
28 28
                 $mutations = [];
29 29
                 foreach ($this->endpoint->allMutations() as $query) {
30 30
                     $mutations[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/Type/QueryType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     {
38 38
         $defaults = [
39 39
             'name' => 'Query',
40
-            'fields' => function () {
40
+            'fields' => function() {
41 41
                 $queries = [];
42 42
                 foreach ($this->endpoint->allQueries() as $query) {
43 43
                     $queries[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/Resolver/ResolverExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
         //sort by priority
184 184
         usort(
185 185
             $extensions,
186
-            function ($extension1, $extension2) {
186
+            function($extension1, $extension2) {
187 187
                 list($priority1) = $extension1;
188 188
                 list($priority2) = $extension2;
189 189
 
Please login to merge, or discard this patch.
src/Mutation/AbstractMutationResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
         if ($formBuilder) {
41 41
             $formBuilder->addEventSubscriber($this);
42 42
 
43
-            $extensionExecutor = function ($method) {
44
-                return function (FormEvent $event) use ($method) {
43
+            $extensionExecutor = function($method) {
44
+                return function(FormEvent $event) use ($method) {
45 45
                     foreach ($this->extensions as $extension) {
46 46
                         return call_user_func_array([$extension, $method], [$event]);
47 47
                     }
Please login to merge, or discard this patch.
src/Schema/SchemaCompiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $config = [
68 68
             'types' => TypeRegistry::all(),
69
-            'typeLoader' => function ($name) {
69
+            'typeLoader' => function($name) {
70 70
                 return TypeRegistry::get($name);
71 71
             },
72 72
         ];
Please login to merge, or discard this patch.
src/Type/Definition/InterfaceDefinitionType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
             [
47 47
                 'name' => $definition->getName(),
48 48
                 'description' => $definition->getDescription(),
49
-                'fields' => function () {
49
+                'fields' => function() {
50 50
                     return $this->resolveFields();
51 51
                 },
52
-                'resolveType' => function ($value) {
52
+                'resolveType' => function($value) {
53 53
                     foreach ($this->definition->getImplementors() as $implementor) {
54 54
                         $implementorDef = $this->endpoint->getType($implementor);
55 55
                         //ClassUtils::getClass is required to avoid proxies
Please login to merge, or discard this patch.
src/Form/TypeGuesser/DoctrineOrmTypeGuesser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
                 return new TypeGuess(TextType::class, [], Guess::MEDIUM_CONFIDENCE);
86 86
             case Type::SIMPLE_ARRAY:
87 87
             case Type::JSON_ARRAY:
88
-                return new TypeGuess(GraphQLType::class, ['graphql_type' => Types::listOf(Types::STRING) ], Guess::MEDIUM_CONFIDENCE);
88
+                return new TypeGuess(GraphQLType::class, ['graphql_type' => Types::listOf(Types::STRING)], Guess::MEDIUM_CONFIDENCE);
89 89
             case Type::TEXT:
90 90
                 return new TypeGuess(TextareaType::class, [], Guess::MEDIUM_CONFIDENCE);
91 91
             default:
Please login to merge, or discard this patch.
src/Form/TypeGuesser/GraphQLEnumTypeGuesser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      *
83 83
      * @return TypeGuess|null
84 84
      */
85
-    protected function resolveDoctrineEnumBundleType($class, $property):?TypeGuess
85
+    protected function resolveDoctrineEnumBundleType($class, $property): ?TypeGuess
86 86
     {
87 87
         if (!class_exists('\Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType')) {
88 88
             return null;
Please login to merge, or discard this patch.