Skip to content

Commit d9ad85d

Browse files
authored
style(coder): Update coding standards to Coder 8.3.24 (#1405)
1 parent 4661624 commit d9ad85d

36 files changed

+42
-41
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
jangregor/phpstan-prophecy:^1.0.0 \
108108
phpstan/phpstan-phpunit:^1.0.0 \
109109
phpstan/extension-installer:^1.0
110-
composer --no-interaction --no-progress --with-all-dependencies upgrade drupal/coder:8.3.23
110+
composer --no-interaction --no-progress --with-all-dependencies upgrade drupal/coder:8.3.24
111111
112112
- name: Run PHPStan
113113
if: ${{ matrix.phpstan == '1' }}

examples/graphql_example/src/Plugin/GraphQL/DataProducer/QueryArticles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(
7171
array $configuration,
7272
$pluginId,
7373
$pluginDefinition,
74-
EntityTypeManagerInterface $entityTypeManager
74+
EntityTypeManagerInterface $entityTypeManager,
7575
) {
7676
parent::__construct($configuration, $pluginId, $pluginDefinition);
7777
$this->entityTypeManager = $entityTypeManager;

src/GraphQL/Execution/Executor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function __construct(
150150
$root,
151151
$variables,
152152
$operation,
153-
callable $resolver
153+
callable $resolver,
154154
) {
155155
$this->contextsManager = $contextsManager;
156156
$this->cacheBackend = $cacheBackend;
@@ -191,7 +191,7 @@ public static function create(
191191
$root,
192192
$variables,
193193
$operation,
194-
callable $resolver
194+
callable $resolver,
195195
) {
196196
return new static(
197197
$container->get('cache_contexts_manager'),

src/GraphQL/Execution/ExecutorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function create(
5050
ResolveContext $context,
5151
$variables,
5252
$operation,
53-
callable $resolver
53+
callable $resolver,
5454
) {
5555
return Executor::create($this->container,
5656
$adapter,

src/GraphQL/Execution/ResolveContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function __construct(
7878
OperationParams $operation,
7979
DocumentNode $document,
8080
$type,
81-
array $config
81+
array $config,
8282
) {
8383
$this->addCacheContexts(['user.permissions']);
8484

src/GraphQL/Resolver/DefaultValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function resolve(
5050
$args,
5151
ResolveContext $context,
5252
ResolveInfo $info,
53-
FieldContext $field
53+
FieldContext $field,
5454
) {
5555
$result = $this->value->resolve($value, $args, $context, $info, $field);
5656
if ($result === NULL) {

src/GraphQL/Utility/FileUpload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function __construct(
125125
ConfigFactoryInterface $config_factory,
126126
RendererInterface $renderer,
127127
EventDispatcherInterface $eventDispatcher,
128-
ImageFactory $image_factory
128+
ImageFactory $image_factory,
129129
) {
130130
/** @var \Drupal\file\FileStorageInterface $file_storage */
131131
$file_storage = $entityTypeManager->getStorage('file');

src/Plugin/DataProducerPluginManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct(
6666
CacheBackendInterface $resultCacheBackend,
6767
$pluginInterface,
6868
$pluginAnnotationName,
69-
array $config
69+
array $config,
7070
) {
7171
parent::__construct(
7272
$pluginSubdirectory,

src/Plugin/GraphQL/DataProducer/DataProducerProxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function __construct(
9898
DataProducerPluginManager $pluginManager,
9999
RequestStack $requestStack,
100100
CacheContextsManager $contextsManager,
101-
CacheBackendInterface $cacheBackend
101+
CacheBackendInterface $cacheBackend,
102102
) {
103103
$this->id = $id;
104104
$this->mapping = $mapping;

src/Plugin/GraphQL/DataProducer/Entity/EntityLoad.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function __construct(
121121
array $pluginDefinition,
122122
EntityTypeManagerInterface $entityTypeManager,
123123
EntityRepositoryInterface $entityRepository,
124-
EntityBuffer $entityBuffer
124+
EntityBuffer $entityBuffer,
125125
) {
126126
parent::__construct($configuration, $pluginId, $pluginDefinition);
127127
$this->entityTypeManager = $entityTypeManager;

0 commit comments

Comments
 (0)