File tree 4 files changed +18
-14
lines changed
4 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ APP_ENV=local
2
2
APP_DEBUG = true
3
3
APP_KEY = SomeRandomString
4
4
5
- DB_HOST = localhost
5
+ DB_CONNECTION = mysql
6
+ DB_HOST = 127.0.0.1
6
7
DB_DATABASE = homestead
7
8
DB_USERNAME = homestead
8
9
DB_PASSWORD = secret
@@ -11,7 +12,7 @@ CACHE_DRIVER=file
11
12
SESSION_DRIVER = file
12
13
QUEUE_DRIVER = sync
13
14
14
- REDIS_HOST = localhost
15
+ REDIS_HOST = 127.0.0.1
15
16
REDIS_PASSWORD = null
16
17
REDIS_PORT = 6379
17
18
Original file line number Diff line number Diff line change 28
28
]
29
29
},
30
30
"scripts" : {
31
- "post-install-cmd" : [
32
- " php artisan clear-compiled" ,
33
- " php artisan optimize"
34
- ],
35
- "post-update-cmd" : [
36
- " php artisan clear-compiled" ,
37
- " php artisan optimize"
38
- ],
39
31
"post-root-package-install" : [
40
32
" php -r \" copy('.env.example', '.env');\" "
41
33
],
42
34
"post-create-project-cmd" : [
43
35
" php artisan key:generate"
36
+ ],
37
+ "post-install-cmd" : [
38
+ " Illuminate\\ Foundation\\ ComposerScripts::postInstall" ,
39
+ " php artisan optimize"
40
+ ],
41
+ "post-update-cmd" : [
42
+ " Illuminate\\ Foundation\\ ComposerScripts::postUpdate" ,
43
+ " php artisan optimize"
44
44
]
45
45
},
46
46
"config" : {
Original file line number Diff line number Diff line change 14
14
$ factory ->define (App \User::class, function (Faker \Generator $ faker ) {
15
15
return [
16
16
'name ' => $ faker ->name ,
17
- 'email ' => $ faker ->email ,
17
+ 'email ' => $ faker ->safeEmail ,
18
18
'password ' => bcrypt (str_random (10 )),
19
19
'remember_token ' => str_random (10 ),
20
20
];
Original file line number Diff line number Diff line change 10
10
stopOnFailure =" false" >
11
11
<testsuites >
12
12
<testsuite name =" Application Test Suite" >
13
- <directory >./tests/ </directory >
13
+ <directory suffix = " Test.php " >./tests</directory >
14
14
</testsuite >
15
15
</testsuites >
16
16
<filter >
17
- <whitelist >
18
- <directory suffix =" .php" >app/</directory >
17
+ <whitelist processUncoveredFilesFromWhitelist =" true" >
18
+ <directory suffix =" .php" >./app</directory >
19
+ <exclude >
20
+ <file >./app/Http/routes.php</file >
21
+ </exclude >
19
22
</whitelist >
20
23
</filter >
21
24
<php >
You can’t perform that action at this time.
0 commit comments