@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\Tests\mongodb_watchdog\Unit; |
6 | 6 | |
@@ -51,30 +51,30 @@ discard block |
||
51 | 51 | $expectations = [ |
52 | 52 | // @codingStandardsIgnoreStart |
53 | 53 | // page, count, result |
54 | - [-1, 0, 0], |
|
55 | - [-1, $partial, 0], |
|
56 | - [-1, $one, 0], |
|
57 | - [-1, $oneplus, 0], |
|
58 | - [-1, $two, 0], |
|
54 | + [-1, 0, 0], |
|
55 | + [-1, $partial, 0], |
|
56 | + [-1, $one, 0], |
|
57 | + [-1, $oneplus, 0], |
|
58 | + [-1, $two, 0], |
|
59 | 59 | |
60 | - [ 0, 0, 0], |
|
61 | - [ 0, $partial, 0], |
|
62 | - [ 0, $one, 0], |
|
63 | - [ 0, $oneplus, 0], |
|
64 | - [ 0, $two, 0], |
|
60 | + [0, 0, 0], |
|
61 | + [0, $partial, 0], |
|
62 | + [0, $one, 0], |
|
63 | + [0, $oneplus, 0], |
|
64 | + [0, $two, 0], |
|
65 | 65 | |
66 | - [ 1, 0, 0], |
|
67 | - [ 1, $partial, 0], |
|
68 | - [ 1, $one, 0], |
|
69 | - [ 1, $oneplus, 1], |
|
70 | - [ 1, $two, 1], |
|
66 | + [1, 0, 0], |
|
67 | + [1, $partial, 0], |
|
68 | + [1, $one, 0], |
|
69 | + [1, $oneplus, 1], |
|
70 | + [1, $two, 1], |
|
71 | 71 | |
72 | - [ 2, 0, 0], |
|
73 | - [ 2, $partial, 0], |
|
74 | - [ 2, $one, 0], |
|
75 | - [ 2, $oneplus, 1], |
|
76 | - [ 2, $two, 1], |
|
77 | - [ 2, $twoplus, 2], |
|
72 | + [2, 0, 0], |
|
73 | + [2, $partial, 0], |
|
74 | + [2, $one, 0], |
|
75 | + [2, $oneplus, 1], |
|
76 | + [2, $two, 1], |
|
77 | + [2, $twoplus, 2], |
|
78 | 78 | // @codingStandardsIgnoreEnd |
79 | 79 | ]; |
80 | 80 | return $expectations; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog; |
6 | 6 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | 'severity' => [ |
108 | 108 | 'label' => t('Severity'), |
109 | 109 | 'creation_callback' => 'intval', |
110 | - 'display_callback' => function ($level) { |
|
110 | + 'display_callback' => function($level) { |
|
111 | 111 | return RfcLogLevel::getLevels()[$level]; |
112 | 112 | }, |
113 | 113 | ], |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog\Command; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog\Commands; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog\Install; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog\Controller; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\mongodb_watchdog\Form; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\Tests\mongodb\Kernel; |
6 | 6 |