Completed
Pull Request — 1.3 (#463)
by Paweł
09:08
created
src/SWP/Bundle/CoreBundle/Model/Article.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/MultiTenancyBundle/EventListener/OrganizationSubscriber.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 MultiTenancy Bundle.
Please login to merge, or discard this patch.
src/SWP/Component/MultiTenancy/Model/OrganizationAwareInterface.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 MultiTenancy Component.
Please login to merge, or discard this patch.
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
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.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -74,17 +74,17 @@
 block discarded – undo
74 74
         }
75 75
 
76 76
         return [
77
-           'id' => $tenant->getId(),
78
-           'subdomain' => $tenant->getSubdomain(),
79
-           'domainName' => $tenant->getDomainName(),
80
-           'code' => $tenantCode,
81
-           'name' => $tenant->getName(),
82
-           'ampEnabled' => $tenant->isAmpEnabled(),
77
+            'id' => $tenant->getId(),
78
+            'subdomain' => $tenant->getSubdomain(),
79
+            'domainName' => $tenant->getDomainName(),
80
+            'code' => $tenantCode,
81
+            'name' => $tenant->getName(),
82
+            'ampEnabled' => $tenant->isAmpEnabled(),
83 83
             '_links' => [
84 84
                 'self' => [
85 85
                     'href' => $this->router->generate('swp_api_core_get_tenant', ['code' => $tenantCode]),
86 86
                 ],
87 87
             ],
88
-       ];
88
+        ];
89 89
     }
90 90
 }
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.