@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function canReviewFile(FileInterface $file) |
30 | 30 | { |
31 | - return ($file->getExtension() === 'php' && substr($file->getFileName(),-strlen('blade.php'))!='blade.php'); |
|
31 | + return ($file->getExtension() === 'php' && substr($file->getFileName(), -strlen('blade.php')) != 'blade.php'); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $process = $this->getProcess($cmd); |
45 | 45 | $process->run(); |
46 | 46 | |
47 | - if (! in_array(trim($process->getOutput()), ['<?php', '#!/usr/bin/env php'])) { |
|
47 | + if (!in_array(trim($process->getOutput()), ['<?php', '#!/usr/bin/env php'])) { |
|
48 | 48 | $message = 'File must begin with `<?php` or `#!/usr/bin/env php`'; |
49 | 49 | $reporter->error($message, $this, $file); |
50 | 50 |