Passed
Push — main ( 3db2bc...2f029d )
by Peter
03:06
created
src/Form/Factory/Page/Meta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
             'website:pageOGDescription',
75 75
             Countable::DEFAULT_SIZE
76 76
         );
77
-        $help  = new Help('website:pageOGDescriptionHelp');
77
+        $help = new Help('website:pageOGDescriptionHelp');
78 78
 
79 79
         return new FormGroup($input, $label, $help);
80 80
     }
Please login to merge, or discard this patch.
src/Bootstrappers/Http/Views/BuildersBootstrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
         $viewFactory->registerBuilder(
26 26
             'layouts/frontend/default',
27
-            function (IView $view) use ($container) {
27
+            function(IView $view) use ($container) {
28 28
                 /** @var IEventDispatcher $eventDispatcher */
29 29
                 $eventDispatcher = $container->resolve(IEventDispatcher::class);
30 30
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         );
35 35
         $viewFactory->registerBuilder(
36 36
             'layouts/frontend/empty',
37
-            function (IView $view) use ($container) {
37
+            function(IView $view) use ($container) {
38 38
                 /** @var IEventDispatcher $eventDispatcher */
39 39
                 $eventDispatcher = $container->resolve(IEventDispatcher::class);
40 40
 
Please login to merge, or discard this patch.
src/Events/Listeners/NavigationBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $dropdown[] = $this->createBlockLayoutItem();
49 49
         $dropdown[] = $this->createContentListItem();
50 50
 
51
-        $item   = $this->createPageItem();
51
+        $item = $this->createPageItem();
52 52
         $item->setIntent(Item::INTENT_DROPDOWN);
53 53
         $item->setAttribute(Html5::ATTR_ID, 'nav-pages');
54 54
         $item[0]->setAttribute(Html5::ATTR_HREF, 'javascript:void(0);');
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/Grid/ContentList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     const ENTITY_SINGULAR = 'contentList';
19 19
     const ENTITY_PLURAL   = 'lists';
20 20
 
21
-    const ENTITY_TITLE_PLURAL   = 'website:contentLists';
21
+    const ENTITY_TITLE_PLURAL = 'website:contentLists';
22 22
 
23 23
     const ROUTING_PATH = 'lists';
24 24
 
Please login to merge, or discard this patch.
admin-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  */
20 20
 $router->group(
21 21
     ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'],
22
-    function (Router $router) {
22
+    function(Router $router) {
23 23
         $router->group(
24 24
             [
25 25
                 'path'       => RoutesConfig::getAdminBasePath(),
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
                     Authentication::class,
28 28
                 ],
29 29
             ],
30
-            function (Router $router) {
30
+            function(Router $router) {
31 31
                 $entities = [
32 32
                     'blocks'          => 'Block',
33 33
                     'block-layouts'   => 'BlockLayout',
Please login to merge, or discard this patch.
api-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  */
16 16
 $router->group(
17 17
     ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'],
18
-    function (Router $router) {
18
+    function(Router $router) {
19 19
         $router->group(
20 20
             [
21 21
                 'path' => RoutesConfig::getApiBasePath(),
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                     Api::class,
24 24
                 ],
25 25
             ],
26
-            function (Router $router) {
26
+            function(Router $router) {
27 27
                 $entities = [
28 28
                     'pages'          => 'Page',
29 29
                     'page-layouts'    => 'PageLayout',
Please login to merge, or discard this patch.
website-routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  */
15 15
 $router->group(
16 16
     ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'],
17
-    function (Router $router) {
17
+    function(Router $router) {
18 18
         /** @see \AbterPhp\Website\Http\Controllers\Website\Index::index() */
19 19
         $router->get(
20 20
             '/',
Please login to merge, or discard this patch.
tests/Orm/DataMappers/ContentListItemSqlDataMapperTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
                 'classes'      => $classes,
144 144
             ],
145 145
         ];
146
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
146
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
147 147
 
148 148
         $this->readConnectionMock
149 149
             ->expects($this->once())
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
                 'classes'      => $classes,
186 186
             ],
187 187
         ];
188
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
188
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
189 189
 
190 190
         $this->readConnectionMock
191 191
             ->expects($this->once())
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
                 'classes'      => $classes,
228 228
             ],
229 229
         ];
230
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
230
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
231 231
 
232 232
         $this->readConnectionMock
233 233
             ->expects($this->once())
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
                 'classes'      => $classes,
270 270
             ],
271 271
         ];
272
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
272
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
273 273
 
274 274
         $this->readConnectionMock
275 275
             ->expects($this->once())
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
                 'classes'      => $classes,
314 314
             ],
315 315
         ];
316
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
316
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
317 317
 
318 318
         $this->readConnectionMock
319 319
             ->expects($this->once())
Please login to merge, or discard this patch.
tests/Orm/DataMappers/PageCategorySqlDataMapperTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 'identifier' => $identifier,
89 89
             ],
90 90
         ];
91
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
91
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
92 92
 
93 93
         $this->readConnectionMock
94 94
             ->expects($this->once())
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
                 'identifier' => $identifier,
117 117
             ],
118 118
         ];
119
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
119
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
120 120
 
121 121
         $this->readConnectionMock
122 122
             ->expects($this->once())
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
                 'identifier' => $identifier,
148 148
             ],
149 149
         ];
150
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
150
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
151 151
 
152 152
         $this->readConnectionMock
153 153
             ->expects($this->once())
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                 'identifier' => $identifier,
176 176
             ],
177 177
         ];
178
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
178
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
179 179
 
180 180
         $this->readConnectionMock
181 181
             ->expects($this->once())
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
                 'user_group_ids' => "$ugId0,$ugId1",
208 208
             ],
209 209
         ];
210
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
210
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
211 211
 
212 212
         $this->readConnectionMock
213 213
             ->expects($this->once())
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
                 'identifier' => $identifier,
236 236
             ],
237 237
         ];
238
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
238
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
239 239
 
240 240
         $this->readConnectionMock
241 241
             ->expects($this->once())
Please login to merge, or discard this patch.