Completed
Push — master ( e93157...8451c3 )
by Sergi Tur
09:10
created
tests/InstallCommandTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
bootstrap/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__.'/../vendor/autoload.php';
3
+require __DIR__ . '/../vendor/autoload.php';
Please login to merge, or discard this patch.