Skip to content

Commit

Permalink
ACMS-4373: Fix static code warnings in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshreeputra committed Dec 27, 2024
1 parent 66f4cb6 commit 9b1d56d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions modules/acquia_cms_audio/tests/src/Functional/AudioTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Drupal\Tests\acquia_cms_audio\Functional;

use Drupal\Component\Utility\SortArray;
use Drupal\Tests\BrowserTestBase;
use Drupal\taxonomy\Entity\Term;
use Drupal\Tests\BrowserTestBase;

/**
* Tests the Audio media type that ships with Acquia CMS.
Expand Down Expand Up @@ -111,7 +111,7 @@ public function testAudio() : void {
// the URL alias field does not show up.
$assert_session->fieldNotExists('path[0][alias]');
}

/**
* Asserts that the fields are in the correct order.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PermissionsTest extends BrowserTestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->drupalCreateRole([],'content_author');
$this->drupalCreateRole([], 'content_author');
$this->entityTypeManager = $this->container->get("entity_type.manager");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Drupal\Tests\acquia_cms_document\Functional;

use Drupal\Component\Utility\SortArray;
use Drupal\Tests\BrowserTestBase;
use Drupal\file\Entity\File;
use Drupal\taxonomy\Entity\Term;
use Drupal\Tests\BrowserTestBase;

/**
* Tests the Document media type that ships with Acquia CMS.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PermissionsTest extends BrowserTestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->drupalCreateRole([],'content_author');
$this->drupalCreateRole([], 'content_author');
$this->entityTypeManager = $this->container->get("entity_type.manager");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Drupal\Tests\acquia_cms_image\Functional;

use Drupal\Component\Utility\SortArray;
use Drupal\Tests\BrowserTestBase;
use Drupal\taxonomy\Entity\Term;
use Drupal\Tests\BrowserTestBase;

/**
* Tests the Image media type that ships with Acquia CMS.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PermissionsTest extends BrowserTestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->drupalCreateRole([],'content_author');
$this->drupalCreateRole([], 'content_author');
$this->entityTypeManager = $this->container->get("entity_type.manager");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PermissionsTest extends BrowserTestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->drupalCreateRole([],'content_author');
$this->drupalCreateRole([], 'content_author');
$this->entityTypeManager = $this->container->get("entity_type.manager");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Drupal\Tests\acquia_cms_video\Functional;

use Drupal\Component\Utility\SortArray;
use Drupal\Tests\BrowserTestBase;
use Drupal\taxonomy\Entity\Term;
use Drupal\Tests\BrowserTestBase;

/**
* Tests the Video media type that ships with Acquia CMS.
Expand Down

0 comments on commit 9b1d56d

Please sign in to comment.