Test Failed
Branch feature__set_up_scrutinizer (ea6624)
by Robin
06:04 queued 02:46
created

Linux   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getUserHomePath() 0 3 1
1
<?php
2
3
namespace App\Support\Mechanics;
4
5
use App\Support\Console\ServerBag;
6
7
class Linux extends Untrained
8
{
9
    /**
10
     * Return the User's home directory path
11
     *
12
     * @return string
13
     */
14 50
    public function getUserHomePath()
15
    {
16 50
        return app(ServerBag::class)->get('HOME');
17
    }
18
}
19