Completed
Push — master ( 420c23...920735 )
by Tim
02:06 queued 10s
created
src/Observers/ClearCategoryObserver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 
23 23
 use TechDivision\Import\Category\Utils\ColumnKeys;
24 24
 use TechDivision\Import\Category\Utils\MemberNames;
25
-use TechDivision\Import\Category\Utils\SqlStatementKeys;
26 25
 use TechDivision\Import\Category\Services\CategoryBunchProcessorInterface;
27 26
 
28 27
 /**
Please login to merge, or discard this patch.
src/Repositories/CategoryRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     public function findAllByPath($path)
124 124
     {
125 125
         // load and return the categories with the passed path
126
-        $this->categoryByPathChildrenStmt->execute(array(MemberNames::PATH => $path.'/%'));
126
+        $this->categoryByPathChildrenStmt->execute(array(MemberNames::PATH => $path . '/%'));
127 127
         $result = $this->categoryByPathChildrenStmt->fetchAll(\PDO::FETCH_ASSOC);
128 128
         return $result ? $result : [];
129 129
     }
Please login to merge, or discard this patch.
src/Observers/CategoryObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
         $this->prepareStoreViewCode();
177 177
 
178 178
         // explode the path into the category names
179
-        if ($categories = $this->getValue(ColumnKeys::PATH, array(), function ($value) {
179
+        if ($categories = $this->getValue(ColumnKeys::PATH, array(), function($value) {
180 180
             return $this->serializer->explode($value);
181 181
         })) {
182 182
             // initialize the flag to query whether or not the category is a leaf
Please login to merge, or discard this patch.
src/Observers/NormalizePathObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      */
95 95
     protected function process()
96 96
     {
97
-        $this->setValue(ColumnKeys::PATH, $this->getValue(ColumnKeys::PATH, null, function ($value) {
97
+        $this->setValue(ColumnKeys::PATH, $this->getValue(ColumnKeys::PATH, null, function($value) {
98 98
             return $this->serializer->normalize($value);
99 99
         }));
100 100
     }
Please login to merge, or discard this patch.