@@ -21,7 +21,6 @@ |
||
| 21 | 21 | namespace TechDivision\Import\App; |
| 22 | 22 | |
| 23 | 23 | use Rhumsaa\Uuid\Uuid; |
| 24 | -use Monolog\Logger; |
|
| 25 | 24 | use Psr\Log\LogLevel; |
| 26 | 25 | use Symfony\Component\Console\Output\OutputInterface; |
| 27 | 26 | use Symfony\Component\Console\Helper\FormatterHelper; |
@@ -557,7 +557,7 @@ |
||
| 557 | 557 | $this->fh = fopen($filename = $this->getPidFilename(), 'a+'); |
| 558 | 558 | |
| 559 | 559 | // try to lock the PID file exclusive |
| 560 | - if (!flock($this->fh, LOCK_EX|LOCK_NB)) { |
|
| 560 | + if (!flock($this->fh, LOCK_EX | LOCK_NB)) { |
|
| 561 | 561 | throw new ImportAlreadyRunningException(sprintf('PID file %s is already in use', $filename)); |
| 562 | 562 | } |
| 563 | 563 | |