Completed
Pull Request — 1.3 (#471)
by Rafał
17:09 queued 09:19
created
src/SWP/Bundle/CoreBundle/Form/Type/PublishDestinationType.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/Component/Bridge/Model/Rendition.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/Component/Bridge/Model/RenditionInterface.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/CoreBundle/Rule/PublishDestinationResolverInterface.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/Rule/Applicator/PackageRuleApplicator.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/Rule/PublishDestinationResolver.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/EventListener/CanceledPackageListener.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/TemplatesSystemBundle/Form/Type/WidgetType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@  discard block
 block discarded – undo
39 39
 
40 40
         $builder->get('visible')
41 41
             ->addModelTransformer(new CallbackTransformer(
42
-                function ($value) {
42
+                function($value) {
43 43
                     return $value;
44 44
                 },
45
-                function ($value) {
45
+                function($value) {
46 46
                     if (is_bool($value) || in_array($value, ['true', 'false', '1', '0', null])) {
47 47
                         return filter_var($value, FILTER_VALIDATE_BOOLEAN);
48 48
                     }
@@ -53,14 +53,14 @@  discard block
 block discarded – undo
53 53
 
54 54
         $builder->get('parameters')
55 55
             ->addModelTransformer(new CallbackTransformer(
56
-                function ($value) {
56
+                function($value) {
57 57
                     if (is_array($value) && !empty($value)) {
58 58
                         return json_encode($value);
59 59
                     }
60 60
 
61 61
                     return $value;
62 62
                 },
63
-                function ($value) {
63
+                function($value) {
64 64
                     if (is_string($value)) {
65 65
                         return json_decode($value, true);
66 66
                     }
Please login to merge, or discard this patch.
Bundle/CoreBundle/EventSubscriber/ProcessOrganizationRulesSubscriber.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.