Skip to content

Commit

Permalink
Misc coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed Mar 7, 2024
1 parent 8bfa28c commit 0231df3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

namespace Drupal\migrate_embargoes_to_embargo\Plugin\migrate\source;

use Drupal\migrate\Plugin\migrate\source\SourcePluginBase;
use Drupal\migrate\Plugin\MigrationInterface;

use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;

use Drupal\migrate\Plugin\migrate\source\SourcePluginBase;
use Drupal\migrate\Plugin\MigrationInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
Expand Down
3 changes: 3 additions & 0 deletions src/EmbargoExistenceQueryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;

/**
* Helper trait; facilitate filtering of embargoed entities.
*/
trait EmbargoExistenceQueryTrait {

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/EmbargoKernelTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Drupal\Tests\embargo\Kernel;

use Drupal\embargo\Entity\IpRange;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\embargo\EmbargoInterface;
use Drupal\embargo\Entity\IpRange;
use Drupal\embargo\IpRangeInterface;
use Drupal\node\NodeInterface;
use Drupal\Tests\islandora_test_support\Kernel\AbstractIslandoraKernelTestBase;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/IpRangeEmbargoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Drupal\Tests\embargo\Kernel;

use Drupal\node\NodeInterface;
use Drupal\embargo\EmbargoInterface;
use Drupal\embargo\IpRangeInterface;
use Drupal\node\NodeInterface;

/**
* Test IpRange embargo.
Expand Down

0 comments on commit 0231df3

Please sign in to comment.