Completed
Push — 2761013-watchdog_pager ( c2d4bb...1bc62e )
by Frédéric G.
02:55
created
modules/mongodb_watchdog/src/EventTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
       'severity' => [
73 73
         'label' => t('Severity'),
74 74
         'creation_callback' => 'intval',
75
-        'display_callback' => function ($level) {
75
+        'display_callback' => function($level) {
76 76
           return RfcLogLevel::getLevels()[$level];
77 77
         },
78 78
       ],
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Logger.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -465,14 +465,14 @@
 block discarded – undo
465 465
   }
466 466
 
467 467
     /**
468
-   * Return an array of templates uses during a given request.
469
-   *
470
-   * @param string $unsafe_request_id
471
-   *   A request "unique_id".
472
-   *
473
-   * @return array
474
-   *   An array of EventTemplate instances.
475
-   */
468
+     * Return an array of templates uses during a given request.
469
+     *
470
+     * @param string $unsafe_request_id
471
+     *   A request "unique_id".
472
+     *
473
+     * @return array
474
+     *   An array of EventTemplate instances.
475
+     */
476 476
   public function requestTemplates($unsafe_request_id) {
477 477
     $request_id = "${unsafe_request_id}";
478 478
     $selector = [
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/RequestController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
    */
193 193
   public function track($unique_id) {
194 194
     $logger = \Drupal::logger('test');
195
-    for ($i = 0 ; $i < 1 ; $i++) {
195
+    for ($i = 0; $i < 1; $i++) {
196 196
       $logger->log($i % 8, 'I = @i', ['@i' => $i]);
197 197
     }
198 198
 
Please login to merge, or discard this patch.