Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
903d5c74
Unverified
Commit
903d5c74
authored
Nov 21, 2018
by
Viral Solani
Committed by
GitHub
Nov 21, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #300 from viralsolani/analysis-8n7DK0
Apply fixes from StyleCI
parents
f000dff4
ee5d4436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
21 deletions
+16
-21
InstallAppCommand.php
app/Console/Commands/InstallAppCommand.php
+16
-21
No files found.
app/Console/Commands/InstallAppCommand.php
View file @
903d5c74
...
...
@@ -2,6 +2,7 @@
namespace
App\Console\Commands
;
use
Exception
;
use
Illuminate\Console\Command
;
use
Illuminate\Filesystem\Filesystem
;
use
Illuminate\Support\Facades\Artisan
;
...
...
@@ -10,7 +11,6 @@ use Illuminate\Support\Facades\File;
use
PDOException
;
use
Symfony\Component\Console\Helper\SymfonyQuestionHelper
;
use
Symfony\Component\Console\Question\Question
;
use
Exception
;
/**
* Class InstallAppCommand.
...
...
@@ -40,33 +40,28 @@ class InstallAppCommand extends Command
*/
protected
$files
;
/**
* host for the database
*
/**
* host for the database.
*/
protected
$host
;
/**
* port for the database
*
/**
* port for the database.
*/
protected
$port
;
/**
* Database name
*
/**
* Database name.
*/
protected
$database
;
/**
* Username of database
*
/**
* Username of database.
*/
protected
$username
;
/**
/**
* Password for the Database.
*
*/
protected
$password
;
...
...
@@ -241,9 +236,9 @@ class InstallAppCommand extends Command
}
/**
* Create the Database
* Create the Database
.
*
* @param
O
bject $database
* @param
o
bject $database
*/
protected
function
createDatabase
(
$database
)
{
...
...
@@ -270,9 +265,9 @@ class InstallAppCommand extends Command
}
/**
* Dump the DB
* Dump the DB
.
*
* @param
O
bject $database
* @param
o
bject $database
*/
protected
function
dumpDB
(
$database
)
{
...
...
@@ -293,9 +288,9 @@ class InstallAppCommand extends Command
}
/**
* Migrate Tables
* Migrate Tables
.
*
* @param
O
bject $database
* @param
o
bject $database
*/
protected
function
migrateTables
(
$database
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment