Passed
Pull Request — 8.x-2.x (#60)
by Frédéric G.
05:50 queued 24s
created
modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 use Drupal\Core\Logger\RfcLogLevel;
8 8
 use Drupal\Core\Site\Settings;
9 9
 use Drupal\Core\StringTranslation\StringTranslationTrait;
10
+use Drupal\Tests\BrowserTestBase;
10 11
 use Drupal\mongodb\MongoDb;
11 12
 use Drupal\mongodb_watchdog\Logger;
12
-use Drupal\Tests\BrowserTestBase;
13
-use Psr\Log\LoggerInterface;
14 13
 use Psr\Log\LogLevel;
14
+use Psr\Log\LoggerInterface;
15 15
 use Symfony\Component\HttpFoundation\Response;
16 16
 
17 17
 /**
Please login to merge, or discard this patch.
modules/mongodb_watchdog/tests/src/Kernel/LoggerTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 
7 7
 use Drupal\Core\Logger\RfcLogLevel;
8 8
 use Drupal\Core\StringTranslation\StringTranslationTrait;
9
+use Drupal\Tests\mongodb\Kernel\MongoDbTestBase;
9 10
 use Drupal\mongodb\MongoDb;
10 11
 use Drupal\mongodb_watchdog\Logger;
11
-use Drupal\Tests\mongodb\Kernel\MongoDbTestBase;
12 12
 
13 13
 /**
14 14
  * Class LoggerTest tests the logging mechanism itself.
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Logger.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use MongoDB\Driver\Exception\InvalidArgumentException;
20 20
 use MongoDB\Driver\Exception\RuntimeException;
21 21
 use MongoDB\Driver\WriteConcern;
22
-use MongoDB\Model\CollectionInfo;
23 22
 use MongoDB\Model\CollectionInfoIterator;
24 23
 use Psr\Log\AbstractLogger;
25 24
 use Psr\Log\LogLevel;
Please login to merge, or discard this patch.