Completed
Push — master ( 6469d9...c2139f )
by Paweł
61:46
created
src/SWP/Bundle/ContentBundle/Provider/ArticleProviderInterface.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/Bundle/ContentBundle/Hydrator/ArticleHydrator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 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.
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             $items = $this->filterTextItems($package->getItems());
86 86
 
87 87
             $map = $items->map(
88
-                function (ItemInterface $item) {
88
+                function(ItemInterface $item) {
89 89
                     return ' '.$item->getDescription();
90 90
                 }
91 91
             );
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     {
106 106
         $items = $this->filterTextItems($package->getItems());
107 107
 
108
-        $authors = array_filter(array_values(array_map(function (ItemInterface $item) {
108
+        $authors = array_filter(array_values(array_map(function(ItemInterface $item) {
109 109
             $metadata = $item->getMetadata();
110 110
 
111 111
             return $metadata['byline'];
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     private function filterTextItems(Collection $items)
122 122
     {
123 123
         return $items->filter(
124
-            function (ItemInterface $item) {
124
+            function(ItemInterface $item) {
125 125
                 $this->ensureTypeIsAllowed($item->getType());
126 126
 
127 127
                 return ItemInterface::TYPE_TEXT === $item->getType();
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     protected function populateBody(PackageInterface $package)
138 138
     {
139
-        return $package->getBody().' '.implode('', array_map(function (ItemInterface $item) {
139
+        return $package->getBody().' '.implode('', array_map(function(ItemInterface $item) {
140 140
             $this->ensureTypeIsAllowed($item->getType());
141 141
 
142 142
             return $item->getBody();
Please login to merge, or discard this patch.
src/SWP/Bundle/TemplatesSystemBundle/DependencyInjection/Configuration.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 Template Engine Bundle.
Please login to merge, or discard this patch.
SWP/Bundle/TemplatesSystemBundle/Repository/ContainerWidgetRepository.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 Templates System Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Model/MenuItem.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/FacebookPageType.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/MenuBundle/Provider/OrmMenuProvider.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 Menu Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Form/Type/ContentListType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 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.
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
 
65 65
         $builder->get('filters')
66 66
             ->addModelTransformer(new CallbackTransformer(
67
-                function ($value) {
67
+                function($value) {
68 68
                     return json_encode($value);
69 69
                 },
70
-                function ($value) {
70
+                function($value) {
71 71
                     if (is_array($value)) {
72 72
                         return $value;
73 73
                     }
Please login to merge, or discard this patch.
src/SWP/Bundle/FacebookInstantArticlesBundle/Model/ApplicationInterface.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 Facebook Instant Articles Bundle.
Please login to merge, or discard this patch.