@@ -85,8 +85,8 @@ |
||
| 85 | 85 | /** |
| 86 | 86 | * Test if file has content. |
| 87 | 87 | * |
| 88 | - * @param $file |
|
| 89 | - * @param $content |
|
| 88 | + * @param string $file |
|
| 89 | + * @param string $content |
|
| 90 | 90 | * @return bool |
| 91 | 91 | */ |
| 92 | 92 | private function fileHasContent($file, $content) |
@@ -23,12 +23,12 @@ discard block |
||
| 23 | 23 | $command = $application->find('install'); |
| 24 | 24 | $commandTester = new CommandTester($command); |
| 25 | 25 | $commandTester->execute([ |
| 26 | - 'command' => $command->getName(). |
|
| 26 | + 'command' => $command->getName() . |
|
| 27 | 27 | '--force' |
| 28 | 28 | ]); |
| 29 | 29 | |
| 30 | 30 | $this->assertTrue( |
| 31 | - $this->fileHasContent('/composer.json','acacha/admin-lte-template-laravel')); |
|
| 31 | + $this->fileHasContent('/composer.json', 'acacha/admin-lte-template-laravel')); |
|
| 32 | 32 | |
| 33 | 33 | $this->assertTrue( |
| 34 | 34 | $this->fileHasContent( |
@@ -91,6 +91,6 @@ discard block |
||
| 91 | 91 | */ |
| 92 | 92 | private function fileHasContent($file, $content) |
| 93 | 93 | { |
| 94 | - return strpos(file_get_contents(getcwd().$file), $content) != false; |
|
| 94 | + return strpos(file_get_contents(getcwd() . $file), $content) != false; |
|
| 95 | 95 | } |
| 96 | 96 | } |
| 97 | 97 | \ No newline at end of file |
@@ -1,3 +1,3 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require __DIR__.'/../vendor/autoload.php'; |
|
| 3 | +require __DIR__ . '/../vendor/autoload.php'; |
|