Passed
Branch master (8aa398)
by Andreas
03:27
created
src/Validator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.