Commit 89712cf2 authored by effulgentsia's avatar effulgentsia

Issue #2706669 by alexpott, tstoeckler: Fix...

Issue #2706669 by alexpott, tstoeckler: Fix Drupal.Functions.FunctionDeclaration.* coding standards in core
parent f664dfa1
......@@ -91,7 +91,7 @@ public function testThemeBreakpoints() {
/**
* Test the custom breakpoint group provided by a theme and a module.
*/
public function testCustomBreakpointGroups () {
public function testCustomBreakpointGroups() {
// Verify the breakpoint group for breakpoint_theme_test.group2 was created.
$expected_breakpoints = array(
'breakpoint_theme_test.group2.narrow' => array(
......
......@@ -164,7 +164,7 @@ public function testAuthorAutocomplete() {
/**
* Check node/add when no node types exist.
*/
function testNodeAddWithoutContentTypes () {
function testNodeAddWithoutContentTypes() {
$this->drupalGet('node/add');
$this->assertResponse(200);
$this->assertNoLinkByHref('/admin/structure/types/add');
......
......@@ -2262,7 +2262,7 @@ public function preExecute() {
/**
* {@inheritdoc}
*/
public function calculateCacheMetadata () {
public function calculateCacheMetadata() {
$cache_metadata = new CacheableMetadata();
// Iterate over ordinary views plugins.
......
......@@ -20,6 +20,8 @@
<rule ref="Drupal.ControlStructures.ElseIf"/>
<rule ref="Drupal.Files.TxtFileLineLength"/>
<rule ref="Drupal.Functions.DiscouragedFunctions"/>
<rule ref="Drupal.Functions.FunctionDeclaration.SpaceAfter"/>
<rule ref="Drupal.Functions.FunctionDeclaration.SpaceBeforeParenthesis"/>
<rule ref="Drupal.InfoFiles.AutoAddedKeys"/>
<rule ref="Drupal.InfoFiles.ClassFiles"/>
<rule ref="Drupal.InfoFiles.DuplicateEntry"/>
......
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