FilePath   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A join() 0 8 1
1
<?php
2
/*
3
 * This file is part of the Conveyor package.
4
 *
5
 * (c) Jeroen Fiege <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Webcreate\Conveyor\Util;
12
13
class FilePath
14
{
15 5
    public static function join()
16
    {
17 5
        $parts = func_get_args();
18
19 5
        $parts = array_filter($parts, 'trim');
20
21 5
        return implode(DIRECTORY_SEPARATOR, $parts);
22
    }
23
}
24