Completed
Push — master ( 50f9fe...7dd5cf )
by Sergi Tur
02:34
created
src/Console/GithubCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     protected function showErrorRunLlumInitFirst(OutputInterface $output, $varname)
22 22
     {
23
-        $output->writeln('<error>' . $varname
23
+        $output->writeln('<error>'.$varname
24 24
             . ' not found in config file. Run git init before executing this command!</error>');
25 25
         die();
26 26
     }
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
      * @param OutputInterface $output
32 32
      */
33 33
     protected function showMessageRunningCommand(OutputInterface $output, $commandName) {
34
-        $output->writeln('<info>Running command ' . $commandName . '...</info>');
34
+        $output->writeln('<info>Running command '.$commandName.'...</info>');
35 35
     }
36 36
 }
37 37
\ No newline at end of file
Please login to merge, or discard this patch.
src/Console/GithubInitCommand.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $this->runGitAdd();
77 77
         $this->runGitCommit();
78 78
         $this->runGitCreateRepo();
79
-        $this->runGitRemoteAddOrigin($this->getRepoURL($input,$output));
79
+        $this->runGitRemoteAddOrigin($this->getRepoURL($input, $output));
80 80
         $this->runGitPull();
81 81
         $this->runGitPush();
82 82
     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function getRepoURL(InputInterface $input, OutputInterface $output)
93 93
     {
94
-        return '[email protected]:' . $this->gitHubUsername($input,$output) . '/' . $this->repoName($input) . '.git';
94
+        return '[email protected]:'.$this->gitHubUsername($input, $output).'/'.$this->repoName($input).'.git';
95 95
     }
96 96
 
97 97
     /**
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     {
130 130
         $username = $this->parser->getGitHubUsername();
131 131
         if (is_null($username)) {
132
-            $this->showErrorRunLlumInitFirst($output,'username');
132
+            $this->showErrorRunLlumInitFirst($output, 'username');
133 133
         }
134 134
         return $username;
135 135
     }
@@ -137,24 +137,24 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Run git init command.
139 139
      */
