Passed
Push — master ( 26cfdb...7efbea )
by Rafael
03:57
created
src/YnloGraphQLBundle.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
         $container->registerForAutoconfiguration(InputFieldTypeGuesser::class)->addTag('graphql.input_type_guesser');
56 56
         $container->registerForAutoconfiguration(FilterResolverInterface::class)->addTag('graphql.filter_resolver');
57 57
         $container->registerForAutoconfiguration(FilterInterface::class)
58
-                  ->addTag('graphql.list_filter')
59
-                  ->setPublic(true);
58
+                    ->addTag('graphql.list_filter')
59
+                    ->setPublic(true);
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/DependencyInjection/YnloGraphQLExtension.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         if ($config['graphiql']['authentication']['provider']['lexik_jwt']['enabled'] ?? false) {
108 108
             $providerName = sprintf('security.user.provider.concrete.%s', $config['graphiql']['authentication']['provider']['lexik_jwt']['user_provider']);
109 109
             $container->getDefinition(LexikJWTGraphiQLAuthenticator::class)
110
-                      ->setArgument(1, new Reference($providerName));
110
+                        ->setArgument(1, new Reference($providerName));
111 111
         } else {
112 112
             $container->removeDefinition(LexikJWTGraphiQLAuthenticator::class);
113 113
         }
@@ -116,14 +116,14 @@  discard block
 block discarded – undo
116 116
 
117 117
         //build the ID encoder manager with configured encoder
118 118
         $container->getDefinition(IDEncoderManager::class)
119
-                  ->setPublic(true)
120
-                  ->replaceArgument(0, new Reference($config['id_encoder']));
119
+                    ->setPublic(true)
120
+                    ->replaceArgument(0, new Reference($config['id_encoder']));
121 121
 
122 122
 
123 123
         //endpoint definition
124 124
         $container->getDefinition(GraphQLEndpointController::class)
125
-                  ->addMethodCall('setErrorFormatter', [new Reference($config['error_handling']['formatter'])])
126
-                  ->addMethodCall('setErrorHandler', [new Reference($config['error_handling']['handler'])]);
125
+                    ->addMethodCall('setErrorFormatter', [new Reference($config['error_handling']['formatter'])])
126
+                    ->addMethodCall('setErrorHandler', [new Reference($config['error_handling']['handler'])]);
127 127
 
128 128
         $bundles = $container->getParameter('kernel.bundles');
129 129
         if (isset($bundles['MercureBundle']) && $config['subscriptions']['enabled']) {
@@ -132,19 +132,19 @@  discard block
 block discarded – undo
132 132
             $mercurePublisherReference = new Reference(sprintf('mercure.hub.%s.publisher', $mercureHub));
133 133
 
134 134
             $container->getDefinition(SubscriptionManager::class)
135
-                      ->addArgument(new Reference($config['subscriptions']['pubsub_handler']))
136
-                      ->addArgument(new Parameter('kernel.secret'));
135
+                        ->addArgument(new Reference($config['subscriptions']['pubsub_handler']))
136
+                        ->addArgument(new Parameter('kernel.secret'));
137 137
 
138 138
             $container->getDefinition(Subscriber::class)
139
-                      ->addMethodCall('setMercureHubUrl', [new Parameter('mercure.hubs'), $mercureHub]);
139
+                        ->addMethodCall('setMercureHubUrl', [new Parameter('mercure.hubs'), $mercureHub]);
140 140
 
141 141
             $container->getDefinition(SubscriptionConsumerCommand::class)
142
-                      ->addArgument($mercurePublisherReference);
142
+                        ->addArgument($mercurePublisherReference);
143 143
 
144 144
             $container->getDefinition(GraphQLEndpointController::class)->addMethodCall('setPublisher', [$mercurePublisherReference]);
145 145
 
146 146
             $container->registerForAutoconfiguration(SubscriptionAwareInterface::class)
147
-                      ->addMethodCall('setPublisher', [new Reference(Publisher::class)]);
147
+                        ->addMethodCall('setPublisher', [new Reference(Publisher::class)]);
148 148
         } else {
149 149
             $container->removeDefinition(SubscriptionManager::class);
150 150
             $container->removeDefinition(MercureHubCommand::class);
Please login to merge, or discard this patch.