@@ -95,7 +95,7 @@ |
||
95 | 95 | /** |
96 | 96 | * Return's the row ID of the product that has been created recently. |
97 | 97 | * |
98 | - * @return string The row Id |
|
98 | + * @return integer The row Id |
|
99 | 99 | */ |
100 | 100 | public function getLastRowId() |
101 | 101 | { |
@@ -60,9 +60,9 @@ discard block |
||
60 | 60 | { |
61 | 61 | // optimize autoloader with custom path |
62 | 62 | $this->taskComposerInstall() |
63 | - ->preferDist() |
|
64 | - ->optimizeAutoloader() |
|
65 | - ->run(); |
|
63 | + ->preferDist() |
|
64 | + ->optimizeAutoloader() |
|
65 | + ->run(); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -74,9 +74,9 @@ discard block |
||
74 | 74 | { |
75 | 75 | // optimize autoloader with custom path |
76 | 76 | $this->taskComposerUpdate() |
77 | - ->preferDist() |
|
78 | - ->optimizeAutoloader() |
|
79 | - ->run(); |
|
77 | + ->preferDist() |
|
78 | + ->optimizeAutoloader() |
|
79 | + ->run(); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
@@ -97,10 +97,10 @@ discard block |
||
97 | 97 | public function prepare() |
98 | 98 | { |
99 | 99 | $this->taskFileSystemStack() |
100 | - ->mkdir($this->properties['dist.dir']) |
|
101 | - ->mkdir($this->properties['target.dir']) |
|
102 | - ->mkdir(sprintf('%s/reports', $this->properties['target.dir'])) |
|
103 | - ->run(); |
|
100 | + ->mkdir($this->properties['dist.dir']) |
|
101 | + ->mkdir($this->properties['target.dir']) |
|
102 | + ->mkdir(sprintf('%s/reports', $this->properties['target.dir'])) |
|
103 | + ->run(); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -170,8 +170,8 @@ discard block |
||
170 | 170 | |
171 | 171 | // run PHPUnit |
172 | 172 | $this->taskPHPUnit(sprintf('%s/bin/phpunit', $this->properties['vendor.dir'])) |
173 | - ->configFile('phpunit.xml') |
|
174 | - ->run(); |
|
173 | + ->configFile('phpunit.xml') |
|
174 | + ->run(); |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | /** |
@@ -67,11 +67,11 @@ |
||
67 | 67 | * @param \TechDivision\Import\Connection\ConnectionInterface $connection The connection to use |
68 | 68 | * @param \TechDivision\Import\Category\Ee\Actions\SequenceCategoryAction $sequenceCategoryAction The sequence category action to use |
69 | 69 | * @param \TechDivision\Import\Category\Ee\Repositories\CategoryRepository $categoryRepository The category repository to use |
70 | - * @param \TechDivision\Import\Category\Ee\Repositories\CategoryDatetimeRepository $categoryDatetimeRepository The category datetime repository to use |
|
71 | - * @param \TechDivision\Import\Category\Ee\Repositories\CategoryDecimalRepository $categoryDecimalRepository The category decimal repository to use |
|
72 | - * @param \TechDivision\Import\Category\Ee\Repositories\CategoryIntRepository $categoryIntRepository The category integer repository to use |
|
73 | - * @param \TechDivision\Import\Category\Ee\Repositories\CategoryTextRepository $categoryTextRepository The category text repository to use |
|
74 | - * @param \TechDivision\Import\Category\Ee\Repositories\CategoryVarcharRepository $categoryVarcharRepository The category varchar repository to use |
|
70 | + * @param CategoryDatetimeRepository $categoryDatetimeRepository The category datetime repository to use |
|
71 | + * @param CategoryDecimalRepository $categoryDecimalRepository The category decimal repository to use |
|
72 | + * @param CategoryIntRepository $categoryIntRepository The category integer repository to use |
|
73 | + * @param CategoryTextRepository $categoryTextRepository The category text repository to use |
|
74 | + * @param CategoryVarcharRepository $categoryVarcharRepository The category varchar repository to use |
|
75 | 75 | * @param \TechDivision\Import\Repositories\EavAttributeOptionValueRepository $eavAttributeOptionValueRepository The EAV attribute option value repository to use |
76 | 76 | * @param \TechDivision\Import\Repositories\EavAttributeRepository $eavAttributeRepository The EAV attribute repository to use |
77 | 77 | * @param \TechDivision\Import\Repositories\UrlRewriteRepository $urlRewriteRepository The URL rewrite repository to use |
@@ -53,18 +53,18 @@ |
||
53 | 53 | |
54 | 54 | // create a mock registry processor |
55 | 55 | $mockRegistryProcessor = $this->getMockBuilder('TechDivision\Import\Services\RegistryProcessorInterface') |
56 | - ->setMethods(get_class_methods('TechDivision\Import\Services\RegistryProcessorInterface')) |
|
57 | - ->getMock(); |
|
56 | + ->setMethods(get_class_methods('TechDivision\Import\Services\RegistryProcessorInterface')) |
|
57 | + ->getMock(); |
|
58 | 58 | |
59 | 59 | // create a generator |
60 | 60 | $mockGenerator = $this->getMockBuilder('TechDivision\Import\Utils\Generators\GeneratorInterface') |
61 | - ->setMethods(get_class_methods('TechDivision\Import\Utils\Generators\GeneratorInterface')) |
|
62 | - ->getMock(); |
|
61 | + ->setMethods(get_class_methods('TechDivision\Import\Utils\Generators\GeneratorInterface')) |
|
62 | + ->getMock(); |
|
63 | 63 | |
64 | 64 | // create a mock category processor |
65 | 65 | $mockCategoryProcessor = $this->getMockBuilder('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface') |
66 | - ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface')) |
|
67 | - ->getMock(); |
|
66 | + ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface')) |
|
67 | + ->getMock(); |
|
68 | 68 | |
69 | 69 | // mock the event emitter |
70 | 70 | $mockEmitter = $this->getMockBuilder('League\Event\EmitterInterface') |