Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
created

install/cli/testing_app.php (1 issue)

1
<?php
2
3
/**
4
 * Configuration array for Elgg installation on Travis
5
 */
6
return [
7
8
	// database settings
9
	'dbuser' => getenv('ELGG_DB_USER'),
10
	'dbpassword' => getenv('ELGG_DB_PASS'),
11
	'dbname' => getenv('ELGG_DB_NAME'),
12
	'dbprefix' => getenv('ELGG_DB_PREFIX'),
13
	'dbencoding' => getenv('ELGG_DB_ENCODING'),
14
15
	// site settings
16
	'sitename' => 'Elgg Travis Site',
17
	'siteemail' => '[email protected]',
18
	'wwwroot' => getenv('ELGG_WWWROOT') ? : 'http://localhost/',
19
	'dataroot' => getenv('HOME') . '/engine/tests/test_files/dataroot/',
0 ignored issues
show
Are you sure getenv('HOME') of type false|string|array can be used in concatenation? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

19
	'dataroot' => /** @scrutinizer ignore-type */ getenv('HOME') . '/engine/tests/test_files/dataroot/',
Loading history...
20
21
	// admin account
22
	'displayname' => 'Administrator',
23
	'email' => '[email protected]',
24
	'username' => 'admin',
25
	'password' => 'fancypassword',
26
27
	// timezone
28
	'timezone' => 'UTC'
29
];