Completed
Push — 0.1 ( e9e76a )
by Paweł
58:18 queued 07:11
created
src/SWP/Bundle/ContentBundle/Doctrine/ORM/ArticleRepository.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.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Provider/ORM/ArticleProvider.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.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Factory/AbstractArticleFactory.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 Bundle.
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     protected function populateLead(PackageInterface $package)
82 82
     {
83
-        return trim($package->getDescription().implode('', array_map(function (ItemInterface $item) {
83
+        return trim($package->getDescription().implode('', array_map(function(ItemInterface $item) {
84 84
             $this->ensureTypeIsAllowed($item->getType());
85 85
 
86 86
             return ' '.$item->getDescription();
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function populateBody(PackageInterface $package)
96 96
     {
97
-        return $package->getBody().' '.implode('', array_map(function (ItemInterface $item) {
97
+        return $package->getBody().' '.implode('', array_map(function(ItemInterface $item) {
98 98
             $this->ensureTypeIsAllowed($item->getType());
99 99
 
100 100
             return $item->getBody();
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Factory/ORM/ArticleFactory.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.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Criteria/Criteria.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.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Pagination/PaginationData.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.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Doctrine/ArticleMediaRepositoryInterface.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.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Doctrine/ImageRepositoryInterface.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.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Doctrine/ORM/FileRepository.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.
Please login to merge, or discard this patch.