140
-    protected function runGitInit(){
141
-        $this->showMessageRunningCommand($this->output,'git init');
140
+    protected function runGitInit() {
141
+        $this->showMessageRunningCommand($this->output, 'git init');
142 142
         passthru('git init');
143 143
     }
144 144
 
145 145
     /**
146 146
      * Run git add command.
147 147
      */
148
-    protected function runGitAdd(){
149
-        $this->showMessageRunningCommand($this->output,'git add .');
148
+    protected function runGitAdd() {
149
+        $this->showMessageRunningCommand($this->output, 'git add .');
150 150
         passthru('git add .');
151 151
     }
152 152
 
153 153
     /**
154 154
      * Run git commit command.
155 155
      */
156
-    protected function runGitCommit(){
157
-        $this->showMessageRunningCommand($this->output,'git commit -a -m "Initial version"');
156
+    protected function runGitCommit() {
157
+        $this->showMessageRunningCommand($this->output, 'git commit -a -m "Initial version"');
158 158
         passthru('git commit -a -m "Initial version"');
159 159
     }
160 160
 
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      */
164 164
     protected function runGitCreateRepo()
165 165
     {
166
-        $this->showMessageRunningCommand($this->output,'llum github:repo');
166
+        $this->showMessageRunningCommand($this->output, 'llum github:repo');
167 167
         passthru('../llum github:repo');
168 168
     }
169 169
 
@@ -172,24 +172,24 @@  discard block
 block discarded – undo
172 172
      *
173 173
      * @param $url
174 174
      */
175
-    protected function runGitRemoteAddOrigin($url){
176
-        $this->showMessageRunningCommand($this->output,'git remote add origin ' . $url);
177
-        passthru('git remote add origin ' . $url);
175
+    protected function runGitRemoteAddOrigin($url) {
176
+        $this->showMessageRunningCommand($this->output, 'git remote add origin '.$url);
177
+        passthru('git remote add origin '.$url);
178 178
     }
179 179
 
180 180
     /**
181 181
      * Run git pull.
182 182
      */
183
-    protected function runGitPull(){
184
-        $this->showMessageRunningCommand($this->output,'git pull origin master');
183
+    protected function runGitPull() {
184
+        $this->showMessageRunningCommand($this->output, 'git pull origin master');
185 185
         passthru('git pull origin master');
186 186
     }
187 187
 
188 188
     /**
189 189
      * Run git push.
190 190
      */
191
-    protected function runGitPush(){
192
-        $this->showMessageRunningCommand($this->output,'git push origin master');
191
+    protected function runGitPush() {
192
+        $this->showMessageRunningCommand($this->output, 'git push origin master');
193 193
         passthru('git push origin master');
194 194
     }
195 195
 
Please login to merge, or discard this patch.
passwords.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
-define ("GITHUB_PASSWORD","bImhappyplatanito");
4 3
\ No newline at end of file
4
+define("GITHUB_PASSWORD", "bImhappyplatanito");
5 5
\ No newline at end of file
Please login to merge, or discard this patch.
src/config/packages.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -13,74 +13,74 @@  discard block
 block discarded – undo
13 13
 
14 14
     'AdminLTE' => [
15 15
         'name'      => 'acacha/admin-lte-template-laravel',
16
-        'providers' => ['Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class'],
17
-        'aliases'   => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
16
+        'providers' => [ 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class' ],
17
+        'aliases'   => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
18 18
         'after'     => 'php artisan adminlte-laravel:publish --force',
19 19
     ],
20 20
 
21 21
     'AdminLTEDontForce' => [
22 22
         'name'      => 'acacha/admin-lte-template-laravel',
23
-        'providers' => ['Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class'],
24
-        'aliases'   => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
23
+        'providers' => [ 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class' ],
24
+        'aliases'   => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
25 25
         'after'     => 'php artisan adminlte-laravel:publish',
26
-        'aliases'   => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
26
+        'aliases'   => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
27 27
         'after'     => 'php artisan adminlte-laravel:publish',
28 28
     ],
29 29
 
30 30
     'AdminLTEVendorPublish' => [
31 31
         'name'      => 'acacha/admin-lte-template-laravel',
32
-        'providers' => ['Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class'],
33
-        'aliases'   => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
32
+        'providers' => [ 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class' ],
33
+        'aliases'   => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
34 34
         'after'     => 'php artisan vendor:publish --tag=adminlte --force',
35 35
     ],
36 36
 
37 37
     'AdminLTEVendorPublishDontForce' => [
38 38
         'name'      => 'acacha/admin-lte-template-laravel',
39
-        'providers' => ['Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class'],
40
-        'aliases'   => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
39
+        'providers' => [ 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class' ],
40
+        'aliases'   => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
41 41
         'after'     => 'php artisan vendor:publish --tag=adminlte',
42 42
     ],
43 43
 
44 44
     'LaravelDebugbar' => [
45 45
         'name'      => 'barryvdh/laravel-debugbar',
46
-        'providers' => ['Barryvdh\Debugbar\ServiceProvider::class'],
47
-        'aliases'   => ['Debugbar' => 'Barryvdh\Debugbar\Facade::class'],
46
+        'providers' => [ 'Barryvdh\Debugbar\ServiceProvider::class' ],
47
+        'aliases'   => [ 'Debugbar' => 'Barryvdh\Debugbar\Facade::class' ],
48 48
         'after'     => 'php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"',
49 49
     ],
50 50
 
51 51
     'LaravelIdeHelper' => [
52 52
         'name'      => 'barryvdh/laravel-ide-helper',
53
-        'providers' => ['Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class'],
53
+        'providers' => [ 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class' ],
54 54
         'after'     => 'php artisan ide-helper:generate',
55 55
     ],
56 56
 
57 57
     'Socialite' => [
58 58
         'name'      => 'laravel/socialite',
59
-        'providers' => ['Laravel\Socialite\SocialiteServiceProvider::class'],
60
-        'aliases'   => ['Socialite' => 'Laravel\Socialite\Facades\Socialite::class'],
59
+        'providers' => [ 'Laravel\Socialite\SocialiteServiceProvider::class' ],
60
+        'aliases'   => [ 'Socialite' => 'Laravel\Socialite\Facades\Socialite::class' ],
61 61
     ],
62 62
 
63 63
     'AcachaSocialite' => [
64 64
         'name'      => 'acacha/acacha-socialite',
65
-        'providers' => ['Acacha\Socialite\Providers\AcachaSocialiteServiceProvider::class'],
65
+        'providers' => [ 'Acacha\Socialite\Providers\AcachaSocialiteServiceProvider::class' ],
66 66
         'after'     => 'php artisan vendor:publish --tag=acachasocialite --force',
67 67
     ],
68 68
 
69 69
     'LaravelPassport' => [
70 70
         'name'      => 'laravel/passport',
71
-        'providers' => ['Laravel\Passport\PassportServiceProvider::class'],
71
+        'providers' => [ 'Laravel\Passport\PassportServiceProvider::class' ],
72 72
         'after'     => 'php artisan migrate;php artisan passport:install',
73 73
     ],
74 74
 
75 75
     'Passport' => [
76 76
         'name'      => 'laravel/passport',
77
-        'providers' => ['Laravel\Passport\PassportServiceProvider::class'],
77
+        'providers' => [ 'Laravel\Passport\PassportServiceProvider::class' ],
78 78
         'after'     => 'php artisan migrate;php artisan passport:install',
79 79
     ],
80 80
 
81 81
     'Menu' => [
82 82
         'name'      => 'spatie/laravel-menu',
83
-        'providers' => ['Spatie\Menu\Laravel\MenuServiceProvider::class'],
83
+        'providers' => [ 'Spatie\Menu\Laravel\MenuServiceProvider::class' ],
84 84
         'aliases'   => [
85 85
             'Menu' => 'Spatie\Menu\Laravel\MenuFacade::class',
86 86
             'Link' => 'Spatie\Menu\Link::class',
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     'laravel-menu' => [
92 92
         'name'      => 'spatie/laravel-menu',
93
-        'providers' => ['Spatie\Menu\Laravel\MenuServiceProvider::class'],
93
+        'providers' => [ 'Spatie\Menu\Laravel\MenuServiceProvider::class' ],
94 94
         'aliases'   => [
95 95
             'Menu' => 'Spatie\Menu\Laravel\MenuFacade::class',
96 96
             'Link' => 'Spatie\Menu\Link::class',
Please login to merge, or discard this patch.