Completed
Push — psr2-test ( af724f )
by Tomas Norre
15:22
created
domain/process/class.tx_crawler_domain_process_manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         if ($startProcessCount && $this->verbose) {
154 154
             echo 'Start '.$startProcessCount.' new processes (Running:'.$currentProcesses.')';
155 155
         }
156
-        for ($i = 0;$i < $startProcessCount;++$i) {
156
+        for ($i = 0; $i < $startProcessCount; ++$i) {
157 157
             usleep(100);
158 158
             if ($this->startProcess()) {
159 159
                 if ($this->verbose) {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         if (system($completePath) === false) {
183 183
             throw new Exception('could not start process!');
184 184
         } else {
185
-            for ($i = 0;$i < 10;++$i) {
185
+            for ($i = 0; $i < 10; ++$i) {
186 186
                 if ($this->processRepository->countNotTimeouted($ttl) > $current) {
187 187
                     return true;
188 188
                 }
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     {
202 202
         $phpPath = $this->crawlerObj->extensionSettings['phpPath'].' ';
203 203
         $pathToTypo3 = rtrim(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_DOCUMENT_ROOT'), '/');
204
-        $pathToTypo3    .= rtrim(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_PATH'), '/');
204
+        $pathToTypo3 .= rtrim(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_PATH'), '/');
205 205
         $cliPart = '/typo3/cli_dispatch.phpsh crawler';
206 206
 
207 207
         return $phpPath.$pathToTypo3.$cliPart;
Please login to merge, or discard this patch.