Completed
Push — master ( bb7259...dc298a )
by Sam
03:00
created

BasicConfigurationTrait::getBaseConfiguration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 17
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 17
rs 9.4285
cc 1
eloc 11
nc 1
nop 0
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Configuration;
4
5
/**
6
 * Class BasicConfigurationTrait
7
 * @package   Jalle19\StatusManager\Test\Configuration
8
 * @copyright Copyright &copy; Sam Stenvall 2016-
9
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
10
 */
11
trait BasicConfigurationTrait
12
{
13
14
	/**
15
	 * @return array
16
	 */
17
	private function getBaseConfiguration()
18
	{
19
		return [
20
			'database_path'   => '/tmp',
21
			'log_path'        => '/tmp',
22
			'access_token'    => 'access',
23
			'instances'       => [
24
				[
25
					'address' => 'address',
26
					'port'    => 9981,
27
				],
28
			],
29
			'update_interval' => 1,
30
			'listen_address'  => '0.0.0.0',
31
			'listen_port'     => 9333,
32
		];
33
	}
34
35
}
36