Skip to content

Commit 7586fce

Browse files
authored
tests(coder): Update Coder to 8.3.11 (#1103)
1 parent 8e4b807 commit 7586fce

22 files changed

+31
-31
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ install:
105105
phpstan/phpstan-phpunit:^0.12
106106

107107
# Install PHPCS to check for Drupal coding standards.
108-
- travis_retry composer global require drupal/coder:8.3.10
108+
- travis_retry composer global require drupal/coder:8.3.11
109109
- $HOME/.config/composer/vendor/bin/phpcs --config-set installed_paths $HOME/.config/composer/vendor/drupal/coder/coder_sniffer
110110

111111
script:

src/Entity/Server.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function configuration() {
226226
}
227227

228228
/**
229-
* TODO: Handle this through configuration (e.g. a context value).
229+
* @todo Handle this through configuration (e.g. a context value).
230230
*
231231
* Returns to root value to use when resolving queries against the schema.
232232
*
@@ -302,7 +302,7 @@ protected function getContext(SchemaPluginInterface $schema, array $config) {
302302
}
303303

304304
/**
305-
* TODO: Handle this through configuration on the server.
305+
* @todo Handle this through configuration on the server.
306306
*
307307
* Returns the default field resolver.
308308
*
@@ -348,7 +348,7 @@ protected function getErrorFormatter() {
348348
}
349349

350350
/**
351-
* TODO: Handle this through configurable plugins on the server.
351+
* @todo Handle this through configurable plugins on the server.
352352
*
353353
* Returns the error handler.
354354
*
@@ -438,7 +438,7 @@ public function getSortedPersistedQueryInstances() {
438438
}
439439

440440
/**
441-
* TODO: Handle this through configurable plugins on the server.
441+
* @todo Handle this through configurable plugins on the server.
442442
*
443443
* Returns a callable for loading persisted queries.
444444
*
@@ -460,7 +460,7 @@ protected function getPersistedQueryLoader() {
460460
}
461461

462462
/**
463-
* TODO: Handle this through configurable plugins on the server.
463+
* @todo Handle this through configurable plugins on the server.
464464
*
465465
* Returns the validation rules to use for the query.
466466
*

src/GraphQL/Execution/Executor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ protected function doExecuteUncached() {
264264
*/
265265
protected function cachePrefix() {
266266
// Sorting the variables and extensions will cause fewer cache vectors.
267-
// TODO: Should we try to sort these recursively?
267+
// @todo Should we try to sort these recursively?
268268
$variables = $this->variables ?: [];
269269
ksort($variables);
270-
// TODO: Should we submit a pull request to also pass the extensions in the
270+
// @todo Should we submit a pull request to also pass the extensions in the
271271
// executor?
272272
$extensions = $this->context->getOperation()->extensions ?: [];
273273
ksort($extensions);

src/GraphQL/Resolver/Path.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use GraphQL\Type\Definition\ResolveInfo;
1414

1515
/**
16-
* @TODO: Delete this resolver. This is a plugin already.
16+
* @todo Delete this resolver. This is a plugin already.
1717
*/
1818
class Path implements ResolverInterface {
1919

src/GraphQL/ResolverRegistryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function addFieldResolver($type, $field, ResolverInterface $resolver);
4747
public function getFieldResolver($type, $field);
4848

4949
/**
50-
* TODO: Type resolvers should also get their own interface.
50+
* @todo Type resolvers should also get their own interface.
5151
*
5252
* @param string $abstract
5353
* @param callable $resolver

src/Plugin/GraphQL/DataProducer/DataProducerPluginBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function resolveField(FieldContext $field) {
4040
throw new \LogicException('Missing data producer resolve method.');
4141
}
4242

43-
// TODO: The field context should probably be the first argument.
43+
// @todo The field context should probably be the first argument.
4444
$context = $this->getContextValues();
4545
return call_user_func_array(
4646
[$this, 'resolve'],

src/Plugin/GraphQL/DataProducer/Menu/MenuLink/MenuLinkAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Drupal\graphql\Plugin\GraphQL\DataProducer\DataProducerPluginBase;
88

99
/**
10-
* TODO: Fix input context type.
10+
* @todo Fix input context type.
1111
*
1212
* @DataProducer(
1313
* id = "menu_link_attribute",

src/Plugin/GraphQL/DataProducer/Menu/MenuLink/MenuLinkDescription.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Drupal\graphql\Plugin\GraphQL\DataProducer\DataProducerPluginBase;
77

88
/**
9-
* TODO: Fix input context type.
9+
* @todo Fix input context type.
1010
*
1111
* @DataProducer(
1212
* id = "menu_link_description",

src/Plugin/GraphQL/DataProducer/Menu/MenuLink/MenuLinkExpanded.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Drupal\graphql\Plugin\GraphQL\DataProducer\DataProducerPluginBase;
77

88
/**
9-
* TODO: Fix input context type.
9+
* @todo Fix input context type.
1010
*
1111
* @DataProducer(
1212
* id = "menu_link_expanded",

src/Plugin/GraphQL/DataProducer/Menu/MenuLink/MenuLinkLabel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Drupal\graphql\Plugin\GraphQL\DataProducer\DataProducerPluginBase;
77

88
/**
9-
* TODO: Fix input context type.
9+
* @todo Fix input context type.
1010
*
1111
* @DataProducer(
1212
* id = "menu_link_label",

0 commit comments

Comments
 (0)