Passed
Pull Request — 8.x-2.x (#69)
by Frédéric G.
05:38
created
modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
   /**
277 277
    * Get the log entry information form the page.
278 278
    *
279
-   * @return array
279
+   * @return callable
280 280
    *   List of entries and their information.
281 281
    */
282 282
   protected function getLogEntries(): array {
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.