Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
@@ -73,9 +73,8 @@ class SetupTestEnv extends Command
|
||||
/**
|
||||
* Sets up DB config for testing.
|
||||
*
|
||||
* @param string $dbUsername mysql username
|
||||
* @param string $dbPassword mysql password
|
||||
*
|
||||
* @param string $dbUsername mysql username
|
||||
* @param string $dbPassword mysql password
|
||||
* @return null
|
||||
*/
|
||||
private function setupConfig($dbUsername, $dbPassword)
|
||||
@@ -165,9 +164,8 @@ class SetupTestEnv extends Command
|
||||
/**
|
||||
* Creates an env file if not exists already.
|
||||
*
|
||||
* @param string $dbUsername
|
||||
* @param string $dbPassword
|
||||
*
|
||||
* @param string $dbUsername
|
||||
* @param string $dbPassword
|
||||
* @return null
|
||||
*/
|
||||
private function createEnv(string $dbUsername, string $dbPassword)
|
||||
|
Reference in New Issue
Block a user