Completed
Push — master ( a057a5...0d5a11 )
by Afshin
02:17
created

getDirFiles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
4
function getDirFiles($path)
5
{
6
    $dir = scandir($path);
7
    $ex_folders = array('..', '.');
8
9
    return array_diff($dir,$ex_folders);
10
}