Passed
Pull Request — master (#6)
by Carlos
13:17
created

AutoloadListener::autoload()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace tests;
4
5
class AutoloadListener
6
{
7
    public static function autoload()
8
    {
9
        require dirname(__DIR__)
10
            . DIRECTORY_SEPARATOR . 'vendor'
11
            . DIRECTORY_SEPARATOR . 'autoload.php';
12
    }
13
}
14