@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Ottosmops\Pdfvalidate; |
4 | 4 | |
5 | -use Ottosmops\Pdfvalidate\Exceptions\PdfNotValide; |
|
6 | 5 | use Ottosmops\Pdfvalidate\Exceptions\FileNotFound; |
7 | 6 | use Ottosmops\Pdfvalidate\Exceptions\BinaryNotFound; |
8 | 7 | use Ottosmops\Pdfvalidate\Exceptions\MimeTypeIsNotPdf; |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | public function checkExecutable() |
37 | 37 | { |
38 | - $process = new Process('which ' . $this->executable); |
|
38 | + $process = new Process('which '.$this->executable); |
|
39 | 39 | $process->run(); |
40 | 40 | if (!$process->isSuccessful()) { |
41 | 41 | throw new BinaryNotFound($process); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | public function check() |
56 | 56 | { |
57 | - $command = $this->executable . ' -pdf '. $this->file .' - 2>&1 >/dev/null'; |
|
57 | + $command = $this->executable.' -pdf '.$this->file.' - 2>&1 >/dev/null'; |
|
58 | 58 | |
59 | 59 | $process = new Process($command); |
60 | 60 | $process->run(); |