Completed
Push — master ( ecb12f...eb45ad )
by Marcus
13:46 queued 12s
created
src/Observers/AttributeObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
      *
190 190
      * @param array $attribute The attribute to persist
191 191
      *
192
-     * @return void
192
+     * @return string
193 193
      */
194 194
     protected function persistAttribute(array $attribute)
195 195
     {
Please login to merge, or discard this patch.
src/Observers/AttributeOptionObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      *
165 165
      * @param array $attributeOption The attribute option to persist
166 166
      *
167
-     * @return void
167
+     * @return string
168 168
      */
169 169
     protected function persistAttributeOption(array $attributeOption)
170 170
     {
Please login to merge, or discard this patch.
src/Subjects/BunchSubject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
      */
204 204
     public function preLoadAttributeId(array $attribute)
205 205
     {
206
-        $this->preLoadedAttributeIds[$attribute[MemberNames::ATTRIBUTE_CODE]]= $attribute[MemberNames::ATTRIBUTE_ID];
206
+        $this->preLoadedAttributeIds[$attribute[MemberNames::ATTRIBUTE_CODE]] = $attribute[MemberNames::ATTRIBUTE_ID];
207 207
     }
208 208
 
209 209
     /**
Please login to merge, or discard this patch.
src/Actions/Processors/CatalogAttributeUpdateProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             unset($keys[array_search(EntityStatus::MEMBER_NAME, $keys, true)]);
77 77
 
78 78
             // prepare the SET part of the SQL statement
79
-            array_walk($keys, function (&$value, $key) {
79
+            array_walk($keys, function(&$value, $key) {
80 80
                 $value = sprintf('%s=:%s', $value, $value);
81 81
             });
82 82
 
Please login to merge, or discard this patch.
src/Callbacks/OptionValueAndSwatchHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * Returns the swatch type loader instance.
92 92
      *
93
-     * @return \\TechDivision\Import\Attribute\Callbacks\SwatchTypeLoaderInterface The swatch type loader instance
93
+     * @return SwatchTypeLoaderInterface The swatch type loader instance
94 94
      */
95 95
     protected function getSwatchTypeLoader()
96 96
     {
Please login to merge, or discard this patch.
src/Observers/AttributeOptionValueExportObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $artefacts = array();
62 62
 
63 63
         // load the attribute option values for the custom store views
64
-        $attributeOptionValues = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_VALUES, array(), function ($value) {
64
+        $attributeOptionValues = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_VALUES, array(), function($value) {
65 65
             return $this->explode($value, $this->getMultipleFieldDelimiter());
66 66
         });
67 67
 
Please login to merge, or discard this patch.
src/Observers/AttributeOptionExportObserver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,13 +58,13 @@
 block discarded – undo
58 58
         $artefacts = array();
59 59
 
60 60
         // load the attribute option values/positions
61
-        $attributeOptionValues = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_VALUES, array(), function ($value) {
61
+        $attributeOptionValues = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_VALUES, array(), function($value) {
62 62
             return $this->explode($value, $this->getMultipleFieldDelimiter());
63 63
         });
64
-        $attributeOptionSortOrder = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_SORT_ORDER, array(), function ($value) {
64
+        $attributeOptionSortOrder = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_SORT_ORDER, array(), function($value) {
65 65
             return $this->explode($value, $this->getMultipleFieldDelimiter());
66 66
         });
67
-        $attributeOptionSwatch = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_SWATCH, array(), function ($value) {
67
+        $attributeOptionSwatch = $this->getValue(ColumnKeys::ATTRIBUTE_OPTION_SWATCH, array(), function($value) {
68 68
             return $this->explode($value, $this->getMultipleValueDelimiter());
69 69
         });
70 70
 
Please login to merge, or discard this patch.
RoboFile.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,6 @@
 block discarded – undo
18 18
  * @link      http://www.techdivision.com
19 19
  */
20 20
 
21
-use Lurker\Event\FilesystemEvent;
22
-use Symfony\Component\Finder\Finder;
23
-
24 21
 /**
25 22
  * Defines the available build tasks.
26 23
  *
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
     {
58 58
         // optimize autoloader with custom path
59 59
         return $this->taskComposerInstall()
60
-             ->preferDist()
61
-             ->optimizeAutoloader()
62
-             ->run();
60
+                ->preferDist()
61
+                ->optimizeAutoloader()
62
+                ->run();
63 63
     }
64 64
 
65 65
     /**
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
     {
72 72
         // optimize autoloader with custom path
73 73
         return $this->taskComposerUpdate()
74
-             ->preferDist()
75
-             ->optimizeAutoloader()
76
-             ->run();
74
+                ->preferDist()
75
+                ->optimizeAutoloader()
76
+                ->run();
77 77
     }
78 78
 
79 79
     /**
@@ -94,10 +94,10 @@  discard block
 block discarded – undo
94 94
     public function prepare()
95 95
     {
96 96
         return $this->taskFileSystemStack()
97
-             ->mkdir($this->properties['dist.dir'])
98
-             ->mkdir($this->properties['target.dir'])
99
-             ->mkdir(sprintf('%s/reports', $this->properties['target.dir']))
100
-             ->run();
97
+                ->mkdir($this->properties['dist.dir'])
98
+                ->mkdir($this->properties['target.dir'])
99
+                ->mkdir(sprintf('%s/reports', $this->properties['target.dir']))
100
+                ->run();
101 101
     }
102 102
 
103 103
     /**
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
 
168 168
         // run PHPUnit
169 169
         return $this->taskPHPUnit(sprintf('%s/bin/phpunit', $this->properties['vendor.dir']))
170
-             ->configFile('phpunit.xml')
171
-             ->run();
170
+                ->configFile('phpunit.xml')
171
+                ->run();
172 172
     }
173 173
 
174 174
     /**
Please login to merge, or discard this patch.
src/Services/AttributeBunchProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
285 285
      * ProductProcessor::beginTransaction() starts a new transaction.
286 286
      *
287
-     * @return boolean Returns TRUE on success or FALSE on failure
287
+     * @return boolean|null Returns TRUE on success or FALSE on failure
288 288
      * @link http://php.net/manual/en/pdo.commit.php
289 289
      */
290 290
     public function commit()
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
      * @param string $entityTypeCode The entity type code to return the raw entity for
647 647
      * @param array  $data           An array with data that will be used to initialize the raw entity with
648 648
      *
649
-     * @return array The initialized entity
649
+     * @return \ArrayAccess The initialized entity
650 650
      */
651 651
     public function loadRawEntity($entityTypeCode, array $data = array())
652 652
     {
Please login to merge, or discard this patch.