Passed
Pull Request — 8.x-2.x (#26)
by Frédéric G.
02:49
created
modules/mongodb_watchdog/mongodb_watchdog_event_template.page.inc 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 use Drupal\Core\Render\Element;
11
-use Drupal\Core\Link;
12
-use Drupal\Core\Url;
13 11
 
14 12
 /**
15 13
  * Prepares variables for Event template templates.
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Entity/EventTemplate.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\mongodb_watchdog\Entity;
4 4
 
5
-use Drupal\Core\Entity\EntityStorageInterface;
6
-use Drupal\Core\Field\BaseFieldDefinition;
7 5
 use Drupal\Core\Entity\ContentEntityBase;
8 6
 use Drupal\Core\Entity\EntityChangedTrait;
7
+use Drupal\Core\Entity\EntityStorageInterface;
9 8
 use Drupal\Core\Entity\EntityTypeInterface;
9
+use Drupal\Core\Field\BaseFieldDefinition;
10 10
 use Drupal\user\UserInterface;
11 11
 
12 12
 /**
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
  *   base_table = "mongodb_watchdog_event_template",
40 40
  *   data_table = "mongodb_watchdog_event_template_field_data",
41 41
  *   translatable = TRUE,
42
-  *   admin_permission = "administer event template entities",
42
+ *   admin_permission = "administer event template entities",
43 43
  *   entity_keys = {
44 44
  *     "id" = "id",
45 45
  *     "label" = "name",
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/EventTemplateAccessControlHandler.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\mongodb_watchdog;
4 4
 
5
+use Drupal\Core\Access\AccessResult;
5 6
 use Drupal\Core\Entity\EntityAccessControlHandler;
6 7
 use Drupal\Core\Entity\EntityInterface;
7 8
 use Drupal\Core\Session\AccountInterface;
8
-use Drupal\Core\Access\AccessResult;
9 9
 
10 10
 /**
11 11
  * Access controller for the Event template entity.
Please login to merge, or discard this patch.