Commit 14d17547 authored by catch's avatar catch
Browse files

Issue #3207119 by longwave: Fix 'Squiz.WhiteSpace.ScopeKeywordSpacing' coding standard

parent e3dfd1a9
...@@ -20,7 +20,7 @@ class FileTransferAuthorizeForm extends FormBase { ...@@ -20,7 +20,7 @@ class FileTransferAuthorizeForm extends FormBase {
* *
* @var string * @var string
*/ */
protected $root; protected $root;
/** /**
* Constructs a new FileTransferAuthorizeForm object. * Constructs a new FileTransferAuthorizeForm object.
......
...@@ -208,7 +208,7 @@ protected function blockDisplayOptions(array $form, FormStateInterface $form_sta ...@@ -208,7 +208,7 @@ protected function blockDisplayOptions(array $form, FormStateInterface $form_sta
/** /**
* Set the row style and row style plugins to the display_options. * Set the row style and row style plugins to the display_options.
*/ */
protected function display_options_row(&$display_options, $row_plugin, $row_options) { protected function display_options_row(&$display_options, $row_plugin, $row_options) {
switch ($row_plugin) { switch ($row_plugin) {
case 'full_posts': case 'full_posts':
$display_options['row']['type'] = 'entity:node'; $display_options['row']['type'] = 'entity:node';
......
...@@ -34,7 +34,7 @@ class SettingsTrayTest extends BrowserTestBase { ...@@ -34,7 +34,7 @@ class SettingsTrayTest extends BrowserTestBase {
* @return string * @return string
* The CSS selector. * The CSS selector.
*/ */
protected function getBlockSelector(Block $block) { protected function getBlockSelector(Block $block) {
return '#block-' . $block->id(); return '#block-' . $block->id();
} }
......
...@@ -27,7 +27,7 @@ class CounterTest extends UnitTestCase { ...@@ -27,7 +27,7 @@ class CounterTest extends UnitTestCase {
* *
* @var \Drupal\views\ViewExecutable * @var \Drupal\views\ViewExecutable
*/ */
protected $view; protected $view;
/** /**
* The display plugin instance. * The display plugin instance.
......
...@@ -367,6 +367,7 @@ ...@@ -367,6 +367,7 @@
<property name="ignoreNewlines" value="true"/> <property name="ignoreNewlines" value="true"/>
</properties> </properties>
</rule> </rule>
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/>
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
......
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