Completed
Pull Request — 1.3 (#463)
by Paweł
09:08
created
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.
src/SWP/Bundle/BridgeBundle/EventListener/ValidationListener.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/Bundle/CoreBundle/Theme/Loader/TenantAwareThemeLoader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     {
162 162
         $tenantCode = substr($themeName, strpos($themeName, '@') + 1);
163 163
 
164
-        return array_map(function ($parentName) use ($themeName, $existingThemes, $tenantCode) {
164
+        return array_map(function($parentName) use ($themeName, $existingThemes, $tenantCode) {
165 165
             $parentName .= '@'.$tenantCode;
166 166
             if (!isset($existingThemes[$parentName])) {
167 167
                 throw new ThemeLoadingFailedException(sprintf(
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     private function convertAuthorsArraysToAuthorsObjects(array $authorsArrays)
184 184
     {
185
-        return array_map(function (array $authorArray) {
185
+        return array_map(function(array $authorArray) {
186 186
             return $this->themeAuthorFactory->createFromArray($authorArray);
187 187
         }, $authorsArrays);
188 188
     }
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     private function convertScreenshotsArraysToScreenshotsObjects(array $screenshotsArrays)
196 196
     {
197
-        return array_map(function (array $screenshotArray) {
197
+        return array_map(function(array $screenshotArray) {
198 198
             return $this->themeScreenshotFactory->createFromArray($screenshotArray);
199 199
         }, $screenshotsArrays);
200 200
     }
Please login to merge, or discard this patch.
src/SWP/Bundle/UserBundle/SWPUserBundle.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 User Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/SettingsBundle/SWPSettingsBundle.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 Settings Bundle.
Please login to merge, or discard this patch.
Bundle/CoreBundle/Form/DataTransformer/TenantAwareRouteToIdTransformer.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/CoreBundle/Form/Type/TenantAwareRouteSelectorType.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/CoreBundle/Service/ArticlePublisherInterface.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.