Commit fea11b6d authored by alexpott's avatar alexpott
Browse files

Issue #2803779 by pfrenssen, klausi, Mile23, alexpott, dawehner: Update Coder...

Issue #2803779 by pfrenssen, klausi, Mile23, alexpott, dawehner: Update Coder to 8.2.10 and fix errors from improved sniffs
parent 2b2f939d
......@@ -3043,21 +3043,22 @@
},
{
"name": "drupal/coder",
"version": "8.2.8",
"version": "8.2.10",
"source": {
"type": "git",
"url": "https://github.com/klausi/coder.git",
"reference": "6d717e1a5a5dd592ebbeaafad11746849fb52532"
"reference": "c835ff5c1733676fe0d3f3b861e814d570baaa6f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/klausi/coder/zipball/6d717e1a5a5dd592ebbeaafad11746849fb52532",
"reference": "6d717e1a5a5dd592ebbeaafad11746849fb52532",
"url": "https://api.github.com/repos/klausi/coder/zipball/c835ff5c1733676fe0d3f3b861e814d570baaa6f",
"reference": "c835ff5c1733676fe0d3f3b861e814d570baaa6f",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": ">=5.4.0",
"squizlabs/php_codesniffer": ">=2.5.1",
"squizlabs/php_codesniffer": ">=2.7.0 <3.0",
"symfony/yaml": ">=2.0.0"
},
"require-dev": {
......@@ -3075,7 +3076,7 @@
"phpcs",
"standards"
],
"time": "2016-07-05T20:48:03+00:00"
"time": "2016-12-09T21:57:53+00:00"
},
{
"name": "fabpot/goutte",
......
......@@ -38,7 +38,7 @@
"require-dev": {
"behat/mink": "1.7.x-dev",
"behat/mink-goutte-driver": "~1.2",
"drupal/coder": "8.2.8",
"drupal/coder": "8.2.10",
"jcalderonzumba/gastonjs": "~1.0.2",
"jcalderonzumba/mink-phantomjs-driver": "~0.3.1",
"mikey179/vfsStream": "~1.2",
......
......@@ -730,7 +730,7 @@ function drupal_installation_attempted() {
* installation state. At all other times, the "install_profile" setting will be
* available in container as a parameter.
*
* @return string|null $profile
* @return string|null
* The name of the installation profile or NULL if no installation profile is
* currently active. This is the case for example during the first steps of
* the installer or during unit tests.
......
......@@ -37,7 +37,7 @@ public function setHeader(PoHeader $header);
/**
* Get header metadata.
*
* @return \Drupal\Component\Gettext\PoHeader $header
* @return \Drupal\Component\Gettext\PoHeader
* Header instance representing metadata in a PO header.
*/
public function getHeader();
......
......@@ -28,7 +28,7 @@ public function getContextDefinitions();
* @param string $name
* The name of the context in the plugin definition.
*
* @return \Drupal\Component\Plugin\Context\ContextDefinitionInterface.
* @return \Drupal\Component\Plugin\Context\ContextDefinitionInterface
* The definition against which the context value must validate.
*
* @throws \Drupal\Component\Plugin\Exception\PluginException
......@@ -103,7 +103,7 @@ public function setContext($name, ContextInterface $context);
* The value to set the context to. The value has to validate against the
* provided context definition.
*
* @return \Drupal\Component\Plugin\ContextAwarePluginInterface.
* @return \Drupal\Component\Plugin\ContextAwarePluginInterface
* A context aware plugin object for chaining.
*
* @throws \Drupal\Component\Plugin\Exception\PluginException
......
......@@ -102,7 +102,7 @@ public function setConfigurationValue($key, $value);
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return array $form
* @return array
* The renderable form array representing the entire configuration form.
*/
public function blockForm($form, FormStateInterface $form_state);
......
......@@ -675,7 +675,7 @@ protected function drupalGetPath($type, $name) {
/**
* Gets the install profile from settings.
*
* @return string|null $profile
* @return string|null
* The name of the installation profile or NULL if no installation profile
* is currently active. This is the case for example during the first steps
* of the installer or during unit tests.
......
......@@ -69,7 +69,7 @@ public function getLanguage() {
/**
* Get configuration overrides.
*
* @return array.
* @return array
* The array of configuration overrides.
*/
public function getOverrides() {
......
......@@ -287,7 +287,7 @@ protected function languageManager() {
* \Drupal\Core\DependencyInjection\ContainerInjectionInterface should be used
* for injecting services.
*
* @return \Symfony\Component\DependencyInjection\ContainerInterface $container
* @return \Symfony\Component\DependencyInjection\ContainerInterface
* The service container.
*/
private function container() {
......
......@@ -16,7 +16,7 @@ interface ContentEntityFormInterface extends EntityFormInterface {
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return \Drupal\Core\Entity\Display\EntityFormDisplayInterface.
* @return \Drupal\Core\Entity\Display\EntityFormDisplayInterface
* The current form display.
*/
public function getFormDisplay(FormStateInterface $form_state);
......
......@@ -16,7 +16,7 @@ interface EntityTypeManagerInterface extends PluginManagerInterface, CachedDisco
* @param string $entity_type
* The entity type for this access control handler.
*
* @return \Drupal\Core\Entity\EntityAccessControlHandlerInterface.
* @return \Drupal\Core\Entity\EntityAccessControlHandlerInterface
* A access control handler instance.
*/
public function getAccessControlHandler($entity_type);
......@@ -40,7 +40,7 @@ public function getStorage($entity_type);
* @param string $entity_type
* The entity type for this view builder.
*
* @return \Drupal\Core\Entity\EntityViewBuilderInterface.
* @return \Drupal\Core\Entity\EntityViewBuilderInterface
* A view builder instance.
*/
public function getViewBuilder($entity_type);
......
......@@ -44,7 +44,7 @@ public function exists($field, $function, $langcode = NULL);
* Queries for the nonexistence of a field.
*
* @param string $field
* @return ConditionInterface;
* @return ConditionInterface
* @see \Drupal\Core\Entity\Query\QueryInterface::notexists()
*/
public function notExists($field, $function, $langcode = NULL);
......
......@@ -50,7 +50,7 @@ public function exists($field, $langcode = NULL);
* Queries for the existence of a field.
*
* @param string $field
* @return ConditionInterface;
* @return ConditionInterface
* @see \Drupal\Core\Entity\Query\QueryInterface::notexists()
*/
public function notExists($field, $langcode = NULL);
......
......@@ -1723,9 +1723,9 @@ function hook_entity_bundle_field_info(\Drupal\Core\Entity\EntityTypeInterface $
if ($entity_type->id() == 'node' && $bundle == 'article') {
$fields = array();
$fields['mymodule_text_more'] = BaseFieldDefinition::create('string')
->setLabel(t('More text'))
->setComputed(TRUE)
->setClass('\Drupal\mymodule\EntityComputedMoreText');
->setLabel(t('More text'))
->setComputed(TRUE)
->setClass('\Drupal\mymodule\EntityComputedMoreText');
return $fields;
}
}
......
......@@ -69,7 +69,7 @@ public function getConfig() {
* https://www.drupal.org/node/1764380.
* @todo This does not set a value in \Drupal::config(), so the name is confusing.
*
* @return \Drupal\Core\Executable\ExecutablePluginBase.
* @return \Drupal\Core\Executable\ExecutablePluginBase
* The executable object for chaining.
*/
public function setConfig($key, $value) {
......
......@@ -147,7 +147,7 @@ public function resetConfigFactory() {
/**
* Gets the request object.
*
* @return \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
* The request object.
*/
protected function getRequest() {
......@@ -200,7 +200,7 @@ protected function currentUser() {
* \Drupal\Core\DependencyInjection\ContainerInjectionInterface should be used
* for injecting services.
*
* @return \Symfony\Component\DependencyInjection\ContainerInterface $container
* @return \Symfony\Component\DependencyInjection\ContainerInterface
* The service container.
*/
private function container() {
......
......@@ -27,7 +27,7 @@ public function getContextDefinitions();
* @param string $name
* The name of the context in the plugin definition.
*
* @return \Drupal\Core\Plugin\Context\ContextDefinitionInterface.
* @return \Drupal\Core\Plugin\Context\ContextDefinitionInterface
* The definition against which the context value must validate.
*
* @throws \Drupal\Component\Plugin\Exception\PluginException
......
......@@ -80,7 +80,7 @@ public function setPluginId($plugin_id) {
/**
* The selected page display variant plugin ID.
*
* @return string;
* @return string
*/
public function getPluginId() {
return $this->pluginId;
......
......@@ -640,8 +640,10 @@ protected function filterEmbeddedResponse(Request $fake_request, Response $embed
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The request for which a response is being sent.
* @param \Symfony\Component\HttpKernel\HttpKernelInterface::MASTER_REQUEST|\Symfony\Component\HttpKernel\HttpKernelInterface::SUB_REQUEST $request_type
* The request type.
* @param int $request_type
* The request type. Can either be
* \Symfony\Component\HttpKernel\HttpKernelInterface::MASTER_REQUEST or
* \Symfony\Component\HttpKernel\HttpKernelInterface::SUB_REQUEST.
* @param \Symfony\Component\HttpFoundation\Response $response
* The response to filter.
*
......
......@@ -113,7 +113,7 @@ public function populateFromRouteMatch(RouteMatchInterface $route_match) {
/**
* Gets the entity instance for this mapper.
*
* @return \Drupal\Core\Config\Entity\ConfigEntityInterface $entity
* @return \Drupal\Core\Config\Entity\ConfigEntityInterface
* The configuration entity.
*/
public function getEntity() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment