Commit 6309f944 authored by catch's avatar catch

Issue #2742599 by Mile23: Fix 'Drupal.WhiteSpace.ObjectOperatorSpacing' coding standard

parent ee26b4b8
......@@ -236,7 +236,7 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
/** @var \Drupal\Core\Field\BaseFieldDefinition[] $fields */
$fields = parent::baseFieldDefinitions($entity_type);
$fields['id'] ->setLabel(t('Entity ID'))
$fields['id']->setLabel(t('Entity ID'))
->setDescription(t('The entity ID for this menu link content entity.'));
$fields['uuid']->setDescription(t('The content menu link UUID.'));
......
......@@ -87,6 +87,7 @@
<rule ref="Drupal.Semantics.TInHookSchema"/>
<rule ref="Drupal.WhiteSpace.Comma"/>
<rule ref="Drupal.WhiteSpace.ObjectOperatorIndent"/>
<rule ref="Drupal.WhiteSpace.ObjectOperatorSpacing"/>
<rule ref="Drupal.WhiteSpace.OperatorSpacing"/>
<!-- Generic sniffs -->
......
......@@ -53,7 +53,7 @@ public function testThemeRenderAndAutoescape($arg, $expected) {
$renderer = \Drupal::service('renderer');
$output = $renderer->executeInRenderContext($context, $theme_render_and_autoescape);
$this->assertEquals($expected, $output);
$this-> assertInternalType('string', $output);
$this->assertInternalType('string', $output);
}
/**
......
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