File tree Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -40,4 +40,4 @@ public function handle()
4040        copy (__DIR__ .'/../../stubs/index.php ' , public_path ('index.php ' ));
4141        $ this  ->info ('Laravel Shared Hosting was installed successfully. ' );
4242    }
43- }
43+ }
Original file line number Diff line number Diff line change 77
88class  LaravelSharedHostingServiceProvider extends  ServiceProvider
99{
10- 
1110    protected  $ commands  = [
12-         InstallCommand::class
11+         InstallCommand::class, 
1312    ];
1413
1514    /** 
@@ -19,7 +18,6 @@ public function boot()
1918    {
2019        // Registering package commands. 
2120        if  ($ this  ->app ->runningInConsole ()) {
22- 
2321            $ this  ->commands (
2422                $ this  ->commands 
2523            );
@@ -29,7 +27,7 @@ public function boot()
2927    public  function  register ()
3028    {
3129        $ this  ->commands ([
32-             InstallCommand::class
30+             InstallCommand::class, 
3331        ]);
3432    }
3533}
Original file line number Diff line number Diff line change 11<?php 
22
33/** 
4-  * Laravel - A PHP Framework For Web Artisans 
4+  * Laravel - A PHP Framework For Web Artisans.  
55 * 
6-  * @package  Laravel 
76 * @author   Taylor Otwell <taylor@laravel.com> 
87 */ 
9- 
108define ('LARAVEL_START ' , microtime (true ));
119
1210/* 
Original file line number Diff line number Diff line change 22
33namespace  Wewowweb \LaravelSharedHosting \Tests ;
44
5- use  Illuminate \Support \Facades \Artisan ;
65use  Orchestra \Testbench \TestCase ;
6+ use  Illuminate \Support \Facades \Artisan ;
77use  Wewowweb \LaravelSharedHosting \LaravelSharedHostingServiceProvider ;
8+ 
89class  LaravelSharedHostingTest extends  TestCase
910{
10-       protected  function  getPackageProviders ($ app )
11-       {
12-           return  [
13-              LaravelSharedHostingServiceProvider::class
11+     protected  function  getPackageProviders ($ app )
12+     {
13+         return  [
14+              LaravelSharedHostingServiceProvider::class, 
1415         ];
15-       }
16+     }
1617
1718    /** @test */ 
1819    public  function  test_console_install_command ()
@@ -25,4 +26,4 @@ public function test_console_install_command()
2526
2627        $ this  ->assertEquals ('Laravel Shared Hosting was installed successfully. ' .PHP_EOL , $ output );
2728    }
28- }
29+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments