Completed
Push — master ( db30e2...3405a3 )
by Paweł
08:38
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/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/CoreBundle/Controller/ThemesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         $currentTheme = $tenant->getThemeName();
86 86
         $themes = array_filter(
87 87
             $this->get('sylius.repository.theme')->findAll(),
88
-            function ($element) use (&$tenantCode, $currentTheme) {
88
+            function($element) use (&$tenantCode, $currentTheme) {
89 89
                 if (strpos($element->getName(), ThemeHelper::SUFFIX_SEPARATOR.$tenantCode)) {
90 90
                     return true;
91 91
                 }
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Theme/Uploader/OrganizationAwareThemeUploader.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/Theme/Repository/ReloadableInMemoryRepository.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/Theme/Generator/FakeArticlesGenerator.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/Theme/Generator/ThemeRoutesGenerator.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/Model/OrganizationInterface.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/Theme/Service/ThemeService.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.