Passed
Push — main ( 5f3042...15e595 )
by Peter
06:42
created
src/Events/Listeners/NavigationBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             return;
42 42
         }
43 43
 
44
-        $item   = $this->createContactItem();
44
+        $item = $this->createContactItem();
45 45
 
46 46
         $navigation->addItem($item, static::BASE_WEIGHT);
47 47
     }
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\Contact\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
                     'contact-forms' => 'Form',
29 29
                 ];
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\Contact\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
                     'contact-forms' => 'ContactForm',
33 33
                 ];
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\Contact\Http\Controllers'],
17
-    function (Router $router) {
17
+    function(Router $router) {
18 18
         /** @see \AbterPhp\Contact\Http\Controllers\Website\Contact::submit() */
19 19
         $router->post(
20 20
             '/contact/:formIdentifier',
Please login to merge, or discard this patch.
tests/Events/Listeners/TemplateInitializerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function setUp(): void
23 23
     {
24
-        $this->contactLoaderMock        = $this->createMock(ContactLoader::class);
24
+        $this->contactLoaderMock = $this->createMock(ContactLoader::class);
25 25
 
26 26
         $this->sut = new TemplateInitializer($this->contactLoaderMock);
27 27
     }
Please login to merge, or discard this patch.
tests/Orm/DataMappers/FormSqlDataMapperTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                 'max_body_length' => $maxBodyLength,
111 111
             ],
112 112
         ];
113
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
113
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
114 114
 
115 115
         $this->readConnectionMock
116 116
             ->expects($this->once())
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 'max_body_length' => $maxBodyLength,
149 149
             ],
150 150
         ];
151
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
151
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
152 152
 
153 153
         $this->readConnectionMock
154 154
             ->expects($this->once())
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
                 'max_body_length' => $maxBodyLength,
190 190
             ],
191 191
         ];
192
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
192
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
193 193
 
194 194
         $this->readConnectionMock
195 195
             ->expects($this->once())
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
                 'max_body_length' => $maxBodyLength,
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())
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
                 'max_body_length' => $maxBodyLength,
266 266
             ],
267 267
         ];
268
-        $statement0   = MockStatementFactory::createReadStatement($this, $values, $expectedData);
268
+        $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData);
269 269
 
270 270
         $this->readConnectionMock
271 271
             ->expects($this->once())
Please login to merge, or discard this patch.