diff --git a/composer.lock b/composer.lock index 44d2f9ab7913b67dde905ef0418656da33761f88..5d9b96dcd65bd78832fd20543acb0f7bff8dbad1 100644 --- a/composer.lock +++ b/composer.lock @@ -3043,16 +3043,16 @@ }, { "name": "drupal/coder", - "version": "8.2.11", + "version": "8.2.12", "source": { "type": "git", "url": "https://github.com/klausi/coder.git", - "reference": "564a361274d8234d36385766f063ca89c4184479" + "reference": "984c54a7b1e8f27ff1c32348df69712afd86b17f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/klausi/coder/zipball/564a361274d8234d36385766f063ca89c4184479", - "reference": "564a361274d8234d36385766f063ca89c4184479", + "url": "https://api.github.com/repos/klausi/coder/zipball/984c54a7b1e8f27ff1c32348df69712afd86b17f", + "reference": "984c54a7b1e8f27ff1c32348df69712afd86b17f", "shasum": "" }, "require": { @@ -3076,7 +3076,7 @@ "phpcs", "standards" ], - "time": "2017-03-02T08:57:31+00:00" + "time": "2017-03-18T10:28:49+00:00" }, { "name": "fabpot/goutte", diff --git a/core/composer.json b/core/composer.json index d2a41c0ae35dd26248ac4404f8839fb9d197373f..3cd63597cd079ffde45cb931b4ff696892000f10 100644 --- a/core/composer.json +++ b/core/composer.json @@ -38,7 +38,7 @@ "require-dev": { "behat/mink": "1.7.x-dev", "behat/mink-goutte-driver": "~1.2", - "drupal/coder": "8.2.11", + "drupal/coder": "8.2.12", "jcalderonzumba/gastonjs": "~1.0.2", "jcalderonzumba/mink-phantomjs-driver": "~0.3.1", "mikey179/vfsStream": "~1.2", diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php index 7d48a4af3bebb3716193833cce494ecb0923db0e..06fed4b1b04ee5e3fb5e2a1dc7eeb4fcaa34f415 100644 --- a/core/lib/Drupal/Core/Config/ConfigImporter.php +++ b/core/lib/Drupal/Core/Config/ConfigImporter.php @@ -542,7 +542,7 @@ public function initialize() { /** * Processes extensions as a batch operation. * - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * The batch context. */ protected function processExtensions(&$context) { @@ -562,7 +562,7 @@ protected function processExtensions(&$context) { /** * Processes configuration as a batch operation. * - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * The batch context. */ protected function processConfigurations(&$context) { @@ -605,7 +605,7 @@ protected function processConfigurations(&$context) { /** * Handles processing of missing content. * - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * Standard batch context. */ protected function processMissingContent(&$context) { @@ -637,7 +637,7 @@ protected function processMissingContent(&$context) { /** * Finishes the batch. * - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * The batch context. */ protected function finish(&$context) { diff --git a/core/lib/Drupal/Core/Entity/DependencyTrait.php b/core/lib/Drupal/Core/Entity/DependencyTrait.php index 1ba2579d40babc6b39c0ccdbcba952bd2d990151..81112eb725b69e9215e53fb98c21f5a1fe50bfff 100644 --- a/core/lib/Drupal/Core/Entity/DependencyTrait.php +++ b/core/lib/Drupal/Core/Entity/DependencyTrait.php @@ -47,7 +47,7 @@ protected function addDependency($type, $name) { /** * Adds multiple dependencies. * - * @param array $dependencies. + * @param array $dependencies * An array of dependencies keyed by the type of dependency. One example: * @code * array( diff --git a/core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php b/core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php index 76c644d12b21c376668b3221d18b38b8312de8a8..3c94ba7c78b0d483c63f218d5fcfc14ad8b534bb 100644 --- a/core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php @@ -85,7 +85,7 @@ public function existsAggregate($field, $function, $langcode = NULL); /** * Queries for the nonexistence of a field. * - * @param string $field. + * @param string $field * The name of a field. * @param string $function * The aggregate function. diff --git a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php index 9c05dfa4d6f231ffe73c8d14c48dc9653822c6f7..df375207bda85a2117ca51be3feab2983e4a1387 100644 --- a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php @@ -114,7 +114,7 @@ public function exists($field, $langcode = NULL); /** * Queries for an empty field. * - * @param $field. + * @param $field * Name of a field. * @param $langcode * Language code (optional). diff --git a/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php b/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php index 2f965e1c891417086b18975e864b21ee946385db..ea8bff10d50b07a59019dedfd698c04da649666f 100644 --- a/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php +++ b/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php @@ -103,7 +103,7 @@ public function onResponse(FilterResponseEvent $event) { * * This is a PHP implementation of the drupal.active-link JavaScript library. * - * @param string $html_markup. + * @param string $html_markup * The HTML markup to update. * @param string $current_path * The system path of the currently active page. diff --git a/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php b/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php index 836bee87f7bcf502b211bd7871eca252b8be492f..b74fc04f1db2bf2338bcbd70588c6a02f2a00681 100644 --- a/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php +++ b/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php @@ -274,7 +274,7 @@ public function setProfileDirectories(array $paths = NULL) { /** * Filters out extensions not belonging to the scanned installation profiles. * - * @param \Drupal\Core\Extension\Extension[] $all_files. + * @param \Drupal\Core\Extension\Extension[] $all_files * The list of all extensions. * * @return \Drupal\Core\Extension\Extension[] @@ -307,7 +307,7 @@ protected function filterByProfileDirectories(array $all_files) { /** * Sorts the discovered extensions. * - * @param \Drupal\Core\Extension\Extension[] $all_files. + * @param \Drupal\Core\Extension\Extension[] $all_files * The list of all extensions. * @param array $weights * An array of weights, keyed by originating directory. diff --git a/core/lib/Drupal/Core/Form/form.api.php b/core/lib/Drupal/Core/Form/form.api.php index fcf9c2eeb5f0add520080011104498094b373992..ba0e345e025d6b8a82e71b17d11a084367cb53d8 100644 --- a/core/lib/Drupal/Core/Form/form.api.php +++ b/core/lib/Drupal/Core/Form/form.api.php @@ -18,7 +18,7 @@ * @param $MULTIPLE_PARAMS * Additional parameters specific to the batch. These are specified in the * array passed to batch_set(). - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * The batch context array, passed by reference. This contains the following * properties: * - 'finished': A float number between 0 and 1 informing the processing diff --git a/core/lib/Drupal/Core/Menu/menu.api.php b/core/lib/Drupal/Core/Menu/menu.api.php index 12e85ee38ece6a9431dc1c19955aaf926acee150..f932cf9bc4b618184e59738f2fd4034493ac2e32 100644 --- a/core/lib/Drupal/Core/Menu/menu.api.php +++ b/core/lib/Drupal/Core/Menu/menu.api.php @@ -375,7 +375,7 @@ function hook_local_tasks_alter(&$local_tasks) { * links. * @param string $group * The group of contextual links being rendered. - * @param array $route_parameters. + * @param array $route_parameters * The route parameters passed to each route_name of the contextual links. * For example: * @code diff --git a/core/modules/locale/locale.batch.inc b/core/modules/locale/locale.batch.inc index a18f993f55f3cdb723358cf9f76ce6d681782666..7edc85d676a17a201b8c24541da163a9962341a6 100644 --- a/core/modules/locale/locale.batch.inc +++ b/core/modules/locale/locale.batch.inc @@ -33,7 +33,7 @@ * batch is finished. Optional, defaults to TRUE. * - 'use_remote': Whether or not to check the remote translation file. * Optional, defaults to TRUE. - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * The batch context. */ function locale_translation_batch_status_check($project, $langcode, array $options, &$context) { diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc index 81261e7aca4ef229d4fb112cebbbadfeae47552e..3e256c28fd1cb71c1b5dfde301f3e0d5d761a49a 100644 --- a/core/modules/locale/locale.bulk.inc +++ b/core/modules/locale/locale.bulk.inc @@ -185,7 +185,7 @@ function locale_translate_batch_build(array $files, array $options) { * LOCALE_NOT_CUSTOMIZED. * - 'message': Alternative message to display during import. Note, this must * be sanitized text. - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * Contains a list of files imported. */ function locale_translate_batch_import($file, array $options, &$context) { @@ -268,7 +268,7 @@ function locale_translate_batch_import($file, array $options, &$context) { * * Save data of imported files. * - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * Contains a list of imported files. */ function locale_translate_batch_import_save($context) { @@ -293,7 +293,7 @@ function locale_translate_batch_import_save($context) { * * Refreshes translations after importing strings. * - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * Contains a list of strings updated and information about the progress. */ function locale_translate_batch_refresh(&$context) { @@ -597,7 +597,7 @@ function locale_config_batch_build(array $names, array $langcodes, array $option * An array of names of configuration objects to update. * @param array $langcodes * (optional) Array of language codes to update. Defaults to all languages. - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * Contains a list of files imported. * * @see locale_config_batch_build() diff --git a/core/modules/node/node.admin.inc b/core/modules/node/node.admin.inc index fc637bd39f1ab8feda3f3dabec6ff0201ad6de5b..6c3bb5fd3dd564bbdd7b4a1473477d47ae8a9e0f 100644 --- a/core/modules/node/node.admin.inc +++ b/core/modules/node/node.admin.inc @@ -111,7 +111,7 @@ function _node_mass_update_helper(NodeInterface $node, array $updates, $langcode * @param bool $revisions * (optional) TRUE if $nodes contains an array of revision IDs instead of * node IDs. Defaults to FALSE; will be ignored if $load is FALSE. - * @param array|\ArrayAccess $context. + * @param array|\ArrayAccess $context * An array of contextual key/values. */ function _node_mass_update_batch_process(array $nodes, array $updates, $langcode, $load, $revisions, &$context) { diff --git a/core/modules/simpletest/src/TestDiscovery.php b/core/modules/simpletest/src/TestDiscovery.php index d5d7d8a5769015638ea11350808f390ff03f0c94..5374520e5645313fb6e3389a8ee6413467ce8104 100644 --- a/core/modules/simpletest/src/TestDiscovery.php +++ b/core/modules/simpletest/src/TestDiscovery.php @@ -379,7 +379,7 @@ public static function getTestInfo($classname, $doc_comment = NULL) { /** * Parses the phpDoc summary line of a test class. * - * @param string $doc_comment. + * @param string $doc_comment * * @return string * The parsed phpDoc summary line. An empty string is returned if no summary diff --git a/core/modules/views/src/Tests/ViewTestBase.php b/core/modules/views/src/Tests/ViewTestBase.php index c694a8626bc234da879d11c08c81e97f40acaf47..720d528cd346582d987641c1c301a4584a9f5fb4 100644 --- a/core/modules/views/src/Tests/ViewTestBase.php +++ b/core/modules/views/src/Tests/ViewTestBase.php @@ -91,7 +91,7 @@ protected function orderResultSet($result_set, $column, $reverse = FALSE) { * * @param string $id * The HTML ID of the button - * @param string $label. + * @param string $label * The expected label for the button. * @param string $message * (optional) A custom message to display with the assertion. If no custom diff --git a/core/modules/views_ui/src/ViewListBuilder.php b/core/modules/views_ui/src/ViewListBuilder.php index 604426cab0df928b027b7ba63e5a949515da0a02..42166be1a5a9573614c971c602d98ed339b063e8 100644 --- a/core/modules/views_ui/src/ViewListBuilder.php +++ b/core/modules/views_ui/src/ViewListBuilder.php @@ -45,7 +45,7 @@ public static function createInstance(ContainerInterface $container, EntityTypeI * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. - * @param \Drupal\Core\Entity\EntityStorageInterface $storage. + * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\Component\Plugin\PluginManagerInterface $display_manager * The views display plugin manager to use. diff --git a/core/modules/workflows/src/WorkflowInterface.php b/core/modules/workflows/src/WorkflowInterface.php index 77d4a31b4fbbf72596d6742213fac6d827b92bba..d014ddb781de1eaa32f7a8d65881c2e6f2548b6b 100644 --- a/core/modules/workflows/src/WorkflowInterface.php +++ b/core/modules/workflows/src/WorkflowInterface.php @@ -118,7 +118,7 @@ public function getInitialState(); * * @param string $id * The transition ID. - * @param string $label. + * @param string $label * The transition's label. * @param array $from_state_ids * The state IDs to transition from.