Completed
Push — master ( ef415c...6a5914 )
by Paweł
11s
created
src/SWP/Bundle/MultiTenancyBundle/Command/CreateTenantCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
         $default = $input->getOption('default');
132 132
         if (!$input->getArgument($name) && !$default && $name !== $this->arguments[1]) {
133 133
             $question = new Question(sprintf('<question>Please enter %s:</question>', $name));
134
-            $question->setValidator(function ($argument) use ($name) {
134
+            $question->setValidator(function($argument) use ($name) {
135 135
                 if (empty($argument)) {
136 136
                     throw new \RuntimeException(sprintf('The %s can not be empty', $name));
137 137
                 }
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Serializer/TenantHandler.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -74,16 +74,16 @@
 block discarded – undo
74 74
         }
75 75
 
76 76
         return [
77
-           'id' => $tenant->getId(),
78
-           'subdomain' => $tenant->getSubdomain(),
79
-           'domainName' => $tenant->getDomainName(),
80
-           'name' => $tenant->getName(),
81
-           'ampEnabled' => $tenant->isAmpEnabled(),
77
+            'id' => $tenant->getId(),
78
+            'subdomain' => $tenant->getSubdomain(),
79
+            'domainName' => $tenant->getDomainName(),
80
+            'name' => $tenant->getName(),
81
+            'ampEnabled' => $tenant->isAmpEnabled(),
82 82
             '_links' => [
83 83
                 'self' => [
84 84
                     'href' => $this->router->generate('swp_api_core_get_tenant', ['code' => $tenantCode]),
85 85
                 ],
86 86
             ],
87
-       ];
87
+        ];
88 88
     }
89 89
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Core Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Service/ArticleService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Request/RequestParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Core Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Services/ContentListService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content List Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Services/ContentListServiceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content List Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/EventListener/AddArticleToListListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Core Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/BridgeBundle/EventListener/ValidationExceptionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Bridge Bundle.
Please login to merge, or discard this patch.
src/SWP/Component/Bridge/Events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Bridge Component.
Please login to merge, or discard this patch.